Color tokens for Select.
More...
#include <Malena/Traits/Theme/SelectTheme.h>
|
| sf::Color | arrowColor = sf::Color(180, 180, 180) |
| sf::Color | bgDisabled = sf::Color(30, 30, 30) |
| sf::Color | bgFocused = sf::Color(50, 50, 50) |
| sf::Color | bgHovered = sf::Color(55, 55, 55) |
| sf::Color | bgIdle = sf::Color(40, 40, 40) |
| sf::Color | bgOpen = sf::Color(50, 50, 50) |
| sf::Color | borderDisabled = sf::Color(60, 60, 60) |
| sf::Color | borderError = sf::Color(220, 70, 70) |
| sf::Color | borderFocused = sf::Color(70, 130, 230) |
| sf::Color | borderIdle = sf::Color(100, 100, 100) |
| sf::Color | borderOpen = sf::Color(70, 130, 230) |
| float | borderThickness = 1.5f |
| 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 | itemDescColor = sf::Color(150, 150, 150) |
| sf::Color | itemDisabledColor = sf::Color(80, 80, 80) |
| sf::Color | itemHoverBg = sf::Color(70, 70, 70) |
| sf::Color | itemLabelColor = sf::Color::White |
| sf::Color | itemSelectedBg = sf::Color(70, 130, 230, 80) |
| sf::Color | labelColor = sf::Color::White |
| sf::Color | labelDisabled = sf::Color(80, 80, 80) |
| sf::Color | mutedColor = sf::Color(120, 120, 120) |
| sf::Color | outlineColor = sf::Color(100, 100, 100) |
| float | outlineThickness = 1.5f |
| float | padding = 8.f |
| sf::Color | panelBg = sf::Color(45, 45, 45) |
| sf::Color | panelBorder = sf::Color(80, 80, 80) |
| float | panelBorderThick = 1.f |
| sf::Color | placeholderColor = sf::Color(120, 120, 120) |
| float | radius = 8.f |
| sf::Color | textColor = sf::Color::White |
Color tokens for Select.
Extends InputTheme with trigger hover/open states, arrow color, and all dropdown panel colors.
- See also
- InputTheme, SelectSettings, SelectStyle, Select
Definition at line 24 of file SelectTheme.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::InputTheme.
Definition at line 46 of file SelectTheme.h.
◆ getArrowColor()
| sf::Color ml::SelectTheme::getArrowColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBgDisabled()
| sf::Color ml::InputTheme::getBgDisabled |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgFocused()
| sf::Color ml::InputTheme::getBgFocused |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgHovered()
| sf::Color ml::SelectTheme::getBgHovered |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBgIdle()
| sf::Color ml::InputTheme::getBgIdle |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBgOpen()
| sf::Color ml::SelectTheme::getBgOpen |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBorderDisabled()
| sf::Color ml::InputTheme::getBorderDisabled |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBorderError()
| sf::Color ml::InputTheme::getBorderError |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBorderFocused()
| sf::Color ml::InputTheme::getBorderFocused |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBorderIdle()
| sf::Color ml::InputTheme::getBorderIdle |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getBorderOpen()
| sf::Color ml::SelectTheme::getBorderOpen |
( |
| ) |
const |
|
inlinenodiscard |
◆ getBorderThickness()
| float ml::InputTheme::getBorderThickness |
( |
| ) |
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 |
◆ getItemDescColor()
| sf::Color ml::SelectTheme::getItemDescColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getItemDisabledColor()
| sf::Color ml::SelectTheme::getItemDisabledColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getItemHoverBg()
| sf::Color ml::SelectTheme::getItemHoverBg |
( |
| ) |
const |
|
inlinenodiscard |
◆ getItemLabelColor()
| sf::Color ml::SelectTheme::getItemLabelColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getItemSelectedBg()
| sf::Color ml::SelectTheme::getItemSelectedBg |
( |
| ) |
const |
|
inlinenodiscard |
◆ getLabelColor()
| sf::Color ml::SelectTheme::getLabelColor |
( |
| ) |
const |
|
inlinenodiscard |
◆ getLabelDisabled()
| sf::Color ml::SelectTheme::getLabelDisabled |
( |
| ) |
const |
|
inlinenodiscard |
◆ getMutedColor()
| sf::Color ml::ControlTheme::getMutedColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getOutlineColor()
| sf::Color ml::GraphicTheme::getOutlineColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getOutlineThickness()
| float ml::GraphicTheme::getOutlineThickness |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getPadding()
| float ml::ControlTheme::getPadding |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getPanelBg()
| sf::Color ml::SelectTheme::getPanelBg |
( |
| ) |
const |
|
inlinenodiscard |
◆ getPanelBorder()
| sf::Color ml::SelectTheme::getPanelBorder |
( |
| ) |
const |
|
inlinenodiscard |
◆ getPanelBorderThick()
| float ml::SelectTheme::getPanelBorderThick |
( |
| ) |
const |
|
inlinenodiscard |
◆ getPlaceholderColor()
| sf::Color ml::InputTheme::getPlaceholderColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getRadius()
| float ml::GraphicTheme::getRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getTextColor()
| sf::Color ml::ControlTheme::getTextColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ setArrowColor()
| void ml::SelectTheme::setArrowColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBgDisabled()
| void ml::InputTheme::setBgDisabled |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBgFocused()
| void ml::InputTheme::setBgFocused |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBgHovered()
| void ml::SelectTheme::setBgHovered |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBgIdle()
| void ml::InputTheme::setBgIdle |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBgOpen()
| void ml::SelectTheme::setBgOpen |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBorderDisabled()
| void ml::InputTheme::setBorderDisabled |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBorderError()
| void ml::InputTheme::setBorderError |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBorderFocused()
| void ml::InputTheme::setBorderFocused |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBorderIdle()
| void ml::InputTheme::setBorderIdle |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setBorderOpen()
| void ml::SelectTheme::setBorderOpen |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setBorderThickness()
| void ml::InputTheme::setBorderThickness |
( |
float | t | ) |
|
|
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 |
◆ setItemDescColor()
| void ml::SelectTheme::setItemDescColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setItemDisabledColor()
| void ml::SelectTheme::setItemDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setItemHoverBg()
| void ml::SelectTheme::setItemHoverBg |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setItemLabelColor()
| void ml::SelectTheme::setItemLabelColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setItemSelectedBg()
| void ml::SelectTheme::setItemSelectedBg |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setLabelColor()
| void ml::SelectTheme::setLabelColor |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setLabelDisabled()
| void ml::SelectTheme::setLabelDisabled |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setMutedColor()
| void ml::ControlTheme::setMutedColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setOutlineColor()
| void ml::GraphicTheme::setOutlineColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setOutlineThickness()
| void ml::GraphicTheme::setOutlineThickness |
( |
float | t | ) |
|
|
inlineinherited |
◆ setPadding()
| void ml::ControlTheme::setPadding |
( |
float | p | ) |
|
|
inlineinherited |
◆ setPanelBg()
| void ml::SelectTheme::setPanelBg |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setPanelBorder()
| void ml::SelectTheme::setPanelBorder |
( |
const sf::Color & | c | ) |
|
|
inline |
◆ setPanelBorderThick()
| void ml::SelectTheme::setPanelBorderThick |
( |
float | t | ) |
|
|
inline |
◆ setPlaceholderColor()
| void ml::InputTheme::setPlaceholderColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setRadius()
| void ml::GraphicTheme::setRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setTextColor()
| void ml::ControlTheme::setTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ arrowColor
◆ bgDisabled
◆ bgFocused
◆ bgHovered
◆ bgIdle
◆ bgOpen
◆ borderDisabled
◆ borderError
◆ borderFocused
◆ borderIdle
◆ borderOpen
◆ borderThickness
| float ml::InputTheme::borderThickness = 1.5f |
|
inherited |
◆ disabledColor
◆ disabledTextColor
◆ errorColor
◆ fillColor
◆ focusColor
◆ font
◆ fontSize
| unsigned int ml::ControlTheme::fontSize = 14 |
|
inherited |
◆ fontSizeSmall
| unsigned int ml::ControlTheme::fontSizeSmall = 11 |
|
inherited |
◆ hoverColor
◆ itemDescColor
◆ itemDisabledColor
◆ itemHoverBg
◆ itemLabelColor
◆ itemSelectedBg
◆ labelColor
◆ labelDisabled
◆ mutedColor
◆ outlineColor
◆ outlineThickness
| float ml::GraphicTheme::outlineThickness = 1.5f |
|
inherited |
◆ padding
| float ml::ControlTheme::padding = 8.f |
|
inherited |
◆ panelBg
◆ panelBorder
◆ panelBorderThick
| float ml::SelectTheme::panelBorderThick = 1.f |
◆ placeholderColor
◆ radius
| float ml::GraphicTheme::radius = 8.f |
|
inherited |
◆ textColor
The documentation for this struct was generated from the following file: