mikroSDK Reference Manual
lvgl.h
Go to the documentation of this file.
1
6#ifndef LVGL_H
7#define LVGL_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/***************************
14 * CURRENT VERSION OF LVGL
15 ***************************/
16#define LVGL_VERSION_MAJOR 8
17#define LVGL_VERSION_MINOR 3
18#define LVGL_VERSION_PATCH 5
19#define LVGL_VERSION_INFO ""
20
21/*********************
22 * INCLUDES
23 *********************/
24
25#include "src/misc/lv_log.h"
26#include "src/misc/lv_timer.h"
27#include "src/misc/lv_math.h"
28#include "src/misc/lv_mem.h"
29#include "src/misc/lv_async.h"
31#include "src/misc/lv_printf.h"
32
33#include "src/hal/lv_hal.h"
34
35#include "src/core/lv_obj.h"
36#include "src/core/lv_group.h"
37#include "src/core/lv_indev.h"
38#include "src/core/lv_refr.h"
39#include "src/core/lv_disp.h"
40#include "src/core/lv_theme.h"
41
42#include "src/font/lv_font.h"
45
46#include "src/widgets/lv_arc.h"
47#include "src/widgets/lv_btn.h"
48#include "src/widgets/lv_img.h"
50#include "src/widgets/lv_line.h"
52#include "src/widgets/lv_checkbox.h"
53#include "src/widgets/lv_bar.h"
61
62#include "src/draw/lv_draw.h"
63
64#include "src/lv_api_map.h"
65
66/*-----------------
67 * EXTRAS
68 *----------------*/
69#include "src/extra/lv_extra.h"
70
71/*********************
72 * DEFINES
73 *********************/
74
75/**********************
76 * TYPEDEFS
77 **********************/
78
79/**********************
80 * GLOBAL PROTOTYPES
81 **********************/
82
83/**********************
84 * MACROS
85 **********************/
86
108#define LV_VERSION_CHECK(x,y,z) (x == LVGL_VERSION_MAJOR && (y < LVGL_VERSION_MINOR || (y == LVGL_VERSION_MINOR && z <= LVGL_VERSION_PATCH)))
109
114static inline int lv_version_major(void)
115{
116 return LVGL_VERSION_MAJOR;
117}
118
119static inline int lv_version_minor(void)
120{
121 return LVGL_VERSION_MINOR;
122}
123
124static inline int lv_version_patch(void)
125{
126 return LVGL_VERSION_PATCH;
127}
128
129static inline const char *lv_version_info(void)
130{
131 return LVGL_VERSION_INFO;
132}
133
134#ifdef __cplusplus
135} /*extern "C"*/
136#endif
137
138#endif /*LVGL_H*/