File label.hpp¶
-
struct Label : public UIElement¶
- #include <label.hpp>
Public Functions
-
Label()¶
-
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)¶
-
Label()¶