fix(lv_conf): add LV_USE_THEME_BASIC

This commit is contained in:
Gabor Kiss-Vamosi
2021-03-19 18:07:58 +01:00
parent c565d4de8a
commit 84163749ec
2 changed files with 12 additions and 0 deletions

View File

@@ -477,6 +477,9 @@ typedef void * lv_user_data_t;
# define LV_THEME_DEFAULT_TRANSITON_TIME 80
#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
*----------*/

View File

@@ -1424,6 +1424,15 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
#endif
#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
*----------*/