#include <Malena/Traits/Style/CheckboxStyle.h>
|
| sf::Color | bgColor = sf::Color::Transparent |
| sf::Color | bgOutlineColor = sf::Color::Transparent |
| float | bgOutlineThickness = 0.f |
| float | bgRadius = 0.f |
| 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) |
| float | boxRadius = 2.f |
| float | boxSize = 16.f |
| 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) |
| float | labelOffset = 8.f |
| 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 |
| bool | showBackground = false |
| float | spacing = 28.f |
| sf::Color | textColor = sf::Color::White |
Definition at line 44 of file CheckboxStyle.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 64 of file CheckboxStyle.h.
◆ getBgColor()
| sf::Color ml::CheckboxGroupTheme::getBgColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgOutlineColor()
| sf::Color ml::CheckboxGroupTheme::getBgOutlineColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgOutlineThickness()
| float ml::CheckboxGroupSettings::getBgOutlineThickness |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgRadius()
| float ml::CheckboxGroupSettings::getBgRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxCheckedColor()
| sf::Color ml::CheckboxTheme::getBoxCheckedColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxColor()
| sf::Color ml::CheckboxTheme::getBoxColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxDisabledColor()
| sf::Color ml::CheckboxTheme::getBoxDisabledColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxHoverColor()
| sf::Color ml::CheckboxTheme::getBoxHoverColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxRadius()
| float ml::CheckboxSettings::getBoxRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBoxSize()
| float ml::CheckboxSettings::getBoxSize |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getCheckColor()
| sf::Color ml::CheckboxTheme::getCheckColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getCheckDisabledColor()
| sf::Color ml::CheckboxTheme::getCheckDisabledColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ 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 |
|
inlinenodiscardinherited |
◆ getLabelDisabledColor()
| sf::Color ml::CheckboxTheme::getLabelDisabledColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getLabelOffset()
| float ml::CheckboxSettings::getLabelOffset |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getMutedColor()
| sf::Color ml::ControlTheme::getMutedColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getOutlineColor()
| sf::Color ml::CheckboxTheme::getOutlineColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getOutlineThickness()
| float ml::GraphicTheme::getOutlineThickness |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getPadding()
| float ml::ControlTheme::getPadding |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getRadius()
| float ml::GraphicTheme::getRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getShowBackground()
| bool ml::CheckboxGroupSettings::getShowBackground |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getSpacing()
| float ml::CheckboxGroupSettings::getSpacing |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getTextColor()
| sf::Color ml::ControlTheme::getTextColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ operator=() [1/6]
◆ operator=() [2/6]
◆ operator=() [3/6]
◆ operator=() [4/6]
◆ operator=() [5/6]
◆ operator=() [6/6]
◆ setBgColor()
| void ml::CheckboxGroupTheme::setBgColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBgOutlineColor()
| void ml::CheckboxGroupTheme::setBgOutlineColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBgOutlineThickness()
| void ml::CheckboxGroupSettings::setBgOutlineThickness |
( |
float | t | ) |
|
|
inlineinherited |
◆ setBgRadius()
| void ml::CheckboxGroupSettings::setBgRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setBoxCheckedColor()
| void ml::CheckboxTheme::setBoxCheckedColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBoxColor()
| void ml::CheckboxTheme::setBoxColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBoxDisabledColor()
| void ml::CheckboxTheme::setBoxDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBoxHoverColor()
| void ml::CheckboxTheme::setBoxHoverColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBoxRadius()
| void ml::CheckboxSettings::setBoxRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setBoxSize()
| void ml::CheckboxSettings::setBoxSize |
( |
float | s | ) |
|
|
inlineinherited |
◆ setCheckColor()
| void ml::CheckboxTheme::setCheckColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setCheckDisabledColor()
| void ml::CheckboxTheme::setCheckDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ 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 | ) |
|
|
inlineinherited |
◆ setLabelDisabledColor()
| void ml::CheckboxTheme::setLabelDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setLabelOffset()
| void ml::CheckboxSettings::setLabelOffset |
( |
float | o | ) |
|
|
inlineinherited |
◆ setMutedColor()
| void ml::ControlTheme::setMutedColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setOutlineColor()
| void ml::CheckboxTheme::setOutlineColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setOutlineThickness()
| void ml::GraphicTheme::setOutlineThickness |
( |
float | t | ) |
|
|
inlineinherited |
◆ setPadding()
| void ml::ControlTheme::setPadding |
( |
float | p | ) |
|
|
inlineinherited |
◆ setRadius()
| void ml::GraphicTheme::setRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setShowBackground()
| void ml::CheckboxGroupSettings::setShowBackground |
( |
bool | b | ) |
|
|
inlineinherited |
◆ setSpacing()
| void ml::CheckboxGroupSettings::setSpacing |
( |
float | s | ) |
|
|
inlineinherited |
◆ setTextColor()
| void ml::ControlTheme::setTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ bgColor
◆ bgOutlineColor
◆ bgOutlineThickness
| float ml::CheckboxGroupSettings::bgOutlineThickness = 0.f |
|
inherited |
◆ bgRadius
| float ml::CheckboxGroupSettings::bgRadius = 0.f |
|
inherited |
◆ boxCheckedColor
◆ boxColor
◆ boxDisabledColor
◆ boxHoverColor
◆ boxRadius
| float ml::CheckboxSettings::boxRadius = 2.f |
|
inherited |
◆ boxSize
| float ml::CheckboxSettings::boxSize = 16.f |
|
inherited |
◆ 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
◆ labelOffset
| float ml::CheckboxSettings::labelOffset = 8.f |
|
inherited |
◆ 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 |
◆ showBackground
| bool ml::CheckboxGroupSettings::showBackground = false |
|
inherited |
◆ spacing
| float ml::CheckboxGroupSettings::spacing = 28.f |
|
inherited |
◆ textColor
The documentation for this struct was generated from the following file: