aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Button.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-02-22 13:31:51 +0100
committerdec05eba <dec05eba@protonmail.com>2025-02-22 13:31:51 +0100
commit189736c1a96a1ad0e571ad69f01039e96455011a (patch)
tree22e1a78f698209e2ce0ef462a5d281b5b3030897 /include/gui/Button.hpp
parent8003c209fea16cd164817306cb33d46ac61a44f0 (diff)
Add option to take a screenshot (default hotkey: alt+f1)
Diffstat (limited to 'include/gui/Button.hpp')
-rw-r--r--include/gui/Button.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/Button.hpp b/include/gui/Button.hpp
index eb68e99..7070457 100644
--- a/include/gui/Button.hpp
+++ b/include/gui/Button.hpp
@@ -30,6 +30,7 @@ namespace gsr {
std::function<void()> on_click;
private:
void scale_sprite_to_button_size();
+ float get_button_height();
private:
mgl::vec2f size;
mgl::Color bg_color;