From 16fda1ef8da96c44cec20225cc4427d8eec52827 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 5 Dec 2024 13:54:01 +0100 Subject: feedback changes --- src/crepe/facade/SDLContext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crepe/facade') diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index bd0427a..a2b34c1 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -61,10 +61,10 @@ public: Keycode key = Keycode::NONE; bool key_repeat = false; MouseButton mouse_button = MouseButton::NONE; - std::pair mouse_position = {-1, -1}; + ivec2 mouse_position = {-1, -1}; int scroll_direction = -1; float scroll_delta = INFINITY; - std::pair rel_mouse_move = {-1, -1}; + ivec2 rel_mouse_move = {-1, -1}; }; /** * \brief Gets the singleton instance of SDLContext. -- cgit v1.2.3