mikroSDK Reference Manual
lv_anim_timeline.h
Go to the documentation of this file.
1
6#ifndef LV_ANIM_TIMELINE_H
7#define LV_ANIM_TIMELINE_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "lv_anim.h"
17
18/*********************
19 * DEFINES
20 *********************/
21
22/**********************
23 * TYPEDEFS
24 **********************/
25
26struct _lv_anim_timeline_t;
27
28typedef struct _lv_anim_timeline_t lv_anim_timeline_t;
29
30/**********************
31* GLOBAL PROTOTYPES
32**********************/
33
38lv_anim_timeline_t * lv_anim_timeline_create(void);
39
44void lv_anim_timeline_del(lv_anim_timeline_t * at);
45
52void lv_anim_timeline_add(lv_anim_timeline_t * at, uint32_t start_time, lv_anim_t * a);
53
59uint32_t lv_anim_timeline_start(lv_anim_timeline_t * at);
60
65void lv_anim_timeline_stop(lv_anim_timeline_t * at);
66
72void lv_anim_timeline_set_reverse(lv_anim_timeline_t * at, bool reverse);
73
79void lv_anim_timeline_set_progress(lv_anim_timeline_t * at, uint16_t progress);
80
86uint32_t lv_anim_timeline_get_playtime(lv_anim_timeline_t * at);
87
93bool lv_anim_timeline_get_reverse(lv_anim_timeline_t * at);
94
95/**********************
96 * MACROS
97 **********************/
98
99#ifdef __cplusplus
100} /*extern "C"*/
101#endif
102
103#endif /*LV_ANIM_TIMELINE_H*/
void lv_anim_timeline_set_progress(lv_anim_timeline_t *at, uint16_t progress)
void lv_anim_timeline_add(lv_anim_timeline_t *at, uint32_t start_time, lv_anim_t *a)
void lv_anim_timeline_stop(lv_anim_timeline_t *at)
uint32_t lv_anim_timeline_start(lv_anim_timeline_t *at)
void lv_anim_timeline_del(lv_anim_timeline_t *at)
bool lv_anim_timeline_get_reverse(lv_anim_timeline_t *at)
void lv_anim_timeline_set_reverse(lv_anim_timeline_t *at, bool reverse)
uint32_t lv_anim_timeline_get_playtime(lv_anim_timeline_t *at)
lv_anim_timeline_t * lv_anim_timeline_create(void)
Definition lv_anim.h:73