aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-05 13:54:01 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-05 13:54:01 +0100
commit16fda1ef8da96c44cec20225cc4427d8eec52827 (patch)
tree87079b4d35fadcb6fb00426f07272c772f821ca4 /src/crepe/facade/SDLContext.h
parent5c7d01c49081e0127f00116a7ff174a79c6325d5 (diff)
feedback changes
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h4
1 files changed, 2 insertions, 2 deletions
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<int, int> mouse_position = {-1, -1};
+ ivec2 mouse_position = {-1, -1};
int scroll_direction = -1;
float scroll_delta = INFINITY;
- std::pair<int, int> rel_mouse_move = {-1, -1};
+ ivec2 rel_mouse_move = {-1, -1};
};
/**
* \brief Gets the singleton instance of SDLContext.