Vuo
2.0.3
|
A visual style for UI widgets.
Classes | |
struct | VuoUiTheme_struct |
A visual style for UI widgets. More... | |
Typedefs | |
typedef const struct VuoUiTheme_struct * | VuoUiTheme |
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_object * | VuoUiTheme_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... | |
typedef const struct VuoUiTheme_struct * VuoUiTheme |
A visual style for UI widgets.
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.
struct json_object* VuoUiTheme_getJson | ( | const VuoUiTheme | value | ) |
Encodes value
as a JSON object.
Definition at line 51 of file VuoUiTheme.cc.
char* VuoUiTheme_getString | ( | const VuoUiTheme | value | ) |
Automatically generated function.
char* VuoUiTheme_getSummary | ( | const VuoUiTheme | value | ) |
Returns a compact string representation of value
.
Definition at line 60 of file VuoUiTheme.cc.
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 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 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 VuoUiTheme_makeFromString | ( | const char * | str | ) |
Automatically generated function.
VuoUiTheme VuoUiTheme_makeGroup | ( | VuoList_VuoUiTheme | elements | ) |
Creates a theme group containing elements
.
Definition at line 119 of file VuoUiThemeGroup.cc.
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 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 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.
void VuoUiTheme_release | ( | VuoUiTheme | value | ) |
Automatically generated function.
void VuoUiTheme_retain | ( | VuoUiTheme | value | ) |
Automatically generated function.