lv_vg_lite_pending.h
API reference for lv_vg_lite_pending.h
Summary
Functions
lv_vg_lite_pending_set_free_cb
Set a free callback for the pending list
void lv_vg_lite_pending_set_free_cb(lv_vg_lite_pending_t *pending, lv_vg_lite_pending_free_cb_t free_cb, void *user_data)| Name | Type | Description |
|---|---|---|
pending | lv_vg_lite_pending_t * | pointer to the pending list |
free_cb | lv_vg_lite_pending_free_cb_t | the free callback |
user_data | void * | user data to pass to the free callback May be NULL. |
lv_vg_lite_pending_create
Create a pending list
lv_vg_lite_pending_t * lv_vg_lite_pending_create(size_t obj_size, uint32_t capacity_default)| Name | Type | Description |
|---|---|---|
obj_size | size_t | the size of the objects in the list |
capacity_default | uint32_t | the default capacity of the list |
Returns: lv_vg_lite_pending_t * — a pointer to the pending list
lv_vg_lite_pending_destroy
Destroy a pending list
void lv_vg_lite_pending_destroy(lv_vg_lite_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_vg_lite_pending_t * | pointer to the pending list |
lv_vg_lite_pending_add
Add an object to the pending list
void lv_vg_lite_pending_add(lv_vg_lite_pending_t *pending, void *obj)| Name | Type | Description |
|---|---|---|
pending | lv_vg_lite_pending_t * | pointer to the pending list |
obj | void * | pointer to the object to add |
lv_vg_lite_pending_remove_all
Remove all objects from the active pending list
void lv_vg_lite_pending_remove_all(lv_vg_lite_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_vg_lite_pending_t * | pointer to the pending list |
lv_vg_lite_pending_swap
Remove all old objects reference and swap new objects reference
void lv_vg_lite_pending_swap(lv_vg_lite_pending_t *pending)| Name | Type | Description |
|---|---|---|
pending | lv_vg_lite_pending_t * | pointer to the pending list |
Typedefs
lv_vg_lite_pending_t
typedef struct _lv_vg_lite_pending_t lv_vg_lite_pending_tUsed by 5 functions
lv_vg_lite_pending_destroy— parampendinglv_vg_lite_pending_set_free_cb— parampendinglv_vg_lite_pending_add— parampendinglv_vg_lite_pending_remove_all— parampendinglv_vg_lite_pending_swap— parampending
lv_vg_lite_pending_free_cb_t
typedef void(* lv_vg_lite_pending_free_cb_t) (void *obj, void *user_data)Used by 1 function
lv_vg_lite_pending_set_free_cb— paramfree_cb
Dependencies
lvgl_public.h
Last updated on