1 /**
2  * @file lv_demo_ebike.h
3  *
4  */
5 
6 #ifndef LV_DEMO_EBIKE_H
7 #define LV_DEMO_EBIKE_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_EBIKE
19 
20 /*Testing of dependencies*/
21 #if LV_USE_BIDI == 0
22 #error "BiDirectional text support is required. Enable it in lv_conf.h (LV_USE_BIDI 1)"
23 #endif
24 
25 #if LV_USE_ARABIC_PERSIAN_CHARS == 0
26 #error "Arabic/Perisan character processing is required. Enable it in lv_conf.h (LV_USE_ARABIC_PERSIAN_CHARS 1)"
27 #endif
28 
29 /*********************
30  *      DEFINES
31  *********************/
32 
33 
34 /**********************
35  *      TYPEDEFS
36  **********************/
37 
38 /**********************
39  * GLOBAL PROTOTYPES
40  **********************/
41 
42 /**
43  * Create an ebike demo.
44  * If LV_DEMO_EBIKE_PORTRAIT is 0: the supported resolution as are: 320x240... 480x320
45  * If LV_DEMO_EBIKE_PORTRAIT is 1: the supported resolution as are: 480x600... 480x858
46  */
47 void lv_demo_ebike(void);
48 
49 
50 /**********************
51  * GLOBAL VARIABLES
52  **********************/
53 
54 /**********************
55  *      MACROS
56  **********************/
57 
58 #endif /*LV_USE_DEMO_EBIKE*/
59 
60 #ifdef __cplusplus
61 } /*extern "C"*/
62 #endif
63 
64 #endif /*LV_DEMO_EBIKE_H*/
65