|
|
| theme (theme const &) noexcept=delete |
| |
|
| theme (theme &&) noexcept=delete |
| |
|
theme & | operator= (theme const &) noexcept=delete |
| |
|
theme & | operator= (theme &&) noexcept=delete |
| |
| | theme (URL const &url) |
| | Open and parse a theme file.
|
| |
| color | fillColor (ssize_t nesting_level) const noexcept |
| | Get fill color of elements of widgets and child widgets.
|
| |
| color | borderColor (ssize_t nesting_level) const noexcept |
| | Get border color of elements of widgets and child widgets.
|
| |
| color | gray (ssize_t level) const noexcept |
| | Get grey scale color This color is reversed between light and dark themes.
|
| |
|
|
static theme * | global |
| |
|
static constexpr OperatingSystem | operatingSystem = OperatingSystem::Windows |
| |
◆ theme()
| tt::theme::theme |
( |
URL const & | url | ) |
|
Open and parse a theme file.
◆ borderColor()
Get border color of elements of widgets and child widgets.
- Parameters
-
| nestingLevel | The nesting level. |
◆ fillColor()
Get fill color of elements of widgets and child widgets.
- Parameters
-
| nestingLevel | The nesting level. |
◆ gray()
Get grey scale color This color is reversed between light and dark themes.
- Parameters
-
| level | Gray level: 0 is background, positive values increase in foregroundness. -1 is foreground, more negative values go toward background. |
◆ borderWidth
| float tt::theme::borderWidth = 1.0f |
The line-width of a border.
◆ height
| float tt::theme::height = 22.0f |
The height of the larger widgets like buttons, text-input and drop-down-lists.
◆ icon_size
| float tt::theme::icon_size = 20.0f |
Size of icons extending from the ascender to descender of a label's text.
◆ large_icon_size
| float tt::theme::large_icon_size = 30.0f |
Size of icons representing the length of am average word of a label's text.
◆ margin
| float tt::theme::margin = 6.0f |
Distance between widgets and between widgets and the border of the container.
◆ maxLabelWidth
| float tt::theme::maxLabelWidth = 300.0f |
Max width of labels in widgets.
◆ roundingRadius
| float tt::theme::roundingRadius = 5.0f |
The rounding radius of boxes with rounded corners.
◆ small_icon_size
| float tt::theme::small_icon_size = 10.0f |
Size of icons that represents the size of label's text.
◆ smallSize
| float tt::theme::smallSize = 15.0f |
The size of small square widgets.
◆ toolbarDecorationButtonWidth
| float tt::theme::toolbarDecorationButtonWidth |
Initial value:=
(operatingSystem == OperatingSystem::Windows) ? 30.0f : 20.0f
The width of a close, minimize, maximize, system menu button.
◆ toolbarHeight
| float tt::theme::toolbarHeight |
Initial value:=
(operatingSystem == OperatingSystem::Windows) ? 30.0f : 20.0f
◆ width
| float tt::theme::width = 50.0f |
The width of the larger widgets and smaller widgets with included labels.
The documentation for this class was generated from the following file: