aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 09:15:56 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 09:15:56 +0100
commit2b3659c8c5dace0ff9ff9cb8b9421f7f3f890218 (patch)
tree5a051d3d11c2bb358b170735b0bcdee0e997aa25 /src/crepe/facade/SDLContext.h
parent2793e8be0e6c44bb34a25522e1e75ed8a2868b32 (diff)
added window events back to code and function cleanup
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index b10bcfe..e56d531 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -116,11 +116,6 @@ public:
EventDataUnion() {}
~EventDataUnion() {}
} data;
-
- // Helper functions
- // bool isKeyEvent() const { return event_type == SDLContext::EventType::KEYDOWN || event_type == SDLContext::EventType::KEYUP; }
- // bool isMouseEvent() const { return event_type == SDLContext::EventType::MOUSEDOWN || event_type == SDLContext::EventType::MOUSEUP || event_type == SDLContext::EventType::MOUSEMOVE; }
- // bool isWindowEvent() const { return event_type == SDLContext::EventType::WINDOW_MINIMIZE || event_type == SDLContext::EventType::WINDOW_RESIZE; }
};
/**
* \brief Retrieves the current state of the keyboard.