1
0
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:
Gabor Kiss-Vamosi 2020-04-29 10:36:52 +02:00
parent 52edcfece9
commit bf034dc511
3 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

@ -36,6 +36,8 @@
#include LV_USER_DATA_FREE_INCLUDE
#endif /* LV_USE_USER_DATA_FREE */
#include LV_THEME_DEFAULT_INCLUDE
/*********************
* DEFINES
*********************/