1 /**
2  * @file lvgl.h
3  * Include all LittleV GL related headers
4  */
5 
6 #ifndef LVGL_H
7 #define LVGL_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 
14 /***************************
15  * CURRENT VERSION OF LVGL
16  ***************************/
17 #define LVGL_VERSION_MAJOR   7
18 #define LVGL_VERSION_MINOR   6
19 #define LVGL_VERSION_PATCH   1
20 #define LVGL_VERSION_INFO ""
21 
22 /*********************
23  *      INCLUDES
24  *********************/
25 
26 #include "src/lv_misc/lv_log.h"
27 #include "src/lv_misc/lv_task.h"
28 #include "src/lv_misc/lv_math.h"
29 #include "src/lv_misc/lv_async.h"
30 
31 #include "src/lv_hal/lv_hal.h"
32 
33 #include "src/lv_core/lv_obj.h"
34 #include "src/lv_core/lv_group.h"
35 #include "src/lv_core/lv_indev.h"
36 
37 #include "src/lv_core/lv_refr.h"
38 #include "src/lv_core/lv_disp.h"
39 
40 #include "src/lv_themes/lv_theme.h"
41 
42 #include "src/lv_font/lv_font.h"
43 #include "src/lv_font/lv_font_loader.h"
44 #include "src/lv_font/lv_font_fmt_txt.h"
45 #include "src/lv_misc/lv_printf.h"
46 
47 #include "src/lv_widgets/lv_btn.h"
48 #include "src/lv_widgets/lv_imgbtn.h"
49 #include "src/lv_widgets/lv_img.h"
50 #include "src/lv_widgets/lv_label.h"
51 #include "src/lv_widgets/lv_line.h"
52 #include "src/lv_widgets/lv_page.h"
53 #include "src/lv_widgets/lv_cont.h"
54 #include "src/lv_widgets/lv_list.h"
55 #include "src/lv_widgets/lv_chart.h"
56 #include "src/lv_widgets/lv_table.h"
57 #include "src/lv_widgets/lv_checkbox.h"
58 #include "src/lv_widgets/lv_cpicker.h"
59 #include "src/lv_widgets/lv_bar.h"
60 #include "src/lv_widgets/lv_slider.h"
61 #include "src/lv_widgets/lv_led.h"
62 #include "src/lv_widgets/lv_btnmatrix.h"
63 #include "src/lv_widgets/lv_keyboard.h"
64 #include "src/lv_widgets/lv_dropdown.h"
65 #include "src/lv_widgets/lv_roller.h"
66 #include "src/lv_widgets/lv_textarea.h"
67 #include "src/lv_widgets/lv_canvas.h"
68 #include "src/lv_widgets/lv_win.h"
69 #include "src/lv_widgets/lv_tabview.h"
70 #include "src/lv_widgets/lv_tileview.h"
71 #include "src/lv_widgets/lv_msgbox.h"
72 #include "src/lv_widgets/lv_objmask.h"
73 #include "src/lv_widgets/lv_gauge.h"
74 #include "src/lv_widgets/lv_linemeter.h"
75 #include "src/lv_widgets/lv_switch.h"
76 #include "src/lv_widgets/lv_arc.h"
77 #include "src/lv_widgets/lv_spinner.h"
78 #include "src/lv_widgets/lv_calendar.h"
79 #include "src/lv_widgets/lv_spinbox.h"
80 
81 #include "src/lv_draw/lv_img_cache.h"
82 
83 #include "src/lv_api_map.h"
84 
85 //#define LV_BUILD_TEST 1
86 
87 /*********************
88  *      DEFINES
89  *********************/
90 
91 /**********************
92  *      TYPEDEFS
93  **********************/
94 
95 /**********************
96  * GLOBAL PROTOTYPES
97  **********************/
98 
99 /**********************
100  *      MACROS
101  **********************/
102 
103 /** Gives 1 if the x.y.z version is supported in the current version
104  * Usage:
105  *
106  * - Require v6
107  * #if LV_VERSION_CHECK(6,0,0)
108  *   new_func_in_v6();
109  * #endif
110  *
111  *
112  * - Require at least v5.3
113  * #if LV_VERSION_CHECK(5,3,0)
114  *   new_feature_from_v5_3();
115  * #endif
116  *
117  *
118  * - Require v5.3.2 bugfixes
119  * #if LV_VERSION_CHECK(5,3,2)
120  *   bugfix_in_v5_3_2();
121  * #endif
122  *
123  * */
124 #define LV_VERSION_CHECK(x,y,z) (x == LVGL_VERSION_MAJOR && (y < LVGL_VERSION_MINOR || (y == LVGL_VERSION_MINOR && z <= LVGL_VERSION_PATCH)))
125 
126 
127 #ifdef __cplusplus
128 }
129 #endif
130 
131 #endif /*LVGL_H*/
132