lv_refr.h
Functions
-
void lv_refr_now(lv_display_t *disp)
Redraw the invalidated areas now. Normally the redrawing is periodically executed in
lv_timer_handler
but a long blocking process can prevent the call oflv_timer_handler
. In this case if 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.
-
void lv_obj_redraw(lv_layer_t *layer, lv_obj_t *obj)
Redrawn on object and all its children using the passed draw context
- Parameters:
layer -- pointer to a layer where to draw.
obj -- the start object from the redraw should start