Color and font tokens for Checkbox.
More...
#include <Malena/Traits/Theme/CheckboxTheme.h>
|
| sf::Color | boxCheckedColor = sf::Color(70, 130, 230) |
| sf::Color | boxColor = sf::Color(60, 60, 60) |
| sf::Color | boxDisabledColor = sf::Color(180, 180, 180) |
| sf::Color | boxHoverColor = sf::Color(80, 80, 80) |
| sf::Color | checkColor = sf::Color::White |
| sf::Color | checkDisabledColor = sf::Color(220, 220, 220) |
| sf::Color | disabledColor = sf::Color(60, 60, 60) |
| sf::Color | disabledTextColor = sf::Color(120, 120, 120) |
| sf::Color | errorColor = sf::Color(220, 70, 70) |
| sf::Color | fillColor = sf::Color(40, 40, 40) |
| sf::Color | focusColor = sf::Color(100, 60, 200) |
| const sf::Font * | font = &FontManager<>::getDefault() |
| unsigned int | fontSize = 14 |
| unsigned int | fontSizeSmall = 11 |
| sf::Color | hoverColor = sf::Color(70, 130, 230) |
| sf::Color | labelColor = sf::Color::White |
| sf::Color | labelDisabledColor = sf::Color(160, 160, 160) |
| sf::Color | mutedColor = sf::Color(120, 120, 120) |
| sf::Color | outlineColor = sf::Color(120, 120, 120) |
| float | outlineThickness = 1.5f |
| float | padding = 8.f |
| float | radius = 8.f |
| sf::Color | textColor = sf::Color::White |
Color and font tokens for Checkbox.
Geometry lives in CheckboxSettings.
- See also
- ControlTheme, CheckboxSettings, CheckboxStyle, Checkbox
Definition at line 23 of file CheckboxTheme.h.
◆ applyFrom()
Populate all fields from the global Theme token set.
Subclasses call GraphicTheme::applyFrom(t) first, then apply their own token mappings.
Reimplemented from ml::GraphicTheme.
Definition at line 37 of file CheckboxTheme.h.
◆ getBoxCheckedColor()
| sf::Color ml::CheckboxTheme::getBoxCheckedColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBoxColor()
| sf::Color ml::CheckboxTheme::getBoxColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBoxDisabledColor()
| sf::Color ml::CheckboxTheme::getBoxDisabledColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBoxHoverColor()
| sf::Color ml::CheckboxTheme::getBoxHoverColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getCheckColor()
| sf::Color ml::CheckboxTheme::getCheckColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getCheckDisabledColor()
| sf::Color ml::CheckboxTheme::getCheckDisabledColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getDisabledColor()
| sf::Color ml::ControlTheme::getDisabledColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getDisabledTextColor()
| sf::Color ml::ControlTheme::getDisabledTextColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getErrorColor()
| sf::Color ml::ControlTheme::getErrorColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getFillColor()
| sf::Color ml::GraphicTheme::getFillColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getFocusColor()
| sf::Color ml::ControlTheme::getFocusColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getFont()
| const sf::Font * ml::ControlTheme::getFont |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getFontSize()
| unsigned int ml::ControlTheme::getFontSize |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getFontSizeSmall()
| unsigned int ml::ControlTheme::getFontSizeSmall |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getHoverColor()
| sf::Color ml::ControlTheme::getHoverColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getLabelColor()
| sf::Color ml::CheckboxTheme::getLabelColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getLabelDisabledColor()
| sf::Color ml::CheckboxTheme::getLabelDisabledColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getMutedColor()
| sf::Color ml::ControlTheme::getMutedColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getOutlineColor()
| sf::Color ml::CheckboxTheme::getOutlineColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getOutlineThickness()
| float ml::GraphicTheme::getOutlineThickness |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getPadding()
| float ml::ControlTheme::getPadding |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getRadius()
| float ml::GraphicTheme::getRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getTextColor()
| sf::Color ml::ControlTheme::getTextColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setBoxCheckedColor()
| void ml::CheckboxTheme::setBoxCheckedColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBoxColor()
| void ml::CheckboxTheme::setBoxColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBoxDisabledColor()
| void ml::CheckboxTheme::setBoxDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBoxHoverColor()
| void ml::CheckboxTheme::setBoxHoverColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setCheckColor()
| void ml::CheckboxTheme::setCheckColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setCheckDisabledColor()
| void ml::CheckboxTheme::setCheckDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setDisabledColor()
| void ml::ControlTheme::setDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setDisabledTextColor()
| void ml::ControlTheme::setDisabledTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setErrorColor()
| void ml::ControlTheme::setErrorColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setFillColor()
| void ml::GraphicTheme::setFillColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setFocusColor()
| void ml::ControlTheme::setFocusColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setFont() [1/2]
| void ml::ControlTheme::setFont |
( |
const sf::Font && | | ) |
|
|
deleteinherited |
◆ setFont() [2/2]
| void ml::ControlTheme::setFont |
( |
const sf::Font & | f | ) |
|
|
inlineinherited |
◆ setFontSize()
| void ml::ControlTheme::setFontSize |
( |
unsigned int | s | ) |
|
|
inlineinherited |
◆ setFontSizeSmall()
| void ml::ControlTheme::setFontSizeSmall |
( |
unsigned int | s | ) |
|
|
inlineinherited |
◆ setHoverColor()
| void ml::ControlTheme::setHoverColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setLabelColor()
| void ml::CheckboxTheme::setLabelColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setLabelDisabledColor()
| void ml::CheckboxTheme::setLabelDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setMutedColor()
| void ml::ControlTheme::setMutedColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setOutlineColor()
| void ml::CheckboxTheme::setOutlineColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setOutlineThickness()
| void ml::GraphicTheme::setOutlineThickness |
( |
float | t | ) |
|
|
inlineinherited |
◆ setPadding()
| void ml::ControlTheme::setPadding |
( |
float | p | ) |
|
|
inlineinherited |
◆ setRadius()
| void ml::GraphicTheme::setRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setTextColor()
| void ml::ControlTheme::setTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ boxCheckedColor
◆ boxColor
◆ boxDisabledColor
◆ boxHoverColor
◆ checkColor
◆ checkDisabledColor
◆ disabledColor
◆ disabledTextColor
◆ errorColor
◆ fillColor
◆ focusColor
◆ font
◆ fontSize
| unsigned int ml::ControlTheme::fontSize = 14 |
|
inherited |
◆ fontSizeSmall
| unsigned int ml::ControlTheme::fontSizeSmall = 11 |
|
inherited |
◆ hoverColor
◆ labelColor
◆ labelDisabledColor
◆ mutedColor
◆ outlineColor
◆ outlineThickness
| float ml::GraphicTheme::outlineThickness = 1.5f |
|
inherited |
◆ padding
| float ml::ControlTheme::padding = 8.f |
|
inherited |
◆ radius
| float ml::GraphicTheme::radius = 8.f |
|
inherited |
◆ textColor
The documentation for this struct was generated from the following file: