1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

use typedef lv_coord_t lv_anim_value_t in lv_anim.h

This commit is contained in:
Gabor Kiss-Vamosi 2019-06-20 18:58:53 +02:00
parent a63c5eb968
commit a9c818a6ef
2 changed files with 3 additions and 2 deletions

View File

@ -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`)*/
typedef void * lv_anim_user_data_t;
/*Type of the animated value*/
typedef int16_t lv_anim_value_t;
#endif
/* 1: Enable shadow drawing*/

View File

@ -39,6 +39,9 @@ enum {
typedef uint8_t lv_anim_enable_t;
/*Type of the animated value*/
typedef lv_coord_t lv_anim_value_t;
#if LV_USE_ANIMATION
struct _lv_anim_t;