1 /**
2  * @file lv_demos.h
3  *
4  */
5 
6 #ifndef LV_DEMOS_H
7 #define LV_DEMOS_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../lvgl.h"
17 
18 #if LV_USE_DEMO_BENCHMARK
19 #include "benchmark/lv_demo_benchmark.h"
20 #endif
21 
22 #if LV_USE_DEMO_KEYPAD_AND_ENCODER
23 #include "keypad_encoder/lv_demo_keypad_encoder.h"
24 #endif
25 
26 #if LV_USE_DEMO_MUSIC
27 #include "music/lv_demo_music.h"
28 #endif
29 
30 #if LV_USE_DEMO_STRESS
31 #include "stress/lv_demo_stress.h"
32 #endif
33 
34 #if LV_USE_DEMO_WIDGETS
35 #include "widgets/lv_demo_widgets.h"
36 #endif
37 
38 #if LV_USE_DEMO_FLEX_LAYOUT
39 #include "flex_layout/lv_demo_flex_layout.h"
40 #endif
41 
42 #if LV_USE_DEMO_TRANSFORM
43 #include "transform/lv_demo_transform.h"
44 #endif
45 
46 #if LV_USE_DEMO_SCROLL
47 #include "scroll/lv_demo_scroll.h"
48 #endif
49 
50 #if LV_USE_DEMO_MULTILANG
51 #include "multilang/lv_demo_multilang.h"
52 #endif
53 
54 #if LV_USE_DEMO_VECTOR_GRAPHIC && LV_USE_VECTOR_GRAPHIC
55 #include "vector_graphic/lv_demo_vector_graphic.h"
56 #endif
57 
58 #if LV_USE_DEMO_RENDER
59 #include "render/lv_demo_render.h"
60 #endif
61 
62 #if LV_USE_DEMO_EBIKE
63 #include "ebike/lv_demo_ebike.h"
64 #endif
65 
66 #if LV_USE_DEMO_HIGH_RES
67 #include "high_res/lv_demo_high_res.h"
68 #endif
69 
70 #if LV_USE_DEMO_SMARTWATCH
71 #include "smartwatch/lv_demo_smartwatch.h"
72 #endif
73 
74 /*********************
75  *      DEFINES
76  *********************/
77 
78 /**********************
79  *      TYPEDEFS
80  **********************/
81 
82 /**********************
83  * GLOBAL PROTOTYPES
84  **********************/
85 
86 /**
87  * Call lv_demo_xxx.
88  * @param   info the information which contains demo name and parameters
89  *               needs by lv_demo_xxx.
90  * @size    size of information.
91  */
92 bool lv_demos_create(char * info[], int size);
93 
94 /**
95  * Show help for lv_demos.
96  */
97 void lv_demos_show_help(void);
98 
99 /**********************
100  *      MACROS
101  **********************/
102 
103 #ifdef __cplusplus
104 } /* extern "C" */
105 #endif
106 
107 #endif /*LV_DEMO_H*/
108