aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Button.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/Button.hpp')
-rw-r--r--include/gui/Button.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/Button.hpp b/include/gui/Button.hpp
index f4c44ef..a4dcca1 100644
--- a/include/gui/Button.hpp
+++ b/include/gui/Button.hpp
@@ -21,6 +21,8 @@ namespace gsr {
mgl::vec2f get_size() override;
void set_border_scale(float scale);
+ const std::string& get_text() const;
+
std::function<void()> on_click;
private:
mgl::vec2f size;