aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Event.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-28 09:01:37 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-28 09:01:37 +0100
commit570acb7e9258edcd6a06fff4dd2ce0ff12a3e873 (patch)
tree0b9d8406f6d6a8e2dcd187bee7277bc81a270acc /src/crepe/api/Event.h
parent8635d1ace31232c295c6cb85ea215887c6fb1319 (diff)
added on_enter and on_hover
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r--src/crepe/api/Event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h
index a7d5511..91a30b5 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -89,10 +89,10 @@ public:
//! Y-coordinate of the mouse position at the time of the event.
int mouse_y = 0;
- // Relative movement in x
+ // Movement since last event in x
int rel_x = 0;
- // Relative movement in y
+ // Movement since last event in y
int rel_y = 0;
};