From 9d60b7b70abd832dc229c59114e465d457fcd0a3 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 27 Nov 2024 14:59:03 +0100 Subject: make format --- src/crepe/api/Button.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/crepe/api/Button.cpp') diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp index 077a5e7..c0ff5a8 100644 --- a/src/crepe/api/Button.cpp +++ b/src/crepe/api/Button.cpp @@ -2,7 +2,12 @@ namespace crepe { -Button::Button(game_object_id_t id, int width, int height, bool is_toggle, std::function on_click) - : UiObject(id, width, height), is_toggle(is_toggle), is_pressed(false), hover(false), on_click(on_click) {} +Button::Button(game_object_id_t id, int width, int height, bool is_toggle, + std::function on_click) + : UiObject(id, width, height), + is_toggle(is_toggle), + is_pressed(false), + hover(false), + on_click(on_click) {} } // namespace crepe -- cgit v1.2.3