aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:35:36 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:35:36 +0100
commitbd26d3812aceab9cfcd55c19b17271cd6ef4ccb0 (patch)
tree4f2118294118a751a4b83167a7fea4fcd0bea899 /src/crepe/api/Button.cpp
parent7039acfa49e64b6865c7897de29a1b812b8df7d0 (diff)
parentc96ef5f62a1369d66e8eba9bf8ed192e3cf8e716 (diff)
Merge branch 'master' into niels/UI
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r--src/crepe/api/Button.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp
index 76f74f0..305922c 100644
--- a/src/crepe/api/Button.cpp
+++ b/src/crepe/api/Button.cpp
@@ -3,9 +3,8 @@
namespace crepe {
Button::Button(game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
- const std::function<void()> & on_click, bool is_toggle)
+ const std::function<void()> & on_click)
: UIObject(id, dimensions, offset),
- is_toggle(is_toggle),
on_click(on_click) {}
} // namespace crepe