Vuo  2.3.2
Classes | Functions
VuoUiThemeBase.hh File Reference

Description

VuoUiThemeBase class definition.

Definition in file VuoUiThemeBase.hh.

Go to the source code of this file.

Classes

class  VuoUiThemeBase
 Common ancestor of all VuoUiTheme objects. More...
 
class  VuoUiThemeButton
 Theme for the button widget. More...
 
class  VuoUiThemeToggle
 Theme for the toggle widget. More...
 
class  VuoUiThemeTextField
 Theme for the text/number widget. More...
 
class  VuoUiThemeSlider
 Theme for the slider widget. More...
 

Functions

VuoUiThemeBaseVuoUiTheme_getSpecificTheme (VuoUiTheme theme, std::string type)
 Returns a specialized subclass of type. More...
 

Function Documentation

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