MPLAB® Harmony Graphics Suite
|
Structure: laContext
The context represents an discrete instance of Aria user interface library. The library is designed to be multi-instance and fully re-entrant. The entire state of the library is stored and referenced through the context pointer.
struct laContext_t { GFX_Display displayIndex; void* gfxContext; GFXU_MemoryIntf memIntf; laPreemptionLevel preemptLevel; laArray screenList; laScreen* activeScreen; uint32_t frameState; uint32_t currentLayer; laInputState input; GFXU_StringTableAsset* stringTable; uint32_t languageID; uint32_t widgetIDs; laScheme defaultScheme; GFX_ColorMode colorMode; laWidget* focus; laEditWidget* edit; laContext_ActiveScreenChangedCallback_FnPtr screenChangedCB; laContext_LanguageChangedCallback_FnPtr languageChangedCB; laContext_PreprocessAssetsStateChangedCallback_FnPtr preprocessStateChangedCB; };
Members |
Description |
GFX_Display displayIndex; |
the display the library is using |
void* gfxContext; |
the HAL context the library owns |
GFXU_MemoryIntf memIntf; |
the memory interface the library is using |
laPreemptionLevel preemptLevel; |
the preemption level the library is using |
laArray screenList; |
the list of the screens in the context |
laScreen* activeScreen; |
the currently active screen |
uint32_t frameState; |
the context frame state |
uint32_t currentLayer; |
the current drawing layer |
laInputState input; |
the input state of the instance |
GFXU_StringTableAsset* stringTable; |
the string table for the instance |
uint32_t languageID; |
the currently active language |
uint32_t widgetIDs; |
the next unique widget ID |
laScheme defaultScheme; |
an internal default scheme that widgets use by default if the user doesn't set one |
GFX_ColorMode colorMode; |
the color mode the library uses for all layers |
laWidget* focus; |
the widget that currently has focus |
laEditWidget* edit; |
the widget that is currently receiving edit events |
laContext_ActiveScreenChangedCallback_FnPtr screenChangedCB; |
screen changed callback |
laContext_LanguageChangedCallback_FnPtr languageChangedCB; |
language changed callback |
laContext_PreprocessAssetsStateChangedCallback_FnPtr preprocessStateChangedCB; |
asset preprocess state changed callback |
None.
MPLAB® Harmony Graphics Suite
|