File textBox.hpp¶
-
struct TextBox : public UIElement¶
- #include <textBox.hpp>
Public Functions
-
TextBox()¶
-
virtual void init()¶
Initialize the properties and callbacks.
-
virtual void update()¶
Update routine.
-
virtual void draw(Rectangle rect)¶
Draw routine using a rect.
-
virtual void config()¶
Routine to update the element after a property has been changed.
-
void loadFont(const std::string &path)¶
-
TextBox()¶