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,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 <stdint.h> /*Include a header for the init. function*/
#define LV_THEME_DEFAULT_INIT lv_theme_material_init

View File

@@ -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

View File

@@ -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\\\"",