mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
use typedef lv_coord_t lv_anim_value_t in lv_anim.h
This commit is contained in:
parent
a63c5eb968
commit
a9c818a6ef
@ -130,8 +130,6 @@ typedef int16_t lv_coord_t;
|
|||||||
/*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/
|
/*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/
|
||||||
typedef void * lv_anim_user_data_t;
|
typedef void * lv_anim_user_data_t;
|
||||||
|
|
||||||
/*Type of the animated value*/
|
|
||||||
typedef int16_t lv_anim_value_t;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* 1: Enable shadow drawing*/
|
/* 1: Enable shadow drawing*/
|
||||||
|
@ -39,6 +39,9 @@ enum {
|
|||||||
|
|
||||||
typedef uint8_t lv_anim_enable_t;
|
typedef uint8_t lv_anim_enable_t;
|
||||||
|
|
||||||
|
/*Type of the animated value*/
|
||||||
|
typedef lv_coord_t lv_anim_value_t;
|
||||||
|
|
||||||
#if LV_USE_ANIMATION
|
#if LV_USE_ANIMATION
|
||||||
|
|
||||||
struct _lv_anim_t;
|
struct _lv_anim_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user