Loading...
Searching...
No Matches
ml::TabbedPanel Class Reference

A container that displays one panel at a time, selected by tabs. More...

#include <Malena/Graphics/Controls/TabbedPanel.h>

Inheritance diagram for ml::TabbedPanel:
[legend]

Public Types

using Flag = TabbedPanelManifest::Flag
using State = TabbedPanelManifest::State
using TabPosition = TabbedPanelSettings::TabPosition

Public Member Functions

 TabbedPanel (const sf::Font &font=FontManager<>::getDefault())
 TabbedPanel (const TabbedPanel &)=delete
int activeTab () const
 Return the currently active tab index, or -1 if no tabs.
template<typename T>
T & addTab (const std::string &label, std::unique_ptr< T > content, const sf::Texture *icon=nullptr, bool closeable=false)
 Add a tab with owned content.
TabbedPanelThemeapplyFrom (const Theme &t) override
 Populate all fields from the global Theme token set.
template<typename S>
void applySettings (const S &s)
template<typename St>
void applyStyle (const St &s)
template<typename T>
void applyTheme (const T &t)
sf::Vector2f contentSize () const
 Return the content area size.
sf::Color getDisabledColor () const
sf::Color getDisabledTextColor () const
sf::Color getErrorColor () const
sf::Color getFillColor () const
sf::Color getFocusColor () const
const sf::FontgetFont () const
unsigned int getFontSize () const
unsigned int getFontSizeSmall () const
sf::FloatRect getGlobalBounds () const override
sf::Color getHoverColor () const
sf::Color getMutedColor () const
sf::Color getOutlineColor () const
float getOutlineThickness () const
float getPadding () const
sf::Vector2f getPosition () const override
float getRadius () const
sf::Vector2f getSize () const
sf::Color getTextColor () const
bool isSettingsLocked () const
 Return true if applySettings() is currently blocked.
bool isThemeLocked () const
 Return true if this component ignores theme changes.
void lockSettings ()
 Prevent applySettings() from taking effect.
void lockTheme ()
 Prevent automatic re-styling when the global theme changes.
void onTabChanged (std::function< void(std::size_t, const std::string &)> cb)
 Fired when the active tab changes.
void onTabClosed (std::function< void(std::size_t, const std::string &)> cb)
 Fired when a tab is closed via the × button.
TabbedPaneloperator= (const TabbedPanel &)=delete
void removeTab (std::size_t index)
 Remove a tab by index.
void selectTab (std::size_t index)
 Programmatically select a tab by index.
void setCloseable (bool b)
void setDisabledColor (const sf::Color &c)
void setDisabledTextColor (const sf::Color &c)
void setErrorColor (const sf::Color &c)
void setFillColor (const sf::Color &c)
void setFocusColor (const sf::Color &c)
void setFont (const sf::Font &&)=delete
void setFont (const sf::Font &f)
void setFontSize (unsigned int s)
void setFontSizeSmall (unsigned int s)
void setHoverColor (const sf::Color &c)
void setIconSize (float s)
void setMutedColor (const sf::Color &c)
void setOutlineColor (const sf::Color &c)
void setOutlineThickness (float t)
void setPadding (float p)
void setPosition (const sf::Vector2f &position) override
void setRadius (float r)
void setSize (const sf::Vector2f &size)
void setTabHeight (float h)
void setTabMaxWidth (float w)
void setTabMinWidth (float w)
void setTabPosition (TabPosition p)
void setTextColor (const sf::Color &c)
std::size_t tabCount () const
 Return the number of tabs.
void unlockSettings ()
 Allow applySettings() to take effect again.
void unlockTheme ()
 Resume reacting to global theme changes.

Public Attributes

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::Fontfont = &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

Protected Member Functions

void draw (sf::RenderTarget &target, sf::RenderStates states) const override
void onThemeApplied (const Theme &theme) override
 Called by ThemeManager when the active theme changes.

Detailed Description

A container that displays one panel at a time, selected by tabs.

Tabs can be positioned on any edge (TOP/BOTTOM/LEFT/RIGHT), support optional icons and a close button per tab, and hidden panels are kept alive in memory so their state is preserved between switches.

Usage

tabs.setSize({600.f, 400.f});
tabs.setPosition({40.f, 100.f});
// addTab() takes ownership — content is drawn and resized by the panel
auto& notes = tabs.addTab("Notes", std::make_unique<ml::TextArea>());
// Tab with icon
auto& settings = tabs.addTab("Settings",
std::make_unique<ml::Panel>(), &settingsIcon);
// Closeable tab
auto& log = tabs.addTab("Log", std::make_unique<ml::TextArea>(), nullptr, true);
// Callback when active tab changes
tabs.onTabChanged([](std::size_t index, const std::string& label){
std::cout << "Active tab: " << label << "\n";
});
// Callback when a tab is closed
tabs.onTabClosed([](std::size_t index, const std::string& label){
std::cout << "Closed: " << label << "\n";
});
addComponent(tabs);
A container that displays one panel at a time, selected by tabs.
Definition TabbedPanel.h:82
T & addTab(const std::string &label, std::unique_ptr< T > content, const sf::Texture *icon=nullptr, bool closeable=false)
Add a tab with owned content.
void onTabClosed(std::function< void(std::size_t, const std::string &)> cb)
Fired when a tab is closed via the × button.
void setPosition(const sf::Vector2f &position) override
void setSize(const sf::Vector2f &size)
void onTabChanged(std::function< void(std::size_t, const std::string &)> cb)
Fired when the active tab changes.
See also
TabbedPanelSettings, TabbedPanelTheme, TabbedPanelStyle

Definition at line 78 of file TabbedPanel.h.

Member Typedef Documentation

◆ Flag

Definition at line 84 of file TabbedPanel.h.

◆ State

◆ TabPosition

Constructor & Destructor Documentation

◆ TabbedPanel() [1/2]

ml::TabbedPanel::TabbedPanel ( const sf::Font & font = FontManager<>::getDefault())
explicit

◆ TabbedPanel() [2/2]

ml::TabbedPanel::TabbedPanel ( const TabbedPanel & )
delete

Member Function Documentation

◆ activeTab()

int ml::TabbedPanel::activeTab ( ) const
inlinenodiscard

Return the currently active tab index, or -1 if no tabs.

Definition at line 228 of file TabbedPanel.h.

◆ addTab()

template<typename T>
T & ml::TabbedPanel::addTab ( const std::string & label,
std::unique_ptr< T > content,
const sf::Texture * icon = nullptr,
bool closeable = false )
inline

Add a tab with owned content.

The panel takes ownership of content. It is responsible for drawing, resizing, and destroying it. If T has a setSize() method, the panel will call it automatically whenever the content area changes.

Template Parameters
TAny ml::Core-derived type.
Parameters
labelTab label text.
contentOwned content component.
iconOptional icon texture. Pass nullptr for none.
closeableWhether this tab has a close button.
Returns
Zero-based index of the new tab.

Definition at line 187 of file TabbedPanel.h.

◆ applyFrom()

TabbedPanelTheme & ml::TabbedPanelTheme::applyFrom ( const Theme & t)
inlineoverridevirtualinherited

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 24 of file TabbedPanelTheme.h.

◆ applySettings()

template<typename S>
void ml::TabbedPanel::applySettings ( const S & s)
inline

Definition at line 142 of file TabbedPanel.h.

◆ applyStyle()

template<typename St>
void ml::TabbedPanel::applyStyle ( const St & s)
inline

Definition at line 159 of file TabbedPanel.h.

◆ applyTheme()

template<typename T>
void ml::TabbedPanel::applyTheme ( const T & t)
inline

Definition at line 151 of file TabbedPanel.h.

◆ contentSize()

sf::Vector2f ml::TabbedPanel::contentSize ( ) const
nodiscard

Return the content area size.

Components with a setSize() method are resized automatically whenever the content area changes. Call this when you need to query the current bounds before constructing content:

auto content = std::make_unique<ml::Panel>();
content->setSize(tabs.contentSize()); // optional — auto-resized anyway
tabs.addTab("Label", std::move(content));

◆ draw()

void ml::TabbedPanel::draw ( sf::RenderTarget & target,
sf::RenderStates states ) const
overrideprotected

◆ getDisabledColor()

sf::Color ml::ControlTheme::getDisabledColor ( ) const
inlinenodiscardinherited

Definition at line 75 of file ControlTheme.h.

◆ getDisabledTextColor()

sf::Color ml::ControlTheme::getDisabledTextColor ( ) const
inlinenodiscardinherited

Definition at line 76 of file ControlTheme.h.

◆ getErrorColor()

sf::Color ml::ControlTheme::getErrorColor ( ) const
inlinenodiscardinherited

Definition at line 74 of file ControlTheme.h.

◆ getFillColor()

sf::Color ml::GraphicTheme::getFillColor ( ) const
inlinenodiscardinherited

Definition at line 67 of file GraphicTheme.h.

◆ getFocusColor()

sf::Color ml::ControlTheme::getFocusColor ( ) const
inlinenodiscardinherited

Definition at line 73 of file ControlTheme.h.

◆ getFont()

const sf::Font * ml::ControlTheme::getFont ( ) const
inlinenodiscardinherited

Definition at line 80 of file ControlTheme.h.

◆ getFontSize()

unsigned int ml::ControlTheme::getFontSize ( ) const
inlinenodiscardinherited

Definition at line 81 of file ControlTheme.h.

◆ getFontSizeSmall()

unsigned int ml::ControlTheme::getFontSizeSmall ( ) const
inlinenodiscardinherited

Definition at line 82 of file ControlTheme.h.

◆ getGlobalBounds()

sf::FloatRect ml::TabbedPanel::getGlobalBounds ( ) const
override

◆ getHoverColor()

sf::Color ml::ControlTheme::getHoverColor ( ) const
inlinenodiscardinherited

Definition at line 72 of file ControlTheme.h.

◆ getMutedColor()

sf::Color ml::ControlTheme::getMutedColor ( ) const
inlinenodiscardinherited

Definition at line 78 of file ControlTheme.h.

◆ getOutlineColor()

sf::Color ml::GraphicTheme::getOutlineColor ( ) const
inlinenodiscardinherited

Definition at line 68 of file GraphicTheme.h.

◆ getOutlineThickness()

float ml::GraphicTheme::getOutlineThickness ( ) const
inlinenodiscardinherited

Definition at line 69 of file GraphicTheme.h.

◆ getPadding()

float ml::ControlTheme::getPadding ( ) const
inlinenodiscardinherited

Definition at line 79 of file ControlTheme.h.

◆ getPosition()

sf::Vector2f ml::TabbedPanel::getPosition ( ) const
override

◆ getRadius()

float ml::GraphicTheme::getRadius ( ) const
inlinenodiscardinherited

Definition at line 70 of file GraphicTheme.h.

◆ getSize()

sf::Vector2f ml::TabbedPanel::getSize ( ) const
inlinenodiscard

Definition at line 258 of file TabbedPanel.h.

◆ getTextColor()

sf::Color ml::ControlTheme::getTextColor ( ) const
inlinenodiscardinherited

Definition at line 77 of file ControlTheme.h.

◆ isSettingsLocked()

bool ml::Themeable::isSettingsLocked ( ) const
inlinenodiscardinherited

Return true if applySettings() is currently blocked.

Definition at line 115 of file Themeable.h.

◆ isThemeLocked()

bool ml::Themeable::isThemeLocked ( ) const
inlinenodiscardinherited

Return true if this component ignores theme changes.

Definition at line 97 of file Themeable.h.

◆ lockSettings()

void ml::Themeable::lockSettings ( )
inlineinherited

Prevent applySettings() from taking effect.

Explicit individual setter calls still work normally. Only blocks the batch applySettings() path.

Definition at line 107 of file Themeable.h.

◆ lockTheme()

void ml::Themeable::lockTheme ( )
inlineinherited

Prevent automatic re-styling when the global theme changes.

The component keeps its current visual state. Explicit individual setter calls still work normally.

Definition at line 85 of file Themeable.h.

◆ onTabChanged()

void ml::TabbedPanel::onTabChanged ( std::function< void(std::size_t, const std::string &)> cb)

Fired when the active tab changes.

◆ onTabClosed()

void ml::TabbedPanel::onTabClosed ( std::function< void(std::size_t, const std::string &)> cb)

Fired when a tab is closed via the × button.

◆ onThemeApplied()

void ml::TabbedPanel::onThemeApplied ( const Theme & theme)
overrideprotectedvirtual

Called by ThemeManager when the active theme changes.

Override in your component to re-style from the new theme. Always check isThemeLocked() first:

void onThemeApplied(const Theme& theme) override
{
if (isThemeLocked()) return;
MySettings::applyTheme(theme);
syncFromSettings();
}
void onThemeApplied(const Theme &theme) override
Called by ThemeManager when the active theme changes.
bool isThemeLocked() const
Return true if this component ignores theme changes.
Definition Themeable.h:97
Universal design token set applied across all Themeable components.
Definition Theme.h:70
Parameters
themeThe newly active theme.

Implements ml::Themeable.

◆ operator=()

TabbedPanel & ml::TabbedPanel::operator= ( const TabbedPanel & )
delete

◆ removeTab()

void ml::TabbedPanel::removeTab ( std::size_t index)

Remove a tab by index.

The content component is destroyed on the next update frame (deferred to avoid use-after-free during event dispatch). If the active tab is removed, the panel selects the nearest remaining tab.

◆ selectTab()

void ml::TabbedPanel::selectTab ( std::size_t index)

Programmatically select a tab by index.

◆ setCloseable()

void ml::TabbedPanelSettings::setCloseable ( bool b)
inlineinherited

Definition at line 32 of file TabbedPanelSettings.h.

◆ setDisabledColor()

void ml::ControlTheme::setDisabledColor ( const sf::Color & c)
inlineinherited

Definition at line 87 of file ControlTheme.h.

◆ setDisabledTextColor()

void ml::ControlTheme::setDisabledTextColor ( const sf::Color & c)
inlineinherited

Definition at line 88 of file ControlTheme.h.

◆ setErrorColor()

void ml::ControlTheme::setErrorColor ( const sf::Color & c)
inlineinherited

Definition at line 86 of file ControlTheme.h.

◆ setFillColor()

void ml::GraphicTheme::setFillColor ( const sf::Color & c)
inlineinherited

Definition at line 72 of file GraphicTheme.h.

◆ setFocusColor()

void ml::ControlTheme::setFocusColor ( const sf::Color & c)
inlineinherited

Definition at line 85 of file ControlTheme.h.

◆ setFont() [1/2]

void ml::ControlTheme::setFont ( const sf::Font && )
deleteinherited

◆ setFont() [2/2]

void ml::ControlTheme::setFont ( const sf::Font & f)
inlineinherited

Definition at line 92 of file ControlTheme.h.

◆ setFontSize()

void ml::ControlTheme::setFontSize ( unsigned int s)
inlineinherited

Definition at line 94 of file ControlTheme.h.

◆ setFontSizeSmall()

void ml::ControlTheme::setFontSizeSmall ( unsigned int s)
inlineinherited

Definition at line 95 of file ControlTheme.h.

◆ setHoverColor()

void ml::ControlTheme::setHoverColor ( const sf::Color & c)
inlineinherited

Definition at line 84 of file ControlTheme.h.

◆ setIconSize()

void ml::TabbedPanelSettings::setIconSize ( float s)
inlineinherited

Definition at line 31 of file TabbedPanelSettings.h.

◆ setMutedColor()

void ml::ControlTheme::setMutedColor ( const sf::Color & c)
inlineinherited

Definition at line 90 of file ControlTheme.h.

◆ setOutlineColor()

void ml::GraphicTheme::setOutlineColor ( const sf::Color & c)
inlineinherited

Definition at line 73 of file GraphicTheme.h.

◆ setOutlineThickness()

void ml::GraphicTheme::setOutlineThickness ( float t)
inlineinherited

Definition at line 74 of file GraphicTheme.h.

◆ setPadding()

void ml::ControlTheme::setPadding ( float p)
inlineinherited

Definition at line 91 of file ControlTheme.h.

◆ setPosition()

void ml::TabbedPanel::setPosition ( const sf::Vector2f & position)
override

◆ setRadius()

void ml::GraphicTheme::setRadius ( float r)
inlineinherited

Definition at line 75 of file GraphicTheme.h.

◆ setSize()

void ml::TabbedPanel::setSize ( const sf::Vector2f & size)

◆ setTabHeight()

void ml::TabbedPanelSettings::setTabHeight ( float h)
inlineinherited

Definition at line 28 of file TabbedPanelSettings.h.

◆ setTabMaxWidth()

void ml::TabbedPanelSettings::setTabMaxWidth ( float w)
inlineinherited

Definition at line 30 of file TabbedPanelSettings.h.

◆ setTabMinWidth()

void ml::TabbedPanelSettings::setTabMinWidth ( float w)
inlineinherited

Definition at line 29 of file TabbedPanelSettings.h.

◆ setTabPosition()

void ml::TabbedPanelSettings::setTabPosition ( TabPosition p)
inlineinherited

Definition at line 27 of file TabbedPanelSettings.h.

◆ setTextColor()

void ml::ControlTheme::setTextColor ( const sf::Color & c)
inlineinherited

Definition at line 89 of file ControlTheme.h.

◆ tabCount()

std::size_t ml::TabbedPanel::tabCount ( ) const
inlinenodiscard

Return the number of tabs.

Definition at line 231 of file TabbedPanel.h.

◆ unlockSettings()

void ml::Themeable::unlockSettings ( )
inlineinherited

Allow applySettings() to take effect again.

Definition at line 112 of file Themeable.h.

◆ unlockTheme()

void ml::Themeable::unlockTheme ( )
inlineinherited

Resume reacting to global theme changes.

Does NOT immediately re-apply the current theme — call ThemeManager::get() and pass it to onThemeApplied() manually if you want to re-sync immediately after unlocking.

Definition at line 94 of file Themeable.h.

Member Data Documentation

◆ closeable

bool ml::TabbedPanelSettings::closeable = false
inherited

show × on all tabs by default

Definition at line 19 of file TabbedPanelSettings.h.

◆ closeColor

sf::Color ml::TabbedPanelTheme::closeColor = sf::Color(180, 80, 80)
inherited

Definition at line 21 of file TabbedPanelTheme.h.

◆ closeSize

float ml::TabbedPanelSettings::closeSize = 14.f
inherited

× hit area

Definition at line 20 of file TabbedPanelSettings.h.

◆ contentBg

sf::Color ml::TabbedPanelTheme::contentBg = sf::Color(35, 35, 48)
inherited

Definition at line 19 of file TabbedPanelTheme.h.

◆ contentBorder

sf::Color ml::TabbedPanelTheme::contentBorder = sf::Color(60, 60, 80)
inherited

Definition at line 20 of file TabbedPanelTheme.h.

◆ disabledColor

sf::Color ml::ControlTheme::disabledColor = sf::Color(60, 60, 60)
inherited

Definition at line 33 of file ControlTheme.h.

◆ disabledTextColor

sf::Color ml::ControlTheme::disabledTextColor = sf::Color(120, 120, 120)
inherited

Definition at line 34 of file ControlTheme.h.

◆ errorColor

sf::Color ml::ControlTheme::errorColor = sf::Color(220, 70, 70)
inherited

Definition at line 32 of file ControlTheme.h.

◆ fillColor

sf::Color ml::GraphicTheme::fillColor = sf::Color(40, 40, 40)
inherited

Definition at line 43 of file GraphicTheme.h.

◆ focusColor

sf::Color ml::ControlTheme::focusColor = sf::Color(100, 60, 200)
inherited

Definition at line 31 of file ControlTheme.h.

◆ font

const sf::Font* ml::ControlTheme::font = &FontManager<>::getDefault()
inherited

Definition at line 39 of file ControlTheme.h.

◆ fontSize

unsigned int ml::ControlTheme::fontSize = 14
inherited

Definition at line 40 of file ControlTheme.h.

◆ fontSizeSmall

unsigned int ml::ControlTheme::fontSizeSmall = 11
inherited

Definition at line 41 of file ControlTheme.h.

◆ hoverColor

sf::Color ml::ControlTheme::hoverColor = sf::Color(70, 130, 230)
inherited

Definition at line 30 of file ControlTheme.h.

◆ iconSize

float ml::TabbedPanelSettings::iconSize = 16.f
inherited

icon square size

Definition at line 18 of file TabbedPanelSettings.h.

◆ mutedColor

sf::Color ml::ControlTheme::mutedColor = sf::Color(120, 120, 120)
inherited

Definition at line 36 of file ControlTheme.h.

◆ outlineColor

sf::Color ml::GraphicTheme::outlineColor = sf::Color(100, 100, 100)
inherited

Definition at line 44 of file GraphicTheme.h.

◆ outlineThickness

float ml::GraphicTheme::outlineThickness = 1.5f
inherited

Definition at line 45 of file GraphicTheme.h.

◆ padding

float ml::ControlTheme::padding = 8.f
inherited

Definition at line 37 of file ControlTheme.h.

◆ radius

float ml::GraphicTheme::radius = 8.f
inherited

Definition at line 46 of file GraphicTheme.h.

◆ tabActiveBar

sf::Color ml::TabbedPanelTheme::tabActiveBar = sf::Color(70, 130, 230)
inherited

accent line

Definition at line 16 of file TabbedPanelTheme.h.

◆ tabActiveBg

sf::Color ml::TabbedPanelTheme::tabActiveBg = sf::Color(35, 35, 48)
inherited

Definition at line 15 of file TabbedPanelTheme.h.

◆ tabActiveText

sf::Color ml::TabbedPanelTheme::tabActiveText = sf::Color(230, 230, 255)
inherited

Definition at line 18 of file TabbedPanelTheme.h.

◆ tabBarBg

sf::Color ml::TabbedPanelTheme::tabBarBg = sf::Color(25, 25, 32)
inherited

Definition at line 12 of file TabbedPanelTheme.h.

◆ tabBarThickness

float ml::TabbedPanelTheme::tabBarThickness = 1.f
inherited

divider between bar and content

Definition at line 22 of file TabbedPanelTheme.h.

◆ tabHeight

float ml::TabbedPanelSettings::tabHeight = 36.f
inherited

thickness of the tab strip

Definition at line 15 of file TabbedPanelSettings.h.

◆ tabHoverBg

sf::Color ml::TabbedPanelTheme::tabHoverBg = sf::Color(255, 255, 255, 15)
inherited

Definition at line 14 of file TabbedPanelTheme.h.

◆ tabIdleBg

sf::Color ml::TabbedPanelTheme::tabIdleBg = sf::Color::Transparent
inherited

Definition at line 13 of file TabbedPanelTheme.h.

◆ tabIdleText

sf::Color ml::TabbedPanelTheme::tabIdleText = sf::Color(160, 160, 180)
inherited

Definition at line 17 of file TabbedPanelTheme.h.

◆ tabMaxWidth

float ml::TabbedPanelSettings::tabMaxWidth = 200.f
inherited

maximum tab label width

Definition at line 17 of file TabbedPanelSettings.h.

◆ tabMinWidth

float ml::TabbedPanelSettings::tabMinWidth = 80.f
inherited

minimum tab label width

Definition at line 16 of file TabbedPanelSettings.h.

◆ tabPosition

TabPosition ml::TabbedPanelSettings::tabPosition = TabPosition::TOP
inherited

Definition at line 14 of file TabbedPanelSettings.h.

◆ textColor

sf::Color ml::ControlTheme::textColor = sf::Color::White
inherited

Definition at line 35 of file ControlTheme.h.


The documentation for this class was generated from the following file: