|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Inheritance diagram for oe::gui::component::Textbox:
Collaboration diagram for oe::gui::component::Textbox:Public Member Functions | |
| Textbox (int max_size) | |
| Textbox (std::string &value, int max_size) | |
| Textbox * | setMask (const char mask) |
| void | generate () |
Public Member Functions inherited from oe::gui::Component | |
| Component (Manager *manager=nullptr) | |
| template<typename T > | |
| Component * | addChild (T *child) |
| template<typename T > | |
| Component * | addSibling (T *component) |
| template<typename T , typename... Args> | |
| T * | createChild (Args &&... args) |
| template<typename T , typename... Args> | |
| T & | createSibling (Args &&... args) |
| template<typename T > | |
| T * | getParent () |
| template<typename... Args> | |
| component::Row * | createRow (const float &height, const int &cols=0) |
| Component * | setFont (const std::string &font_name) |
| Component * | setManager (Manager *manager) |
| void | generateChildren () |
Additional Inherited Members | |
Protected Attributes inherited from oe::gui::Component | |
| gui_id_t | _id = 0 |
| Manager * | _manager |
| nk_context * | _context |
| nk_font * | _font = nullptr |
| Component * | _parent |
| std::vector< Component * > | _children |
| oe::gui::component::Textbox::Textbox | ( | std::string & | value, |
| int | max_size | ||
| ) |
Bind the text input to an existing string
|
virtual |
Implements oe::gui::Component.
|
inline |
Obfuscate input chars using a char. USed for example in password fields
| mask | Character to display instead |