aboutsummaryrefslogtreecommitdiff
path: root/src/misc/lv_anim_private.h
blob: 5c25850170c006750e918d3f2da7202753713c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
 * @file lv_anim_private.h
 *
 */

#ifndef LV_ANIM_PRIVATE_H
#define LV_ANIM_PRIVATE_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#include "lv_anim.h"

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

typedef struct {
    bool anim_list_changed;
    bool anim_run_round;
    lv_timer_t * timer;
    lv_ll_t anim_ll;
} lv_anim_state_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**
 * Init the animation module
 */
void lv_anim_core_init(void);

/**
 * Deinit the animation module
 */
void lv_anim_core_deinit(void);

/**********************
 *      MACROS
 **********************/

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif /*LV_ANIM_PRIVATE_H*/