refactor(anim): rename ready_cb to completed_cb (#5378)
This commit is contained in:
committed by
GitHub
parent
3b26b045ec
commit
3883b61a7d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user