1 /** 2 * @file lv_theme_basic.h 3 * 4 */ 5 6 #ifndef LV_THEME_BASIC_H 7 #define LV_THEME_BASIC_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "../../../core/lv_obj.h" 17 18 #if LV_USE_THEME_BASIC 19 20 /********************* 21 * DEFINES 22 *********************/ 23 24 /********************** 25 * TYPEDEFS 26 **********************/ 27 28 /********************** 29 * GLOBAL PROTOTYPES 30 **********************/ 31 32 /** 33 * Initialize the theme 34 * @param disp pointer to display to attach the theme 35 * @return a pointer to reference this theme later 36 */ 37 lv_theme_t * lv_theme_basic_init(lv_disp_t * disp); 38 39 /** 40 * Check if the theme is initialized 41 * @return true if default theme is initialized, false otherwise 42 */ 43 bool lv_theme_basic_is_inited(void); 44 45 /********************** 46 * MACROS 47 **********************/ 48 49 #endif 50 51 #ifdef __cplusplus 52 } /*extern "C"*/ 53 #endif 54 55 #endif /*LV_THEME_BASIC_H*/ 56