Vuo  2.1.1
Public Member Functions | Public Attributes | List of all members
VuoTextFieldState Struct Reference

Description

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...
 

Constructor & Destructor Documentation

◆ VuoTextFieldState()

VuoTextFieldState::VuoTextFieldState ( int  lines)

Text field state constructor.

Initialize a new text field state.

Definition at line 38 of file VuoTextFieldInternal.cc.

◆ ~VuoTextFieldState()

VuoTextFieldState::~VuoTextFieldState ( )

Text field state destructor.

Release a text field state.

Definition at line 51 of file VuoTextFieldInternal.cc.

Member Data Documentation

◆ isFocused

bool VuoTextFieldState::isFocused

Is this field currently focused?

Definition at line 44 of file VuoTextFieldInternal.h.

◆ isHovering

bool VuoTextFieldState::isHovering

Is this field currently hovered?

Definition at line 43 of file VuoTextFieldInternal.h.

◆ placeholder

VuoText VuoTextFieldState::placeholder

When no user set text is available, display this text as a placeholder.

Definition at line 40 of file VuoTextFieldInternal.h.

◆ text

VuoText VuoTextFieldState::text

The text to be displayed in the field.

Definition at line 39 of file VuoTextFieldInternal.h.

◆ textEditState

STB_TexteditState VuoTextFieldState::textEditState

stb_textedit state.

Definition at line 42 of file VuoTextFieldInternal.h.

◆ textImageData

VuoImageTextData VuoTextFieldState::textImageData

Store information about rendered text in image form.

Definition at line 41 of file VuoTextFieldInternal.h.


The documentation for this struct was generated from the following files: