diff options
Diffstat (limited to 'include/gui/Label.hpp')
-rw-r--r-- | include/gui/Label.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/Label.hpp b/include/gui/Label.hpp index 3cb91de..a702497 100644 --- a/include/gui/Label.hpp +++ b/include/gui/Label.hpp @@ -17,6 +17,8 @@ namespace gsr { void draw(mgl::Window &window, mgl::vec2f offset) override; mgl::vec2f get_size() override; + + void set_text(std::string str); private: mgl::Text text; }; |