summaryrefslogtreecommitdiffhomepage
path: root/main/sdl-fwd.inl
diff options
context:
space:
mode:
Diffstat (limited to 'main/sdl-fwd.inl')
-rw-r--r--main/sdl-fwd.inl15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/sdl-fwd.inl b/main/sdl-fwd.inl
new file mode 100644
index 00000000..25bc45ee
--- /dev/null
+++ b/main/sdl-fwd.inl
@@ -0,0 +1,15 @@
+#pragma once
+#include "sdl-fwd.hpp"
+#include <Magnum/Platform/Sdl2Application.h>
+
+namespace floormat::sdl2 {
+
+using App = Platform::Sdl2Application;
+
+struct EvButtons { App::Pointer& val; };
+struct EvClick { App::PointerEvent& val; };
+struct EvMove { App::PointerMoveEvent& val; };
+struct EvScroll { App::ScrollEvent& val; };
+struct EvKey { App::KeyEvent& val; };
+
+} // namespace floormat::sdl2