aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-19 13:50:44 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-19 13:50:44 +0100
commit794efc4ef7a44b190a4d9ecc2dd84a66c62ab005 (patch)
tree5c0c93f0e1e21431837ac0ab49950703d20209be /src/crepe/api/Button.cpp
parentaaca31b3495060b46f178d476636563279fc1c23 (diff)
parentea85bf5d329c2f3571046329a2d22f9db7847544 (diff)
Merge branch 'master' into niels/rendering_fixes
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r--src/crepe/api/Button.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp
index 305922c..40153c9 100644
--- a/src/crepe/api/Button.cpp
+++ b/src/crepe/api/Button.cpp
@@ -2,9 +2,7 @@
namespace crepe {
-Button::Button(game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
- const std::function<void()> & on_click)
- : UIObject(id, dimensions, offset),
- on_click(on_click) {}
+Button::Button(game_object_id_t id, const vec2 & dimensions, const vec2 & offset)
+ : UIObject(id, dimensions, offset) {}
} // namespace crepe