1 /** 2 * @file lv_anim_private.h 3 * 4 */ 5 6 #ifndef LV_ANIM_PRIVATE_H 7 #define LV_ANIM_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "lv_anim.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 typedef struct { 28 bool anim_list_changed; 29 bool anim_run_round; 30 lv_timer_t * timer; 31 lv_ll_t anim_ll; 32 } lv_anim_state_t; 33 34 /********************** 35 * GLOBAL PROTOTYPES 36 **********************/ 37 38 /** 39 * Init the animation module 40 */ 41 void lv_anim_core_init(void); 42 43 /** 44 * Deinit the animation module 45 */ 46 void lv_anim_core_deinit(void); 47 48 /********************** 49 * MACROS 50 **********************/ 51 52 #ifdef __cplusplus 53 } /*extern "C"*/ 54 #endif 55 56 #endif /*LV_ANIM_PRIVATE_H*/ 57