lv_refr_private.h
API reference for lv_refr_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_refr.h
Summary
Functions
lv_refr_set_disp_refreshing
Set the display which is being refreshed
void lv_refr_set_disp_refreshing(lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | the display being refreshed |
lv_refr_get_disp_refreshing
Get the display which is being refreshed
lv_display_t * lv_refr_get_disp_refreshing(void)Returns: lv_display_t * — the display being refreshed
lv_refr_get_top_obj
Search the most top object which fully covers an area
lv_obj_t * lv_refr_get_top_obj(const lv_area_t *area_p, lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
area_p | const lv_area_t * | pointer to an area |
obj | lv_obj_t * | the first object to start the searching (typically a screen) |
lv_refr_init
Initialize the screen refresh subsystem
void lv_refr_init(void)lv_refr_deinit
Deinitialize the screen refresh subsystem
void lv_refr_deinit(void)lv_inv_area
Invalidate an area on display to redraw it
lv_result_t lv_inv_area(lv_display_t *disp, const lv_area_t *area_p)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | pointer to display where the area should be invalidated (NULL can be used if there is only one display) |
area_p | const lv_area_t * | pointer to area which should be invalidated (NULL: delete the invalidated areas) |
Returns: lv_result_t — LV_RESULT_OK: the area is invalidated; LV_RESULT_INVALID: the area wasn't invalidated.
lv_obj_refr
Render an object to a layer
void lv_obj_refr(lv_layer_t *layer, lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
layer | lv_layer_t * | target drawing layer |
obj | lv_obj_t * | object to render |
Dependencies
lvgl_public.h
Last updated on