mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
add LV_THEME_DEFAULT_INCLUDE to lv_conf.h
This commit is contained in:
parent
52edcfece9
commit
bf034dc511
@ -394,6 +394,7 @@ typedef void * lv_font_user_data_t;
|
||||
#define LV_USE_THEME_MATERIAL 1 /*A fast and impressive theme*/
|
||||
#define LV_USE_THEME_MONO 0 /*Mono-color theme for monochrome displays*/
|
||||
|
||||
#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_COLOR_PRIMARY LV_COLOR_RED
|
||||
#define LV_THEME_DEFAULT_COLOR_SECONDARY LV_COLOR_BLUE
|
||||
|
@ -589,6 +589,9 @@
|
||||
#define LV_USE_THEME_MONO 0 /*Mono-color theme for monochrome displays*/
|
||||
#endif
|
||||
|
||||
#ifndef LV_THEME_DEFAULT_INCLUDE
|
||||
#define LV_THEME_DEFAULT_INCLUDE <stdint.h> /*Include a header for the init. function*/
|
||||
#endif
|
||||
#ifndef LV_THEME_DEFAULT_INIT
|
||||
#define LV_THEME_DEFAULT_INIT lv_theme_material_init
|
||||
#endif
|
||||
|
@ -36,6 +36,8 @@
|
||||
#include LV_USER_DATA_FREE_INCLUDE
|
||||
#endif /* LV_USE_USER_DATA_FREE */
|
||||
|
||||
#include LV_THEME_DEFAULT_INCLUDE
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user