refactor: lv_anim_set_playback_time -> lv_anim_set_playback_duration
This commit is contained in:
@@ -29,7 +29,7 @@ void lv_example_anim_2(void)
|
||||
lv_anim_set_values(&a, 10, 50);
|
||||
lv_anim_set_duration(&a, 1000);
|
||||
lv_anim_set_playback_delay(&a, 100);
|
||||
lv_anim_set_playback_time(&a, 300);
|
||||
lv_anim_set_playback_duration(&a, 300);
|
||||
lv_anim_set_repeat_delay(&a, 500);
|
||||
lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE);
|
||||
lv_anim_set_path_cb(&a, lv_anim_path_ease_in_out);
|
||||
|
||||
@@ -20,7 +20,7 @@ a1.set_var(obj)
|
||||
a1.set_values(10, 50)
|
||||
a1.set_time(1000)
|
||||
a1.set_playback_delay(100)
|
||||
a1.set_playback_time(300)
|
||||
a1.set_playback_duration(300)
|
||||
a1.set_repeat_delay(500)
|
||||
a1.set_repeat_count(lv.ANIM_REPEAT_INFINITE)
|
||||
a1.set_path_cb(lv.anim_t.path_ease_in_out)
|
||||
@@ -33,7 +33,7 @@ a2.set_var(obj)
|
||||
a2.set_values(10, 240)
|
||||
a2.set_time(1000)
|
||||
a2.set_playback_delay(100)
|
||||
a2.set_playback_time(300)
|
||||
a2.set_playback_duration(300)
|
||||
a2.set_repeat_delay(500)
|
||||
a2.set_repeat_count(lv.ANIM_REPEAT_INFINITE)
|
||||
a2.set_path_cb(lv.anim_t.path_ease_in_out)
|
||||
|
||||
Reference in New Issue
Block a user