#include <Malena/Traits/Style/TabbedPanelStyle.h>
|
| bool | closeable = false |
| | show × on all tabs by default
|
| sf::Color | closeColor = sf::Color(180, 80, 80) |
| float | closeSize = 14.f |
| | × hit area
|
| sf::Color | contentBg = sf::Color(35, 35, 48) |
| sf::Color | contentBorder = sf::Color(60, 60, 80) |
| 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) |
| float | iconSize = 16.f |
| | icon square size
|
| 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 | tabActiveBar = sf::Color(70, 130, 230) |
| | accent line
|
| sf::Color | tabActiveBg = sf::Color(35, 35, 48) |
| sf::Color | tabActiveText = sf::Color(230, 230, 255) |
| sf::Color | tabBarBg = sf::Color(25, 25, 32) |
| float | tabBarThickness = 1.f |
| | divider between bar and content
|
| float | tabHeight = 36.f |
| | thickness of the tab strip
|
| sf::Color | tabHoverBg = sf::Color(255, 255, 255, 15) |
| sf::Color | tabIdleBg = sf::Color::Transparent |
| sf::Color | tabIdleText = sf::Color(160, 160, 180) |
| float | tabMaxWidth = 200.f |
| | maximum tab label width
|
| float | tabMinWidth = 80.f |
| | minimum tab label width
|
| TabPosition | tabPosition = TabPosition::TOP |
| sf::Color | textColor = sf::Color::White |
Definition at line 11 of file TabbedPanelStyle.h.
◆ TabPosition
◆ 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 TabbedPanelStyle.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]
◆ setCloseable()
| void ml::TabbedPanelSettings::setCloseable |
( |
bool | b | ) |
|
|
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 |
◆ setIconSize()
| void ml::TabbedPanelSettings::setIconSize |
( |
float | s | ) |
|
|
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 |
◆ setTabHeight()
| void ml::TabbedPanelSettings::setTabHeight |
( |
float | h | ) |
|
|
inlineinherited |
◆ setTabMaxWidth()
| void ml::TabbedPanelSettings::setTabMaxWidth |
( |
float | w | ) |
|
|
inlineinherited |
◆ setTabMinWidth()
| void ml::TabbedPanelSettings::setTabMinWidth |
( |
float | w | ) |
|
|
inlineinherited |
◆ setTabPosition()
| void ml::TabbedPanelSettings::setTabPosition |
( |
TabPosition | p | ) |
|
|
inlineinherited |
◆ setTextColor()
| void ml::ControlTheme::setTextColor |
( |
const sf::Color & | c | ) |
|
|
inlineinherited |
◆ closeable
| bool ml::TabbedPanelSettings::closeable = false |
|
inherited |
◆ closeColor
◆ closeSize
| float ml::TabbedPanelSettings::closeSize = 14.f |
|
inherited |
◆ contentBg
◆ contentBorder
◆ disabledColor
◆ disabledTextColor
◆ errorColor
◆ fillColor
◆ focusColor
◆ font
◆ fontSize
| unsigned int ml::ControlTheme::fontSize = 14 |
|
inherited |
◆ fontSizeSmall
| unsigned int ml::ControlTheme::fontSizeSmall = 11 |
|
inherited |
◆ hoverColor
◆ iconSize
| float ml::TabbedPanelSettings::iconSize = 16.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 |
◆ tabActiveBar
◆ tabActiveBg
◆ tabActiveText
◆ tabBarBg
◆ tabBarThickness
| float ml::TabbedPanelTheme::tabBarThickness = 1.f |
|
inherited |
◆ tabHeight
| float ml::TabbedPanelSettings::tabHeight = 36.f |
|
inherited |
◆ tabHoverBg
◆ tabIdleBg
◆ tabIdleText
◆ tabMaxWidth
| float ml::TabbedPanelSettings::tabMaxWidth = 200.f |
|
inherited |
◆ tabMinWidth
| float ml::TabbedPanelSettings::tabMinWidth = 80.f |
|
inherited |
◆ tabPosition
◆ textColor
The documentation for this struct was generated from the following file: