Vuo 2.4.4
|
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. | |
Functions | |
VuoUiTheme | VuoUiTheme_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoUiTheme_getJson (const VuoUiTheme value) |
Encodes value as a JSON object. | |
char * | VuoUiTheme_getSummary (const VuoUiTheme value) |
Returns a compact string representation of value . | |
VuoUiTheme | VuoUiTheme_makeGroup (VuoList_VuoUiTheme elements) |
Creates a theme group containing elements . | |
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. | |
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. | |
VuoUiTheme | VuoUiTheme_makeTextFieldRounded (VuoFont font, VuoAnchor textAnchor, VuoPoint2d textPadding, VuoColor textColor, VuoColor textColorHovered, VuoColor textColorActive, VuoColor backgroundColor, VuoColor backgroundColorHovered, VuoColor backgroundColorActive, VuoColor borderColor, VuoColor borderColorHovered, VuoColor borderColorActive, VuoReal borderThickness, VuoColor cursorColor, VuoColor selectionColor, VuoReal cornerRoundness) |
Creates a theme for text/number field widgets, with the rounded style. | |
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. | |
bool | VuoUiTheme_areEqual (const VuoUiTheme valueA, const VuoUiTheme valueB) |
Returns true if the two values are equal. | |
bool | VuoUiTheme_isLessThan (const VuoUiTheme valueA, const VuoUiTheme valueB) |
Returns true if a sorts before b . | |
char * | VuoUiTheme_getString (const VuoUiTheme value) |
Automatically generated function. | |
void | VuoUiTheme_retain (VuoUiTheme value) |
Automatically generated function. | |
void | VuoUiTheme_release (VuoUiTheme value) |
Automatically generated function. | |
#define VuoUiTheme_SUPPORTS_COMPARISON |
Definition at line 38 of file VuoUiTheme.h.
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 68 of file VuoUiTheme.cc.
struct json_object * VuoUiTheme_getJson | ( | const VuoUiTheme | value | ) |
Encodes value
as a JSON object.
Definition at line 50 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 59 of file VuoUiTheme.cc.
bool VuoUiTheme_isLessThan | ( | const VuoUiTheme | valueA, |
const VuoUiTheme | valueB | ||
) |
Returns true if a
sorts before b
.
Definition at line 81 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 332 of file VuoUiThemeButtonRounded.cc.
VuoUiTheme VuoUiTheme_makeFromJson | ( | struct json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 42 of file VuoUiTheme.cc.
VuoUiTheme VuoUiTheme_makeGroup | ( | VuoList_VuoUiTheme | elements | ) |
Creates a theme group containing elements
.
Definition at line 116 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 588 of file VuoUiThemeSliderRounded.cc.
VuoUiTheme VuoUiTheme_makeTextFieldRounded | ( | VuoFont | font, |
VuoAnchor | textAnchor, | ||
VuoPoint2d | textPadding, | ||
VuoColor | textColor, | ||
VuoColor | textColorHovered, | ||
VuoColor | textColorActive, | ||
VuoColor | backgroundColor, | ||
VuoColor | backgroundColorHovered, | ||
VuoColor | backgroundColorActive, | ||
VuoColor | borderColor, | ||
VuoColor | borderColorHovered, | ||
VuoColor | borderColorActive, | ||
VuoReal | borderThickness, | ||
VuoColor | cursorColor, | ||
VuoColor | selectionColor, | ||
VuoReal | cornerRoundness | ||
) |
Creates a theme for text/number field widgets, with the rounded style.
Definition at line 508 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 471 of file VuoUiThemeToggleRounded.cc.
void VuoUiTheme_release | ( | VuoUiTheme | value | ) |
Automatically generated function.
void VuoUiTheme_retain | ( | VuoUiTheme | value | ) |
Automatically generated function.