#include <Malena/Traits/Style/MenuBarStyle.h>
|
| bool | autoFillWidth = true |
| sf::Color | barBg = sf::Color(28, 28, 36) |
| float | barHeight = 30.f |
| sf::Color | checkmarkColor = sf::Color(70, 130, 230) |
| sf::Color | disabledColor = sf::Color(60, 60, 60) |
| sf::Color | disabledTextColor = sf::Color(120, 120, 120) |
| sf::Color | dropdownBg = sf::Color(35, 35, 45) |
| sf::Color | dropdownBorder = sf::Color(70, 70, 90) |
| float | dropdownBorderThk = 1.f |
| float | dropdownItemH = 28.f |
| | height of each dropdown row
|
| float | dropdownMinW = 180.f |
| sf::Color | entryHoverBg = sf::Color(255, 255, 255, 20) |
| sf::Color | entryOpenBg = sf::Color(255, 255, 255, 30) |
| float | entryPadding = 14.f |
| | horizontal padding per entry label
|
| 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 | itemDisabledColor = sf::Color(100, 100, 120) |
| sf::Color | itemHoverBg = sf::Color(70, 130, 230, 60) |
| float | leftInset = 0.f |
| | extra space reserved on the left before entries
|
| sf::Color | mutedColor = sf::Color(120, 120, 120) |
| sf::Color | outlineColor = sf::Color(100, 100, 100) |
| float | outlineThickness = 1.5f |
| float | padding = 8.f |
| float | radius = 8.f |
| sf::Color | separatorColor = sf::Color(70, 70, 90) |
| sf::Color | shortcutColor = sf::Color(140, 140, 160) |
| sf::Color | textColor = sf::Color::White |
Definition at line 11 of file MenuBarStyle.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::ControlTheme.
Definition at line 21 of file MenuBarStyle.h.
◆ 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 |
◆ 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 |
◆ getRadius()
| float ml::GraphicTheme::getRadius |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ getTextColor()
| sf::Color ml::ControlTheme::getTextColor |
( |
| ) |
const |
|
inlinenodiscardinherited |
◆ operator=() [1/4]
◆ operator=() [2/4]
◆ operator=() [3/4]
◆ operator=() [4/4]
◆ setAutoFillWidth()
| void ml::MenuBarSettings::setAutoFillWidth |
( |
bool | b | ) |
|
|
inlineinherited |
◆ setBarHeight()
| void ml::MenuBarSettings::setBarHeight |
( |
float | h | ) |
|
|
inlineinherited |
◆ setDisabledColor()
| void ml::ControlTheme::setDisabledColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setDisabledTextColor()
| void ml::ControlTheme::setDisabledTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ setDropdownItemH()
| void ml::MenuBarSettings::setDropdownItemH |
( |
float | h | ) |
|
|
inlineinherited |
◆ setDropdownMinW()
| void ml::MenuBarSettings::setDropdownMinW |
( |
float | w | ) |
|
|
inlineinherited |
◆ setEntryPadding()
| void ml::MenuBarSettings::setEntryPadding |
( |
float | p | ) |
|
|
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 |
◆ 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 |
◆ setRadius()
| void ml::GraphicTheme::setRadius |
( |
float | r | ) |
|
|
inlineinherited |
◆ setTextColor()
| void ml::ControlTheme::setTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ autoFillWidth
| bool ml::MenuBarSettings::autoFillWidth = true |
|
inherited |
◆ barBg
◆ barHeight
| float ml::MenuBarSettings::barHeight = 30.f |
|
inherited |
◆ checkmarkColor
◆ disabledColor
◆ disabledTextColor
◆ dropdownBg
◆ dropdownBorder
◆ dropdownBorderThk
| float ml::MenuBarSettings::dropdownBorderThk = 1.f |
|
inherited |
◆ dropdownItemH
| float ml::MenuBarSettings::dropdownItemH = 28.f |
|
inherited |
◆ dropdownMinW
| float ml::MenuBarSettings::dropdownMinW = 180.f |
|
inherited |
◆ entryHoverBg
◆ entryOpenBg
◆ entryPadding
| float ml::MenuBarSettings::entryPadding = 14.f |
|
inherited |
◆ errorColor
◆ fillColor
◆ focusColor
◆ font
◆ fontSize
| unsigned int ml::ControlTheme::fontSize = 14 |
|
inherited |
◆ fontSizeSmall
| unsigned int ml::ControlTheme::fontSizeSmall = 11 |
|
inherited |
◆ hoverColor
◆ itemDisabledColor
◆ itemHoverBg
◆ leftInset
| float ml::MenuBarSettings::leftInset = 0.f |
|
inherited |
extra space reserved on the left before entries
Definition at line 14 of file MenuBarSettings.h.
◆ 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 |
◆ separatorColor
◆ shortcutColor
◆ textColor
The documentation for this struct was generated from the following file: