MPLAB® Harmony Graphics Suite
|
Structure: laScreen_t
Maintains the layers associated with the screen. Marks the screen as persistent or not, which either destroys the screen when changed or preserves it for future reloading. Allocates and manages the event handling when screen change / show / hide events occur.
typedef struct laScreen_t { uint32_t id; laString name; laBool persistent; laScreen_CreateCallback_FnPtr createCB; laBool created; laLayer* layers[LA_MAX_LAYERS]; laScreenOrientation orientation; laBool mirrored; laBool layerSwapSync; laScreen_ShowHideCallback_FnPtr showCB; laScreen_ShowHideCallback_FnPtr hideCB; } laScreen;
Members |
Description |
uint32_t id; |
the id of the screen |
laString name; |
the name of the screen |
laBool persistent; |
indicates that the screen should not free its widgets when it hides |
laScreen_CreateCallback_FnPtr createCB; |
the function that is called to create the contents of the screen |
laBool created; |
indicates if the screen currently exists |
laLayer* layers[LA_MAX_LAYERS]; |
the layer array for the screen |
laScreenOrientation orientation; |
the orientation of the screen |
laBool mirrored; |
the mirror flag of the screen |
laBool layerSwapSync; |
the layerSwapSync flag of the screen |
laScreen_ShowHideCallback_FnPtr showCB; |
a callback that is called when the screen is shown |
laScreen_ShowHideCallback_FnPtr hideCB; |
a callback that is called when the screen is hidden |
None.
MPLAB® Harmony Graphics Suite
|