Vuo  2.3.2
Classes | Functions
VuoUiThemeGroup.cc File Reference

Description

Private VuoUiThemeGroup implementation.

Definition in file VuoUiThemeGroup.cc.

Go to the source code of this file.

Classes

class  VuoUiThemeGroup
 A collection of multiple themes (ideally one theme for each type of widget). More...
 

Functions

 VuoSerializableRegister (VuoUiThemeGroup)
 Register with base class. More...
 
VuoUiTheme VuoUiTheme_makeGroup (VuoList_VuoUiTheme elements)
 Creates a theme group containing elements. More...
 
VuoUiThemeBaseVuoUiTheme_getSpecificTheme (VuoUiTheme theme, std::string type)
 Returns a specialized subclass of type. More...
 

Function Documentation

◆ VuoSerializableRegister()

VuoSerializableRegister ( VuoUiThemeGroup  )

Register with base class.

◆ VuoUiTheme_getSpecificTheme()

VuoUiThemeBase* VuoUiTheme_getSpecificTheme ( VuoUiTheme  theme,
std::string  type 
)

Returns a specialized subclass of type.

  • If theme's type begins with type, returns theme.
  • If theme is a group, returns the first item in the group whose type begins with type.
  • Otherwise creates a new Rounded instance of type.

For this class set, "begins with" is defined to be a synonym for "is a subclass of".

Definition at line 133 of file VuoUiThemeGroup.cc.