|
Aegis2D
Modular C++26 2D game engine for networked games
|
Starting text, placeholder and limit of a TextField. More...
#include <aegis2d/ui/text_field.hpp>
Public Attributes | |
| std::string | text {} |
| Text the field starts with, cut at max_length. | |
| std::string | placeholder {} |
| Shown dimmed while the field is empty. | |
| std::size_t | max_length = 64 |
| Most characters (code points) the field holds, at least 1. | |
Starting text, placeholder and limit of a TextField.
| std::size_t aegis2d::ui::TextFieldConfig::max_length = 64 |
Most characters (code points) the field holds, at least 1.
| std::string aegis2d::ui::TextFieldConfig::placeholder {} |
Shown dimmed while the field is empty.
| std::string aegis2d::ui::TextFieldConfig::text {} |
Text the field starts with, cut at max_length.