MPLAB® Harmony Graphics Suite
|
Enumeration: laTextFieldWidget_t
A text field widget is a widget that is capable of displaying a single line of editable text. This widget is capable of receiving edit events from the Aria edit event system. It can also display a blinking cursor.
typedef struct laTextFieldWidget_t { laEditWidget editWidget; laString text; laHAlignment halign; uint32_t cursorPos; uint32_t cursorDelay; uint32_t cursorTime; laBool cursorEnable; laBool cursorVisible; laBool clearOnFirstEdit; laTextFieldWidget_TextChangedCallback textChangedEvent; laTextFieldWidget_FocusChangedCallback focusChangedEvent; GFXU_ExternalAssetReader* reader; } laTextFieldWidget;
Members |
Description |
laEditWidget editWidget; |
edit widget base class |
laString text; |
the text to edit |
laHAlignment halign; |
horizontal alignment |
uint32_t cursorPos; |
current cursor position |
uint32_t cursorDelay; |
cursor blink delay |
uint32_t cursorTime; |
current cursor tick counter |
laBool cursorEnable; |
cursor enabled flag |
laBool cursorVisible; |
cursor visbility flag |
laBool clearOnFirstEdit; |
needs clear on first edit |
laTextFieldWidget_TextChangedCallback textChangedEvent; |
text changed event |
laTextFieldWidget_FocusChangedCallback focusChangedEvent; |
focus changed event |
GFXU_ExternalAssetReader* reader; |
asset reader |
None.
MPLAB® Harmony Graphics Suite
|