lv_anim_timeline.h
API reference for lv_anim_timeline.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_anim_timeline_private.h
Functions
misc/lv_anim_timeline.h:79function
lv_anim_timeline_set_reverse
Set the playback direction of the animation timeline.
void lv_anim_timeline_set_reverse(lv_anim_timeline_t *at, bool reverse)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to the animation timeline. |
reverse | bool | whether to play in reverse. |
misc/lv_anim_timeline.h:87function
lv_anim_timeline_set_delay
Set the time to wait before starting the animation. Applies only when playing from the very start, or reverse from the very end.
void lv_anim_timeline_set_delay(lv_anim_timeline_t *at, uint32_t delay)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to an animation timeline |
delay | uint32_t | the delay time in milliseconds |
misc/lv_anim_timeline.h:94function
lv_anim_timeline_set_repeat_count
Make the animation timeline repeat itself.
void lv_anim_timeline_set_repeat_count(lv_anim_timeline_t *at, uint32_t cnt)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to the animation timeline. |
cnt | uint32_t | repeat count or LV_ANIM_REPEAT_INFINITE for infinite repetition. 0: to disable repetition. |
misc/lv_anim_timeline.h:101function
lv_anim_timeline_set_repeat_delay
Set a delay before repeating the animation timeline.
void lv_anim_timeline_set_repeat_delay(lv_anim_timeline_t *at, uint32_t delay)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to the animation timeline. |
delay | uint32_t | delay in milliseconds before repeating the animation timeline. |
misc/lv_anim_timeline.h:108function
lv_anim_timeline_set_progress
Set the progress of the animation timeline.
void lv_anim_timeline_set_progress(lv_anim_timeline_t *at, uint16_t progress)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to the animation timeline. |
progress | uint16_t | set value 0 |
misc/lv_anim_timeline.h:115function
lv_anim_timeline_set_user_data
Set the user_data of a an animation timeline
void lv_anim_timeline_set_user_data(lv_anim_timeline_t *at, void *user_data)| Name | Type | Description |
|---|---|---|
at | lv_anim_timeline_t * | pointer to the animation timeline. |
user_data | void * | pointer to any data. Only the pointer will be saved. |
Structs
struct
_lv_anim_timeline_dsc_t
Typedefs
misc/lv_anim_timeline.h:34typedef
lv_anim_timeline_dsc_t
typedef struct _lv_anim_timeline_dsc_t lv_anim_timeline_dsc_tMacros
LV_ANIM_TIMELINE_PROGRESS_MAX
#define LV_ANIM_TIMELINE_PROGRESS_MAX 0xFFFFDependencies
How is this guide?
Last updated on