aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 10:38:18 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 10:38:18 +0100
commit327154fd428e0798eea544d9f073f8e1293aa158 (patch)
tree0bf5ea14a33cf54ab6bbddd22bce5e72f9398cb0 /src/crepe/facade/SDLContext.h
parent987fc16a8ae124548e2074d6f46806387c03e161 (diff)
most test working
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 5b6b093..1b881d1 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -6,6 +6,7 @@
#include <SDL2/SDL_video.h>
#include <cmath>
#include <functional>
+#include <utility>
#include <memory>
#include <string>
@@ -43,7 +44,7 @@ public:
MOUSEWHEEL,
KEYUP,
KEYDOWN,
- SHUTDOWN
+ SHUTDOWN,
};
struct EventData {
@@ -73,7 +74,6 @@ private:
* \brief Handles SDL events such as window close and input.
* \param running Reference to a boolean flag that controls the main loop.
*/
- void handle_events(bool & running);
std::vector<SDLContext::EventData> get_events();
Keycode get_key();