1 /**
2  * @file lv_spinner.h
3  *
4  */
5 
6 #ifndef LV_SPINNER_H
7 #define LV_SPINNER_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../../../lvgl.h"
17 
18 #if LV_USE_SPINNER
19 
20 /*Testing of dependencies*/
21 #if LV_USE_ARC == 0
22 #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC  1) "
23 #endif
24 
25 /*********************
26  *      DEFINES
27  *********************/
28 
29 /**********************
30  *      TYPEDEFS
31  **********************/
32 extern const lv_obj_class_t lv_spinner_class;
33 
34 /**********************
35  * GLOBAL PROTOTYPES
36  **********************/
37 
38 lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length);
39 
40 /**********************
41  *      MACROS
42  **********************/
43 
44 #endif /*LV_USE_SPINNER*/
45 
46 #ifdef __cplusplus
47 } /*extern "C"*/
48 #endif
49 
50 #endif /*LV_SPINNER_H*/
51