summaryrefslogtreecommitdiffhomepage
path: root/main/sdl-fwd.inl
blob: 25bc45eedb798e58cd96d960fdb74693d834dbb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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