1 /**
2  * @file lv_theme_simple.h
3  *
4  */
5 
6 #ifndef LV_THEME_SIMPLE_H
7 #define LV_THEME_SIMPLE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../lv_theme.h"
17 #include "../../display/lv_display.h"
18 
19 #if LV_USE_THEME_SIMPLE
20 
21 /*********************
22  *      DEFINES
23  *********************/
24 
25 /**********************
26  *      TYPEDEFS
27  **********************/
28 
29 /**********************
30  * GLOBAL PROTOTYPES
31  **********************/
32 
33 /**
34  * Initialize the theme
35  * @param disp pointer to display to attach the theme
36  * @return a pointer to reference this theme later
37  */
38 lv_theme_t * lv_theme_simple_init(lv_display_t * disp);
39 
40 /**
41 * Check if the theme is initialized
42 * @return true if default theme is initialized, false otherwise
43 */
44 bool lv_theme_simple_is_inited(void);
45 
46 /**
47  * Get simple theme
48  * @return a pointer to simple theme, or NULL if this is not initialized
49  */
50 lv_theme_t * lv_theme_simple_get(void);
51 
52 /**
53  * Deinitialize the simple theme
54  */
55 void lv_theme_simple_deinit(void);
56 
57 /**********************
58  *      MACROS
59  **********************/
60 
61 #endif
62 
63 #ifdef __cplusplus
64 } /*extern "C"*/
65 #endif
66 
67 #endif /*LV_THEME_SIMPLE_H*/
68