What do you want to achieve?
Calling a function when animation is ready.
What have you tried so far?
Created an animation in SquareLine Studio. This can be called correctly and is working.
But when creating the ready callback (lv_anim_set_ready_cb
) I do not understand how to reference the animation (lv_anim_t *
).
My conclusion is that the callback needs to reference a property of the animation (PropertyAnimation_0
, PropertyAnimation_1
, etc.), but these are not declared externally.
Please advise.
Others
- SquareLine Studio version: 1.4.2
- Operating system: Windows 10
- Target hardware: ESP32