lv_anim_custom_delete() function
Delete an animation by getting the animated variable from `a`. Only animations with `exec_cb` will be deleted. This function exists because it's logical that all anim. functions receives an `lv_anim_t` as their first parameter. It's not practical in C but might make the API more consequent and makes easier to generate bindings.
Arguments
a
pointer to an animation.
exec_cb
a function pointer which is animating 'var', or NULL to ignore it and delete all the animations of 'var
Return value
true: at least 1 animation is deleted, false: no animation is deleted
lv_anim_custom_delete() calls 1 function:
![]()
lv_anim_custom_delete()
lv_anim_custom_delete() reads 1 variable:
![]()
lv_anim_custom_delete()