minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2020-05-01 11:14:10 +02:00
parent a42629f947
commit bdc98b4e1f
3 changed files with 21 additions and 14 deletions

View File

@@ -391,11 +391,13 @@ typedef void * lv_font_user_data_t;
/*Always enable at least on theme*/ /*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
#define LV_USE_THEME_EMPTY 0 * No flags. Set LV_THEME_DEFAULT_FLAG 0 */
#define LV_USE_THEME_EMPTY 1
/*Simple to the create your theme based on it*/ /*Simple to the create your theme based on it
#define LV_USE_THEME_TEMPLATE 0 * No flags. Set LV_THEME_DEFAULT_FLAG 0 */
#define LV_USE_THEME_TEMPLATE 1
/* A fast and impressive theme. /* A fast and impressive theme.
* Flags: * Flags:
@@ -406,8 +408,9 @@ typedef void * lv_font_user_data_t;
/* Mono-color theme for monochrome displays. /* Mono-color theme for monochrome displays.
* If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the * If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the
* texts and borders will be black and the background will be * texts and borders will be black and the background will be
* white. Else the colors are inverted. */ * white. Else the colors are inverted.
#define LV_USE_THEME_MONO 0 * No flags. Set LV_THEME_DEFAULT_FLAG 0 */
#define LV_USE_THEME_MONO 1
#define LV_THEME_DEFAULT_INCLUDE <stdint.h> /*Include a header for the init. function*/ #define LV_THEME_DEFAULT_INCLUDE <stdint.h> /*Include a header for the init. function*/
#define LV_THEME_DEFAULT_INIT lv_theme_material_init #define LV_THEME_DEFAULT_INIT lv_theme_material_init

View File

@@ -580,14 +580,16 @@
/*Always enable at least on theme*/ /*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 #ifndef LV_USE_THEME_EMPTY
#define LV_USE_THEME_EMPTY 0 #define LV_USE_THEME_EMPTY 1
#endif #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 #ifndef LV_USE_THEME_TEMPLATE
#define LV_USE_THEME_TEMPLATE 0 #define LV_USE_THEME_TEMPLATE 1
#endif #endif
/* A fast and impressive theme. /* A fast and impressive theme.
@@ -601,9 +603,10 @@
/* Mono-color theme for monochrome displays. /* Mono-color theme for monochrome displays.
* If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the * If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the
* texts and borders will be black and the background will be * 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 #ifndef LV_USE_THEME_MONO
#define LV_USE_THEME_MONO 0 #define LV_USE_THEME_MONO 1
#endif #endif
#ifndef LV_THEME_DEFAULT_INCLUDE #ifndef LV_THEME_DEFAULT_INCLUDE

View File

@@ -215,6 +215,7 @@ all_obj_all_features = {
"LV_USE_LOG":1, "LV_USE_LOG":1,
"LV_USE_THEME_MATERIAL":1, "LV_USE_THEME_MATERIAL":1,
"LV_USE_THEME_EMPTY":1, "LV_USE_THEME_EMPTY":1,
"LV_USE_THEME_MONO":1,
"LV_USE_THEME_TEMPLATE":1, "LV_USE_THEME_TEMPLATE":1,
"LV_THEME_DEFAULT_INIT": "\\\"lv_theme_material_init\\\"", "LV_THEME_DEFAULT_INIT": "\\\"lv_theme_material_init\\\"",
"LV_THEME_DEFAULT_COLOR_PRIMARY": "\\\"LV_COLOR_RED\\\"", "LV_THEME_DEFAULT_COLOR_PRIMARY": "\\\"LV_COLOR_RED\\\"",