fix(lv_conf): add LV_USE_THEME_BASIC
This commit is contained in:
@@ -477,6 +477,9 @@ typedef void * lv_user_data_t;
|
|||||||
# define LV_THEME_DEFAULT_TRANSITON_TIME 80
|
# define LV_THEME_DEFAULT_TRANSITON_TIME 80
|
||||||
#endif /*LV_USE_THEME_DEFAULT*/
|
#endif /*LV_USE_THEME_DEFAULT*/
|
||||||
|
|
||||||
|
/*An very simple them that is a good starting point for a custom theme*/
|
||||||
|
#define LV_USE_THEME_BASIC 1
|
||||||
|
|
||||||
/*-----------
|
/*-----------
|
||||||
* Layouts
|
* Layouts
|
||||||
*----------*/
|
*----------*/
|
||||||
|
|||||||
@@ -1424,6 +1424,15 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
#endif
|
#endif
|
||||||
#endif /*LV_USE_THEME_DEFAULT*/
|
#endif /*LV_USE_THEME_DEFAULT*/
|
||||||
|
|
||||||
|
/*An very simple them that is a good starting point for a custom theme*/
|
||||||
|
#ifndef LV_USE_THEME_BASIC
|
||||||
|
# ifdef CONFIG_LV_USE_THEME_BASIC
|
||||||
|
# define LV_USE_THEME_BASIC CONFIG_LV_USE_THEME_BASIC
|
||||||
|
# else
|
||||||
|
# define LV_USE_THEME_BASIC 1
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-----------
|
/*-----------
|
||||||
* Layouts
|
* Layouts
|
||||||
*----------*/
|
*----------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user