1 /** 2 * @file lv_theme_private.h 3 * 4 */ 5 6 #ifndef LV_THEME_PRIVATE_H 7 #define LV_THEME_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "lv_theme.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 struct _lv_theme_t { 28 lv_theme_apply_cb_t apply_cb; 29 lv_theme_t * parent; /**< Apply the current theme's style on top of this theme. */ 30 void * user_data; 31 lv_display_t * disp; 32 lv_color_t color_primary; 33 lv_color_t color_secondary; 34 const lv_font_t * font_small; 35 const lv_font_t * font_normal; 36 const lv_font_t * font_large; 37 uint32_t flags; /**< Any custom flag used by the theme */ 38 }; 39 40 41 /********************** 42 * GLOBAL PROTOTYPES 43 **********************/ 44 45 /********************** 46 * MACROS 47 **********************/ 48 49 #ifdef __cplusplus 50 } /*extern "C"*/ 51 #endif 52 53 #endif /*LV_THEME_PRIVATE_H*/ 54