focus/defocus event updates

This commit is contained in:
Gabor Kiss-Vamosi
2019-03-03 11:20:49 +01:00
parent c713c4135b
commit 9d72ced2b6
14 changed files with 109 additions and 40 deletions

View File

@@ -92,8 +92,9 @@ typedef struct _lv_indev_proc_t {
lv_point_t vect;
lv_point_t drag_sum; /*Count the dragged pixels to check LV_INDEV_DRAG_LIMIT*/
lv_point_t drag_throw_vect;
struct _lv_obj_t * act_obj;
struct _lv_obj_t * last_obj;
struct _lv_obj_t * act_obj; /*The object being pressed*/
struct _lv_obj_t * last_obj; /*The last obejct which was pressed (used by dragthrow and other post-release event)*/
struct _lv_obj_t * last_pressed; /*The lastly pressed object*/
/*Flags*/
uint8_t drag_limit_out :1;