diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-14 13:27:08 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-14 13:27:08 +0100 |
commit | 438f5301d8b14fa53fef73a4356f4a5171ac91af (patch) | |
tree | e3b0e4389c620a9b1d7224a7c390293c2ea01321 /src/crepe/api/Button.cpp | |
parent | 644c1ee1a1f109ae293cc6b09fafe8ba8b448ff3 (diff) | |
parent | a03f90fa9bcbd5a0c5b5d1f2e50df183c7c3640c (diff) |
more WIP demo
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r-- | src/crepe/api/Button.cpp | 3 |
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 |