refactor(anim): rename ready_cb to completed_cb (#5378)

This commit is contained in:
Gabor Kiss-Vamosi
2024-01-18 11:07:29 +01:00
committed by GitHub
parent 3b26b045ec
commit 3883b61a7d
20 changed files with 63 additions and 62 deletions

View File

@@ -59,8 +59,8 @@ and configured with ``lv_anim_set_...()`` functions.
/*Set path (curve). Default is linear*/
lv_anim_set_path(&a, lv_anim_path_ease_in);
/*Set a callback to indicate when the animation is ready (idle).*/
lv_anim_set_ready_cb(&a, ready_cb);
/*Set a callback to indicate when the animation is completed.*/
lv_anim_set_completed_cb(&a, completed_cb);
/*Set a callback to indicate when the animation is deleted (idle).*/
lv_anim_set_deleted_cb(&a, deleted_cb);