aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:17:20 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:17:20 +0100
commit596358ffea72aec48b389609349f717e76396ae2 (patch)
tree4c023d4797f18c5b240765b5fef07fc793f52f42 /src/crepe/api/Button.h
parent327154fd428e0798eea544d9f073f8e1293aa158 (diff)
button test working
Diffstat (limited to 'src/crepe/api/Button.h')
-rw-r--r--src/crepe/api/Button.h1
1 files changed, 1 insertions, 0 deletions
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<void()> on_click;
public:
virtual int get_instances_max() const { return 1; }