diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-25 11:54:06 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-25 11:54:06 +0100 |
commit | fd7dfd2202c9435b86ac10ed96c6515f2505daa8 (patch) | |
tree | 0e734d6684f5ea247697bf3db5502e39ae9b188c /src/crepe/facade/SDLContext.h | |
parent | 48015cd425b26eb68eb07f4e4b1adf71e81e11b1 (diff) |
changed enum name
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 7ec11fd..5892d5c 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -36,7 +36,7 @@ class InputSystem; class SDLContext { public: - enum Event { + enum EventType { NONE = 0, MOUSEDOWN, MOUSEUP, @@ -48,7 +48,7 @@ public: }; struct EventData { - SDLContext::Event event_type = SDLContext::Event::NONE; + SDLContext::EventType event_type = SDLContext::EventType::NONE; Keycode key = Keycode::NONE; bool key_repeat = false; MouseButton mouse_button = MouseButton::NONE; |