|
Aegis2D
Modular C++26 2D game engine for networked games
|
Colors, text size and layer of a ListView. More...
#include <aegis2d/ui/widgets.hpp>
Public Attributes | |
| render::Color | background = render::rgb(0x2B2D42) |
| Background of the rows. | |
| render::Color | selected = render::rgb(0x1D4E89) |
| Background of the selected row. | |
| render::Color | text = render::rgb(0xFFFFFF) |
| Text of the rows. | |
| render::Color | disabled = render::rgb(0xB0B0B0) |
| Text and rows of a disabled list. | |
| render::Color | outline = render::rgb(0xFFD166) |
| Outline around the focused list. | |
| render::Color | scrollbar = render::rgb(0x6C7A9C) |
| The scrollbar on the right edge, shown when some items are off screen. | |
| float | outline_width = 2.0F |
| Width of the outline and the scrollbar, in logical pixels at 100%. | |
| float | text_scale = 2.0F |
| Scale of the text at 100%, multiplied by the tree's scale. | |
| std::int32_t | layer = 100 |
| Layer of the rows; the text and the scrollbar go one layer above. | |
Colors, text size and layer of a ListView.
| render::Color aegis2d::ui::ListStyle::background = render::rgb(0x2B2D42) |
Background of the rows.
| render::Color aegis2d::ui::ListStyle::disabled = render::rgb(0xB0B0B0) |
Text and rows of a disabled list.
| std::int32_t aegis2d::ui::ListStyle::layer = 100 |
Layer of the rows; the text and the scrollbar go one layer above.
| render::Color aegis2d::ui::ListStyle::outline = render::rgb(0xFFD166) |
Outline around the focused list.
| float aegis2d::ui::ListStyle::outline_width = 2.0F |
Width of the outline and the scrollbar, in logical pixels at 100%.
| render::Color aegis2d::ui::ListStyle::scrollbar = render::rgb(0x6C7A9C) |
The scrollbar on the right edge, shown when some items are off screen.
| render::Color aegis2d::ui::ListStyle::selected = render::rgb(0x1D4E89) |
Background of the selected row.
| render::Color aegis2d::ui::ListStyle::text = render::rgb(0xFFFFFF) |
Text of the rows.
| float aegis2d::ui::ListStyle::text_scale = 2.0F |
Scale of the text at 100%, multiplied by the tree's scale.