VoxelEngine
Loading...
Searching...
No Matches
GLFWEventSource.h
1
#pragma once
2
3
#include "utility/EventSource.h"
4
5
namespace
engine {
6
struct
MouseEvent;
7
struct
MouseButtonEvent;
8
struct
KeyboardEvent;
9
10
class
GLFWEventSource
:
public
EventSource
{
11
friend
class
GLFWEventSite
;
12
13
protected
:
14
void
fireMouseMoveEvent(
MouseEvent
* pEvent);
15
void
fireMouseButtonEvent(
MouseButtonEvent
* pEvent);
16
void
fireKeyboardEvent(
KeyboardEvent
* pEvent);
17
};
18
}
// namespace engine
engine::EventSource
Definition
EventSource.h:9
engine::GLFWEventSite
Definition
GLFWEventSite.h:10
engine::GLFWEventSource
Definition
GLFWEventSource.h:10
engine::KeyboardEvent
Definition
GLFWEvents.h:24
engine::MouseButtonEvent
Definition
GLFWEvents.h:13
engine::MouseEvent
Definition
GLFWEvents.h:7
src
input
events
GLFWEventSource.h
Generated by
1.9.8