57 lines
834 B
C
57 lines
834 B
C
/**
|
|
* @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*/
|