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