refactor(anim) replace lv_anim_value_t with int32_t

see #2086
This commit is contained in:
Gabor Kiss-Vamosi
2021-02-22 19:01:40 +01:00
parent 9b6516617b
commit 757c18e430
16 changed files with 55 additions and 60 deletions

View File

@@ -1,12 +1,12 @@
#include "../../../lvgl.h"
#if LV_USE_GRID && LV_BUILD_EXAMPLES
static void row_gap_anim(lv_obj_t * obj, lv_anim_value_t v)
static void row_gap_anim(lv_obj_t * obj, int32_t v)
{
lv_obj_set_style_pad_row(obj, LV_PART_MAIN, LV_STATE_DEFAULT, v);
}
static void column_gap_anim(lv_obj_t * obj, lv_anim_value_t v)
static void column_gap_anim(lv_obj_t * obj, int32_t v)
{
lv_obj_set_style_pad_column(obj, LV_PART_MAIN, LV_STATE_DEFAULT, v);
}