MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > b) Core Functions > leIsDrawing Function
MPLAB® Harmony Graphics Suite
leIsDrawing Function

Indicates if the library currently drawing a frame. Because frame updates can asynchronous to making changes to the UI state it is best to only make updates to the state of a widget only when the layer is not drawing.

C
LIB_EXPORT leBool leIsDrawing();
Returns

leResult

MPLAB® Harmony Graphics Suite