feat: event system
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
|
||||
#include "input.h"
|
||||
|
||||
#include <vector>
|
||||
#include <wayland-client-protocol.h>
|
||||
|
||||
#include "event.h"
|
||||
|
||||
class WaylandInputHandler : public InputHandlerImpl {
|
||||
private:
|
||||
static void handle_pointer_enter(void *data,
|
||||
@@ -67,6 +70,8 @@ private:
|
||||
struct wl_pointer_listener m_pointer_listener;
|
||||
wl_fixed_t m_surface_x;
|
||||
wl_fixed_t m_surface_y;
|
||||
private:
|
||||
std::vector<Event*> m_event_queue;
|
||||
};
|
||||
|
||||
#endif // H_WAYLAND_INPUT_
|
||||
|
||||
Reference in New Issue
Block a user