Vuo  2.0.0
Public Member Functions | List of all members
VuoUiThemeTextField Class Referenceabstract

Description

Theme for the text/number widget.

Definition at line 63 of file VuoUiThemeBase.hh.

Public Member Functions

virtual VuoLayer render (VuoPoint2d screenSize, VuoReal screenBackingScaleFactor, VuoColor cursorColor, VuoText label, VuoText placeholderText, int numLines, int cursorIndex, int selectionStart, int selectionEnd, VuoPoint2d position, VuoReal width, VuoAnchor anchor, bool isHovered, bool isFocused, VuoImageTextData *textImageData)=0
 Creates a layer tree representing a button with the specified theme and parameters. More...
 
- Public Member Functions inherited from VuoSerializable
virtual json_objectgetJson ()
 Serializes this instance's data. More...
 
std::string getType () const
 Returns this instance's specialized type. More...
 
virtual char * getSummary ()=0
 Outputs a summary of this instance's data, to be shown in port popovers. More...
 
virtual bool operator== (const VuoSerializable &that)=0
 Returns true if this instance is equivalent to that instance. More...
 
virtual bool operator< (const VuoSerializable &that)=0
 Returns true if this instance sorts before that instance. More...
 
 VuoSerializable ()
 Registers an instance of a VuoSerializable subclass with VuoHeap. More...
 
virtual ~VuoSerializable ()
 Does nothing. More...
 

Additional Inherited Members

- Public Types inherited from VuoSerializable
typedef VuoSerializable *(* Constructor) (json_object *)
 A makeFromJson method. More...
 
- Static Public Member Functions inherited from VuoSerializable
static bool registerSubclass (std::string type, Constructor makeFromJson)
 Informs this base class of the presence of a subclass, so it can be instantiated from JSON. More...
 
static void destroy (void *t)
 Deletes an instance of a VuoSerializable subclass. More...
 
static VuoSerializablemakeFromJson (json_object *js)
 Creates an instance of a VuoSerializable subclass from JSON. More...
 
- Static Public Attributes inherited from VuoSerializable
static std::string type = ""
 The subtype's class name. More...
 

Member Function Documentation

◆ render()

virtual VuoLayer VuoUiThemeTextField::render ( VuoPoint2d  screenSize,
VuoReal  screenBackingScaleFactor,
VuoColor  cursorColor,
VuoText  label,
VuoText  placeholderText,
int  numLines,
int  cursorIndex,
int  selectionStart,
int  selectionEnd,
VuoPoint2d  position,
VuoReal  width,
VuoAnchor  anchor,
bool  isHovered,
bool  isFocused,
VuoImageTextData textImageData 
)
pure virtual

Creates a layer tree representing a button with the specified theme and parameters.

Implemented in VuoUiThemeTextFieldRounded.


The documentation for this class was generated from the following file: