lvgl icon indicating copy to clipboard operation
lvgl copied to clipboard

lv anim support pause/resume

Open junminacts opened this issue 1 year ago • 7 comments

Problem to solve

anim requires pause/resume in some cases to keep continuity

Success criteria

pause the anim, sleep several seconds, the resume it started with the same anim value.

Solution outline

add new control API, like lv_anim_pause/resume

Rabbit holes

No

Testing

pause the anim, sleep several seconds, the resume it started with the same anim value.

Teaching

Doc the new API

Considerations

No response

junminacts avatar Oct 10 '24 07:10 junminacts

We have started a larger update on the animations but was too complicated.

Adding a simple pause, resume, and reset functions seems simple and doable. We can work on it.

cc @kissa96

kisvegabor avatar Oct 10 '24 09:10 kisvegabor

Already working on it.

kissa96 avatar Oct 16 '24 12:10 kissa96

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Oct 31 '24 02:10 lvgl-bot

Not stale. Working on it, but other tasks have priority

kissa96 avatar Oct 31 '24 08:10 kissa96

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Nov 19 '24 02:11 lvgl-bot

@ulipe If you have some time, could you take a look at this?

kisvegabor avatar Nov 20 '24 11:11 kisvegabor

This would lean heavily towards having lv_example_anim_timeline_1 -- that has a [Pause] button to be updated to change that button to use it, and probably add a [Stop] button to do what the [Pause] button did previously.

vwheeler63 avatar Nov 20 '24 11:11 vwheeler63

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Dec 09 '24 02:12 lvgl-bot

Not stale - It reminds me to go back on this

uLipe avatar Dec 11 '24 03:12 uLipe

We need some feedback on this issue.

Now we mark this as "Abandoned" because there was no activity here for 14 days.

Remove the "Stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Dec 29 '24 02:12 lvgl-bot

Not stale.

kisvegabor avatar Jan 03 '25 15:01 kisvegabor

Would you be ok with me taking this off your plate ? @uLipe

AndreCostaaa avatar Jan 09 '25 17:01 AndreCostaaa

@AndreCostaaa sure, no problem I also already paid an initial review on your PR.

Thank you for your contribution!

uLipe avatar Jan 09 '25 19:01 uLipe