diff --git a/lv_conf_template.h b/lv_conf_template.h index c648391f7..229bb82fa 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -391,23 +391,26 @@ typedef void * lv_font_user_data_t; /*Always enable at least on theme*/ -/*No theme, you can apply your styles as you need*/ -#define LV_USE_THEME_EMPTY 0 +/* No theme, you can apply your styles as you need + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ + #define LV_USE_THEME_EMPTY 1 -/*Simple to the create your theme based on it*/ -#define LV_USE_THEME_TEMPLATE 0 +/*Simple to the create your theme based on it + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ + #define LV_USE_THEME_TEMPLATE 1 /* A fast and impressive theme. * Flags: * LV_THEME_MATERIAL_FLAG_LIGHT: light theme * LV_THEME_MATERIAL_FLAG_DARK: dark theme*/ -#define LV_USE_THEME_MATERIAL 1 + #define LV_USE_THEME_MATERIAL 1 /* Mono-color theme for monochrome displays. * If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the * texts and borders will be black and the background will be - * white. Else the colors are inverted. */ -#define LV_USE_THEME_MONO 0 + * white. Else the colors are inverted. + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ + #define LV_USE_THEME_MONO 1 #define LV_THEME_DEFAULT_INCLUDE /*Include a header for the init. function*/ #define LV_THEME_DEFAULT_INIT lv_theme_material_init diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index 5ff472a9a..e9a023e8a 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -580,14 +580,16 @@ /*Always enable at least on theme*/ -/*No theme, you can apply your styles as you need*/ +/* No theme, you can apply your styles as you need + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ #ifndef LV_USE_THEME_EMPTY -#define LV_USE_THEME_EMPTY 0 + #define LV_USE_THEME_EMPTY 1 #endif -/*Simple to the create your theme based on it*/ +/*Simple to the create your theme based on it + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ #ifndef LV_USE_THEME_TEMPLATE -#define LV_USE_THEME_TEMPLATE 0 + #define LV_USE_THEME_TEMPLATE 1 #endif /* A fast and impressive theme. @@ -595,15 +597,16 @@ * LV_THEME_MATERIAL_FLAG_LIGHT: light theme * LV_THEME_MATERIAL_FLAG_DARK: dark theme*/ #ifndef LV_USE_THEME_MATERIAL -#define LV_USE_THEME_MATERIAL 1 + #define LV_USE_THEME_MATERIAL 1 #endif /* Mono-color theme for monochrome displays. * If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the * texts and borders will be black and the background will be - * white. Else the colors are inverted. */ + * white. Else the colors are inverted. + * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ #ifndef LV_USE_THEME_MONO -#define LV_USE_THEME_MONO 0 + #define LV_USE_THEME_MONO 1 #endif #ifndef LV_THEME_DEFAULT_INCLUDE diff --git a/tests/build.py b/tests/build.py index 4fe4a4bae..0677fdc50 100755 --- a/tests/build.py +++ b/tests/build.py @@ -215,6 +215,7 @@ all_obj_all_features = { "LV_USE_LOG":1, "LV_USE_THEME_MATERIAL":1, "LV_USE_THEME_EMPTY":1, + "LV_USE_THEME_MONO":1, "LV_USE_THEME_TEMPLATE":1, "LV_THEME_DEFAULT_INIT": "\\\"lv_theme_material_init\\\"", "LV_THEME_DEFAULT_COLOR_PRIMARY": "\\\"LV_COLOR_RED\\\"",