1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Added defines of extended clickable area to conf template and to conf checker.

This commit is contained in:
melnse 2019-04-04 14:34:29 +03:00
parent 2794b786d7
commit 3f2b6bb685
2 changed files with 13 additions and 0 deletions

View File

@ -342,6 +342,10 @@ typedef void * lv_obj_user_data_t; /*Declare the type of the user data
/*Switch (dependencies: lv_slider)*/
#define LV_USE_SW 1
/* Extended clickable area */
#define USE_LV_EXTENDED_CLICK_AREA 0 /* Enables obj extension to realize extended clickable area with additional extended coords (1: enabled) */
#define USE_LV_EXTENDED_CLICK_AREA_TINY 0 /* Enables obj extension to realize extended clickable area with calculation of the fly (1: enabled) */
/*************************
* Non-user section
*************************/

View File

@ -584,6 +584,15 @@
#define LV_USE_SW 1
#endif
/*Extended clickable area */
#ifndef USE_LV_EXTENDED_CLICK_AREA
#define USE_LV_EXTENDED_CLICK_AREA 0
#endif
#ifndef USE_LV_EXTENDED_CLICK_AREA_TINY
#define USE_LV_EXTENDED_CLICK_AREA_TINY 0
#endif
/*************************
* Non-user section
*************************/