#include "lv_obj.h"
#include <stdbool.h>
Go to the source code of this file.
§ lv_refr_init()
void lv_refr_init |
( |
void |
| ) |
|
Initialize the screen refresh subsystem
§ lv_refr_now()
Redraw the invalidated areas now. Normally the redrawing is periodically executed in lv_task_handler
but a long blocking process can prevent the call of lv_task_handler
. In this case if the the GUI is updated in the process (e.g. progress bar) this function can be called when the screen should be updated.
- Parameters
-
disp | pointer to display to refresh. NULL to refresh all displays. |
§ lv_inv_area()
Invalidate an area on display to redraw it
- Parameters
-
area_p | pointer to area which should be invalidated (NULL: delete the invalidated areas) |
disp | pointer to display where the area should be invalidated (NULL can be used if there is only one display) |
§ lv_refr_get_disp_refreshing()
lv_disp_t* lv_refr_get_disp_refreshing |
( |
void |
| ) |
|
Get the display which is being refreshed
- Returns
- the display being refreshed
§ lv_refr_set_disp_refreshing()
void lv_refr_set_disp_refreshing |
( |
lv_disp_t * |
disp | ) |
|
Set the display which is being refreshed. It shouldn1t be used directly by the user. It can be used to trick the drawing functions about there is an active display.
- Parameters
-
the | display being refreshed |
§ lv_disp_refr_task()
Called periodically to handle the refreshing
- Parameters
-
task | pointer to the task itself |