minor fixes
This commit is contained in:
@@ -391,23 +391,26 @@ 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:
|
||||||
* LV_THEME_MATERIAL_FLAG_LIGHT: light theme
|
* LV_THEME_MATERIAL_FLAG_LIGHT: light theme
|
||||||
* LV_THEME_MATERIAL_FLAG_DARK: dark 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.
|
/* 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
|
||||||
|
|||||||
@@ -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.
|
||||||
@@ -595,15 +597,16 @@
|
|||||||
* LV_THEME_MATERIAL_FLAG_LIGHT: light theme
|
* LV_THEME_MATERIAL_FLAG_LIGHT: light theme
|
||||||
* LV_THEME_MATERIAL_FLAG_DARK: dark theme*/
|
* LV_THEME_MATERIAL_FLAG_DARK: dark theme*/
|
||||||
#ifndef LV_USE_THEME_MATERIAL
|
#ifndef LV_USE_THEME_MATERIAL
|
||||||
#define LV_USE_THEME_MATERIAL 1
|
#define LV_USE_THEME_MATERIAL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* 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
|
||||||
|
|||||||
@@ -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\\\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user