From 596358ffea72aec48b389609349f717e76396ae2 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 25 Nov 2024 11:17:20 +0100 Subject: button test working --- src/crepe/api/Button.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/crepe/api') diff --git a/src/crepe/api/Button.h b/src/crepe/api/Button.h index 709854a..f533452 100644 --- a/src/crepe/api/Button.h +++ b/src/crepe/api/Button.h @@ -11,6 +11,7 @@ public: bool interactable = true; bool is_toggle = false; bool is_pressed = false; + bool hover = false; std::function on_click; public: virtual int get_instances_max() const { return 1; } -- cgit v1.2.3