minor fixes
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
# ifdef CONFIG_LV_COLOR_CHROMA_KEY
|
||||
# define LV_COLOR_CHROMA_KEY CONFIG_LV_COLOR_CHROMA_KEY
|
||||
# else
|
||||
# define LV_COLOR_CHROMA_KEY LV_COLOR_LIME /*pure green*/
|
||||
# define LV_COLOR_CHROMA_KEY lv_color_hex(0x00ff00) /*pure green*/
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
#if LV_INDEV_DEF_DRAG_THROW <= 0
|
||||
#if LV_INDEV_DEF_SCROLL_THROW <= 0
|
||||
#warning "LV_INDEV_DRAG_THROW must be greater than 0"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -157,8 +157,7 @@ typedef struct _lv_indev_proc_t {
|
||||
lv_point_t scroll_throw_vect;
|
||||
lv_point_t scroll_throw_vect_ori;
|
||||
struct _lv_obj_t * act_obj; /*The object being pressed*/
|
||||
struct _lv_obj_t * last_obj; /*The last object which was pressed (used by drag_throw and
|
||||
other post-release event)*/
|
||||
struct _lv_obj_t * last_obj; /*The last object which was pressed*/
|
||||
struct _lv_obj_t * scroll_obj; /*The object being scrolled*/
|
||||
struct _lv_obj_t * last_pressed; /*The lastly pressed object*/
|
||||
lv_area_t scroll_area;
|
||||
|
||||
Reference in New Issue
Block a user