minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-23 15:13:14 +01:00
parent cbfbcb47f9
commit c6dd413f11
4 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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;