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.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;