34 #include "eng3d/ui/widget.hpp"
44 virtual void set_text(
const std::string& _text);
Simple widget for drawing text on the screen, no multiline support.
virtual void set_text(const std::string &_text)
Generates text for the widget and overrides the current text texture.
Label(int x, int y, const std::string &text=" ", Widget *parent=nullptr)