|
Aegis2D
Modular C++26 2D game engine for networked games
|
Where and how the console is drawn. More...
#include <aegis2d/ui/console.hpp>
Public Attributes | |
| float | height = 0.5F |
| Part of the screen's height the console covers, from the top. | |
| float | text_scale = 2.0F |
| Scale of the text (render::TextStyle::scale). | |
| float | margin = 8.0F |
| Space between the edges of the panel and the text, in logical pixels. | |
| std::int32_t | layer = 1'000'010 |
| Layer of the panel; the text is drawn one layer above. | |
| render::Color | panel = render::rgb(0x000000, 0.85F) |
| Color of the panel behind. | |
| render::Color | text = render::rgb(0xFFFFFF) |
| Color of the output. | |
| render::Color | input = render::rgb(0xF0E442) |
| Color of the input line and of the lines typed. | |
| render::Color | error = render::rgb(0xD55E00) |
| Color of the errors, told from the others with any color vision. | |
Where and how the console is drawn.
| render::Color aegis2d::ui::ConsoleStyle::error = render::rgb(0xD55E00) |
Color of the errors, told from the others with any color vision.
| float aegis2d::ui::ConsoleStyle::height = 0.5F |
Part of the screen's height the console covers, from the top.
| render::Color aegis2d::ui::ConsoleStyle::input = render::rgb(0xF0E442) |
Color of the input line and of the lines typed.
| std::int32_t aegis2d::ui::ConsoleStyle::layer = 1'000'010 |
Layer of the panel; the text is drawn one layer above.
| float aegis2d::ui::ConsoleStyle::margin = 8.0F |
Space between the edges of the panel and the text, in logical pixels.
| render::Color aegis2d::ui::ConsoleStyle::panel = render::rgb(0x000000, 0.85F) |
Color of the panel behind.
| render::Color aegis2d::ui::ConsoleStyle::text = render::rgb(0xFFFFFF) |
Color of the output.
| float aegis2d::ui::ConsoleStyle::text_scale = 2.0F |
Scale of the text (render::TextStyle::scale).