Loading...
Searching...
No Matches
ml::TabbedPanelSettings Struct Reference

#include <Malena/Traits/Settings/TabbedPanelSettings.h>

Inheritance diagram for ml::TabbedPanelSettings:
[legend]

Public Types

enum class  TabPosition { TOP , BOTTOM , LEFT , RIGHT }

Public Member Functions

TabbedPanelSettingsoperator= (const ControlSettings &c)
TabbedPanelSettingsoperator= (const GraphicSettings &g)
void setCloseable (bool b)
void setIconSize (float s)
void setTabHeight (float h)
void setTabMaxWidth (float w)
void setTabMinWidth (float w)
void setTabPosition (TabPosition p)

Public Attributes

bool closeable = false
 show × on all tabs by default
float closeSize = 14.f
 × hit area
float iconSize = 16.f
 icon square size
float tabHeight = 36.f
 thickness of the tab strip
float tabMaxWidth = 200.f
 maximum tab label width
float tabMinWidth = 80.f
 minimum tab label width
TabPosition tabPosition = TabPosition::TOP

Detailed Description

Definition at line 10 of file TabbedPanelSettings.h.

Member Enumeration Documentation

◆ TabPosition

Enumerator
TOP 
BOTTOM 
LEFT 
RIGHT 

Definition at line 12 of file TabbedPanelSettings.h.

Member Function Documentation

◆ operator=() [1/2]

TabbedPanelSettings & ml::TabbedPanelSettings::operator= ( const ControlSettings & c)
inline

Definition at line 22 of file TabbedPanelSettings.h.

◆ operator=() [2/2]

TabbedPanelSettings & ml::TabbedPanelSettings::operator= ( const GraphicSettings & g)
inline

Definition at line 24 of file TabbedPanelSettings.h.

◆ setCloseable()

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

Definition at line 32 of file TabbedPanelSettings.h.

◆ setIconSize()

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

Definition at line 31 of file TabbedPanelSettings.h.

◆ setTabHeight()

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

Definition at line 28 of file TabbedPanelSettings.h.

◆ setTabMaxWidth()

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

Definition at line 30 of file TabbedPanelSettings.h.

◆ setTabMinWidth()

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

Definition at line 29 of file TabbedPanelSettings.h.

◆ setTabPosition()

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

Definition at line 27 of file TabbedPanelSettings.h.

Member Data Documentation

◆ closeable

bool ml::TabbedPanelSettings::closeable = false

show × on all tabs by default

Definition at line 19 of file TabbedPanelSettings.h.

◆ closeSize

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

× hit area

Definition at line 20 of file TabbedPanelSettings.h.

◆ iconSize

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

icon square size

Definition at line 18 of file TabbedPanelSettings.h.

◆ tabHeight

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

thickness of the tab strip

Definition at line 15 of file TabbedPanelSettings.h.

◆ tabMaxWidth

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

maximum tab label width

Definition at line 17 of file TabbedPanelSettings.h.

◆ tabMinWidth

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

minimum tab label width

Definition at line 16 of file TabbedPanelSettings.h.

◆ tabPosition

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

Definition at line 14 of file TabbedPanelSettings.h.


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