From 6454975779acb39d7d546e11855a07a952e68e5b Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 4 Dec 2024 20:12:34 +0100 Subject: loeks feedback changes --- src/example/button.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/example/button.cpp') diff --git a/src/example/button.cpp b/src/example/button.cpp index 52fa199..7efd889 100644 --- a/src/example/button.cpp +++ b/src/example/button.cpp @@ -34,7 +34,12 @@ int main(int argc, char * argv[]) { auto & sprite2 = button_obj.add_component( s2, Color::GREEN, Sprite::FlipSettings{false, false}, 2, 1, 100); std::function on_click = [&]() { std::cout << "button clicked" << std::endl; }; - auto & button = button_obj.add_component