JustEnoughMod
Loading...
Searching...
No Matches
Event.hpp
1
#ifndef EVENT_EVENT_HPP
2
#define EVENT_EVENT_HPP
3
4
#include <event/Key.hpp>
5
6
namespace
JEM::Event {
7
struct
ExitEvent
{};
8
9
struct
MouseMoveEvent
{
10
double
x;
11
double
y;
12
};
13
14
struct
MouseButtonPressedEvent
{
15
Mouse button;
16
};
17
18
struct
MouseButtonReleasedEvent
{
19
Mouse button;
20
};
21
22
struct
MouseWheelEvent
{
23
double
x;
24
double
y;
25
};
26
27
struct
KeyPressedEvent
{
28
Key key;
29
};
30
31
struct
KeyReleasedEvent
{
32
Key key;
33
};
34
35
struct
TextInputEvent
{
36
unsigned
int
unicode;
37
};
38
}
// namespace JEM::Event
39
40
#endif
JEM::Event::ExitEvent
Definition
Event.hpp:7
JEM::Event::KeyPressedEvent
Definition
Event.hpp:27
JEM::Event::KeyReleasedEvent
Definition
Event.hpp:31
JEM::Event::MouseButtonPressedEvent
Definition
Event.hpp:14
JEM::Event::MouseButtonReleasedEvent
Definition
Event.hpp:18
JEM::Event::MouseMoveEvent
Definition
Event.hpp:9
JEM::Event::MouseWheelEvent
Definition
Event.hpp:22
JEM::Event::TextInputEvent
Definition
Event.hpp:35
include
event
Event.hpp
Generated by
1.10.0