|
Aegis2D
Modular C++26 2D game engine for networked games
|
Colors and layer of a Slider. More...
#include <aegis2d/ui/widgets.hpp>
Public Attributes | |
| render::Color | track = render::rgb(0x2B2D42) |
| The groove the handle slides in. | |
| render::Color | fill = render::rgb(0x1D4E89) |
| The filled part of the track, up to the value. | |
| render::Color | handle = render::rgb(0xFFFFFF) |
| The handle at the value. | |
| render::Color | disabled = render::rgb(0x3A3A3A) |
| Track, fill and handle of a disabled slider. | |
| render::Color | outline = render::rgb(0xFFD166) |
| Outline around the focused slider. | |
| float | outline_width = 2.0F |
| Width of the outline, in logical pixels at 100%. | |
| std::int32_t | layer = 100 |
| Layer of the track; the fill and the handle go one layer above. | |
Colors and layer of a Slider.
The focused slider has an outline as well as its own handle color, so the focus never shows by color alone, as for the menu's buttons.
| render::Color aegis2d::ui::SliderStyle::disabled = render::rgb(0x3A3A3A) |
Track, fill and handle of a disabled slider.
| render::Color aegis2d::ui::SliderStyle::fill = render::rgb(0x1D4E89) |
The filled part of the track, up to the value.
| render::Color aegis2d::ui::SliderStyle::handle = render::rgb(0xFFFFFF) |
The handle at the value.
| std::int32_t aegis2d::ui::SliderStyle::layer = 100 |
Layer of the track; the fill and the handle go one layer above.
| render::Color aegis2d::ui::SliderStyle::outline = render::rgb(0xFFD166) |
Outline around the focused slider.
| float aegis2d::ui::SliderStyle::outline_width = 2.0F |
Width of the outline, in logical pixels at 100%.
| render::Color aegis2d::ui::SliderStyle::track = render::rgb(0x2B2D42) |
The groove the handle slides in.