Hold information about the current UI state of a text field (hovering, focused, etc).
Definition at line 36 of file VuoTextFieldInternal.h.
Public Member Functions | |
VuoTextFieldState (int lines) | |
Text field state constructor. More... | |
~VuoTextFieldState () | |
Text field state destructor. More... | |
Public Attributes | |
VuoText | text |
The text to be displayed in the field. More... | |
VuoText | placeholder |
When no user set text is available, display this text as a placeholder. More... | |
VuoImageTextData | textImageData |
Store information about rendered text in image form. More... | |
STB_TexteditState | textEditState |
stb_textedit state. More... | |
bool | isHovering |
Is this field currently hovered? More... | |
bool | isFocused |
Is this field currently focused? More... | |
VuoTextFieldState::VuoTextFieldState | ( | int | lines | ) |
Text field state constructor.
Initialize a new text field state.
Definition at line 38 of file VuoTextFieldInternal.cc.
VuoTextFieldState::~VuoTextFieldState | ( | ) |
Text field state destructor.
Release a text field state.
Definition at line 51 of file VuoTextFieldInternal.cc.
bool VuoTextFieldState::isFocused |
Is this field currently focused?
Definition at line 44 of file VuoTextFieldInternal.h.
bool VuoTextFieldState::isHovering |
Is this field currently hovered?
Definition at line 43 of file VuoTextFieldInternal.h.
VuoText VuoTextFieldState::placeholder |
When no user set text is available, display this text as a placeholder.
Definition at line 40 of file VuoTextFieldInternal.h.
VuoText VuoTextFieldState::text |
The text to be displayed in the field.
Definition at line 39 of file VuoTextFieldInternal.h.
STB_TexteditState VuoTextFieldState::textEditState |
stb_textedit state.
Definition at line 42 of file VuoTextFieldInternal.h.
VuoImageTextData VuoTextFieldState::textImageData |
Store information about rendered text in image form.
Definition at line 41 of file VuoTextFieldInternal.h.