Home
last modified time | relevance | path

Searched refs:exec_cb (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_anim.h75 lv_anim_exec_xcb_t exec_cb; /**< Function to execute to animate*/ member
138 static inline void lv_anim_set_exec_cb(lv_anim_t * a, lv_anim_exec_xcb_t exec_cb) in lv_anim_set_exec_cb() argument
140 a->exec_cb = exec_cb; in lv_anim_set_exec_cb()
185 static inline void lv_anim_set_custom_exec_cb(lv_anim_t * a, lv_anim_custom_exec_cb_t exec_cb) in lv_anim_set_custom_exec_cb() argument
188 a->exec_cb = (lv_anim_exec_xcb_t)exec_cb; in lv_anim_set_custom_exec_cb()
348 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb);
361 lv_anim_t * lv_anim_get(void * var, lv_anim_exec_xcb_t exec_cb);
380 static inline bool lv_anim_custom_del(lv_anim_t * a, lv_anim_custom_exec_cb_t exec_cb) in lv_anim_custom_del() argument
382 return lv_anim_del(a ? a->var : NULL, (lv_anim_exec_xcb_t)exec_cb); in lv_anim_custom_del()
394 static inline lv_anim_t * lv_anim_custom_get(lv_anim_t * a, lv_anim_custom_exec_cb_t exec_cb) in lv_anim_custom_get() argument
[all …]
Dlv_anim.c80 …if(a->exec_cb != NULL) lv_anim_del(a->var, a->exec_cb); /*exec_cb == NULL would delete all animati… in lv_anim_start()
105 … if(new_anim->exec_cb && new_anim->var) new_anim->exec_cb(new_anim->var, new_anim->start_value); in lv_anim_start()
137 bool lv_anim_del(void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_del() argument
147 if((a->var == var || var == NULL) && (a->exec_cb == exec_cb || exec_cb == NULL)) { in lv_anim_del()
168 lv_anim_t * lv_anim_get(void * var, lv_anim_exec_xcb_t exec_cb) in lv_anim_get() argument
172 if(a->var == var && (a->exec_cb == exec_cb || exec_cb == NULL)) { in lv_anim_get()
391 if(a->exec_cb) a->exec_cb(a->var, new_value); in anim_timer()
Dlv_anim_timeline.c85 if(a->var == NULL && a->exec_cb == NULL) { in lv_anim_timeline_add()
87 at->anim_dsc[at->anim_dsc_cnt - 1].anim.exec_cb = lv_anim_timeline_virtual_exec_cb; in lv_anim_timeline_add()
124 lv_anim_del(a->var, a->exec_cb); in lv_anim_timeline_stop()
144 if(a->exec_cb == NULL) { in lv_anim_timeline_set_progress()
162 a->exec_cb(a->var, value); in lv_anim_timeline_set_progress()
/lvgl-3.7.0/docs/
DCHANGELOG.md1218 - fix(anim) return the first anim if exec_cb is NULL in lv_anim_get() [`fb7ea10`](https://github.co…