Vuo  2.0.0
Classes | Macros | Typedefs | Functions
VuoUiTheme

Description

A visual style for UI widgets.

Classes

struct  VuoUiTheme_struct
 A visual style for UI widgets. More...
 

Typedefs

typedef const struct VuoUiTheme_structVuoUiTheme
 A visual style for UI widgets. More...
 

Functions

VuoUiTheme VuoUiTheme_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value. More...
 
struct json_objectVuoUiTheme_getJson (const VuoUiTheme value)
 Encodes value as a JSON object. More...
 
char * VuoUiTheme_getSummary (const VuoUiTheme value)
 Returns a compact string representation of value. More...
 
VuoUiTheme VuoUiTheme_makeGroup (VuoList_VuoUiTheme elements)
 Creates a theme group containing elements. More...
 
VuoUiTheme VuoUiTheme_makeButtonRounded (VuoReal minimumWidth, VuoReal minimumHeight, VuoFont labelFont, VuoAnchor labelAnchor, VuoPoint2d labelPadding, VuoColor labelColor, VuoColor labelColorHovered, VuoColor labelColorPressed, VuoColor backgroundColor, VuoColor backgroundColorHovered, VuoColor backgroundColorPressed, VuoColor borderColor, VuoColor borderColorHovered, VuoColor borderColorPressed, VuoReal borderThickness, VuoReal cornerRoundness)
 Creates a theme for button widgets, with the rounded style. More...
 
VuoUiTheme VuoUiTheme_makeToggleRounded (VuoFont labelFont, VuoColor labelColor, VuoColor labelColorHovered, VuoColor labelColorPressed, VuoColor labelColorToggled, VuoColor labelColorToggledAndHovered, VuoColor checkmarkColor, VuoColor checkmarkColorHovered, VuoColor checkmarkColorPressed, VuoColor checkmarkBorderColor, VuoColor checkmarkBorderColorHovered, VuoColor checkmarkBorderColorPressed, VuoColor checkboxBackgroundColor, VuoColor checkboxBackgroundColorHovered, VuoColor checkboxBackgroundColorPressed, VuoColor checkboxBackgroundColorToggled, VuoColor checkboxBackgroundColorToggledAndHovered, VuoColor checkboxBorderColor, VuoColor checkboxBorderColorHovered, VuoColor checkboxBorderColorPressed, VuoColor checkboxBorderColorToggled, VuoColor checkboxBorderColorToggledAndHovered, VuoReal checkboxBorderThickness, VuoReal checkboxCornerRoundness, VuoReal marginBetweenCheckboxAndLabel)
 Creates a theme for toggle widgets, with the rounded style. More...
 
VuoUiTheme VuoUiTheme_makeTextFieldRounded (VuoFont labelFont, VuoFont placeholderFont, VuoAnchor labelAnchor, VuoPoint2d labelPadding, VuoColor color, VuoColor hoveredColor, VuoColor pressedColor, VuoColor borderColor, VuoReal borderThickness, VuoReal cornerRoundness)
 Creates a theme for text/number field widgets, with the rounded style. More...
 
VuoUiTheme VuoUiTheme_makeSliderRounded (VuoFont labelFont, VuoColor labelColor, VuoColor labelColorHovered, VuoReal handleWidth, VuoReal handleHeight, VuoReal handleBorderThickness, VuoReal handleCornerRoundness, VuoColor handleColor, VuoColor handleColorHovered, VuoColor handleColorPressed, VuoColor handleBorderColor, VuoColor handleBorderColorHovered, VuoColor handleBorderColorPressed, VuoReal trackDepth, VuoReal trackBorderThickness, VuoReal trackCornerRoundness, VuoColor activeTrackColor, VuoColor activeTrackColorHovered, VuoColor activeTrackBorderColor, VuoColor activeTrackBorderColorHovered, VuoColor inactiveTrackColor, VuoColor inactiveTrackColorHovered, VuoColor inactiveTrackBorderColor, VuoColor inactiveTrackBorderColorHovered, VuoReal marginBetweenTrackAndLabel)
 Creates a theme for button widgets, with the rounded style. More...
 
bool VuoUiTheme_areEqual (const VuoUiTheme valueA, const VuoUiTheme valueB)
 Returns true if the two values are equal. More...
 
bool VuoUiTheme_isLessThan (const VuoUiTheme valueA, const VuoUiTheme valueB)
 Returns true if a sorts before b. More...
 
VuoUiTheme VuoUiTheme_makeFromString (const char *str)
 Automatically generated function. More...
 
char * VuoUiTheme_getString (const VuoUiTheme value)
 Automatically generated function. More...
 
void VuoUiTheme_retain (VuoUiTheme value)
 Automatically generated function. More...
 
void VuoUiTheme_release (VuoUiTheme value)
 Automatically generated function. More...
 

Class Documentation

◆ VuoUiTheme_struct

struct VuoUiTheme_struct
Class Members
void * l

Typedef Documentation

◆ VuoUiTheme

typedef const struct VuoUiTheme_struct * VuoUiTheme

A visual style for UI widgets.

Function Documentation

◆ VuoUiTheme_areEqual()

bool VuoUiTheme_areEqual ( const VuoUiTheme  valueA,
const VuoUiTheme  valueB 
)

Returns true if the two values are equal.

Definition at line 69 of file VuoUiTheme.cc.

◆ VuoUiTheme_getJson()

struct json_object* VuoUiTheme_getJson ( const VuoUiTheme  value)

Encodes value as a JSON object.

Definition at line 51 of file VuoUiTheme.cc.

◆ VuoUiTheme_getString()

char* VuoUiTheme_getString ( const VuoUiTheme  value)

Automatically generated function.

◆ VuoUiTheme_getSummary()

char* VuoUiTheme_getSummary ( const VuoUiTheme  value)

Returns a compact string representation of value.

Definition at line 60 of file VuoUiTheme.cc.

◆ VuoUiTheme_isLessThan()

bool VuoUiTheme_isLessThan ( const VuoUiTheme  valueA,
const VuoUiTheme  valueB 
)

Returns true if a sorts before b.

Definition at line 82 of file VuoUiTheme.cc.

◆ VuoUiTheme_makeButtonRounded()

VuoUiTheme VuoUiTheme_makeButtonRounded ( VuoReal  minimumWidth,
VuoReal  minimumHeight,
VuoFont  labelFont,
VuoAnchor  labelAnchor,
VuoPoint2d  labelPadding,
VuoColor  labelColor,
VuoColor  labelColorHovered,
VuoColor  labelColorPressed,
VuoColor  backgroundColor,
VuoColor  backgroundColorHovered,
VuoColor  backgroundColorPressed,
VuoColor  borderColor,
VuoColor  borderColorHovered,
VuoColor  borderColorPressed,
VuoReal  borderThickness,
VuoReal  cornerRoundness 
)

Creates a theme for button widgets, with the rounded style.

Definition at line 333 of file VuoUiThemeButtonRounded.cc.

◆ VuoUiTheme_makeFromJson()

VuoUiTheme VuoUiTheme_makeFromJson ( struct json_object js)

Decodes the JSON object js to create a new value.

Definition at line 43 of file VuoUiTheme.cc.

◆ VuoUiTheme_makeFromString()

VuoUiTheme VuoUiTheme_makeFromString ( const char *  str)

Automatically generated function.

◆ VuoUiTheme_makeGroup()

VuoUiTheme VuoUiTheme_makeGroup ( VuoList_VuoUiTheme  elements)

Creates a theme group containing elements.

Definition at line 119 of file VuoUiThemeGroup.cc.

◆ VuoUiTheme_makeSliderRounded()

VuoUiTheme VuoUiTheme_makeSliderRounded ( VuoFont  labelFont,
VuoColor  labelColor,
VuoColor  labelColorHovered,
VuoReal  handleWidth,
VuoReal  handleHeight,
VuoReal  handleBorderThickness,
VuoReal  handleCornerRoundness,
VuoColor  handleColor,
VuoColor  handleColorHovered,
VuoColor  handleColorPressed,
VuoColor  handleBorderColor,
VuoColor  handleBorderColorHovered,
VuoColor  handleBorderColorPressed,
VuoReal  trackDepth,
VuoReal  trackBorderThickness,
VuoReal  trackCornerRoundness,
VuoColor  activeTrackColor,
VuoColor  activeTrackColorHovered,
VuoColor  activeTrackBorderColor,
VuoColor  activeTrackBorderColorHovered,
VuoColor  inactiveTrackColor,
VuoColor  inactiveTrackColorHovered,
VuoColor  inactiveTrackBorderColor,
VuoColor  inactiveTrackBorderColorHovered,
VuoReal  marginBetweenTrackAndLabel 
)

Creates a theme for button widgets, with the rounded style.

Definition at line 590 of file VuoUiThemeSliderRounded.cc.

◆ VuoUiTheme_makeTextFieldRounded()

VuoUiTheme VuoUiTheme_makeTextFieldRounded ( VuoFont  labelFont,
VuoFont  placeholderFont,
VuoAnchor  labelAnchor,
VuoPoint2d  labelPadding,
VuoColor  color,
VuoColor  hoveredColor,
VuoColor  pressedColor,
VuoColor  borderColor,
VuoReal  borderThickness,
VuoReal  cornerRoundness 
)

Creates a theme for text/number field widgets, with the rounded style.

Definition at line 442 of file VuoUiThemeTextFieldRounded.cc.

◆ VuoUiTheme_makeToggleRounded()

VuoUiTheme VuoUiTheme_makeToggleRounded ( VuoFont  labelFont,
VuoColor  labelColor,
VuoColor  labelColorHovered,
VuoColor  labelColorPressed,
VuoColor  labelColorToggled,
VuoColor  labelColorToggledAndHovered,
VuoColor  checkmarkColor,
VuoColor  checkmarkColorHovered,
VuoColor  checkmarkColorPressed,
VuoColor  checkmarkBorderColor,
VuoColor  checkmarkBorderColorHovered,
VuoColor  checkmarkBorderColorPressed,
VuoColor  checkboxBackgroundColor,
VuoColor  checkboxBackgroundColorHovered,
VuoColor  checkboxBackgroundColorPressed,
VuoColor  checkboxBackgroundColorToggled,
VuoColor  checkboxBackgroundColorToggledAndHovered,
VuoColor  checkboxBorderColor,
VuoColor  checkboxBorderColorHovered,
VuoColor  checkboxBorderColorPressed,
VuoColor  checkboxBorderColorToggled,
VuoColor  checkboxBorderColorToggledAndHovered,
VuoReal  checkboxBorderThickness,
VuoReal  checkboxCornerRoundness,
VuoReal  marginBetweenCheckboxAndLabel 
)

Creates a theme for toggle widgets, with the rounded style.

Definition at line 472 of file VuoUiThemeToggleRounded.cc.

◆ VuoUiTheme_release()

void VuoUiTheme_release ( VuoUiTheme  value)

Automatically generated function.

◆ VuoUiTheme_retain()

void VuoUiTheme_retain ( VuoUiTheme  value)

Automatically generated function.