aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Button.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-22 21:44:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-23 18:53:19 +0200
commit54c60d9a18d103011a12939c5029dd35a8e9e200 (patch)
treefefba1d63a13df6c135a6b1f5e8640b12a9c0ff5 /include/gui/Button.hpp
parentba007c2b69dca6813c86115b2c1834de45c886be (diff)
Start on file chooser, page stack
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;