aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/window/Event.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mglpp/window/Event.hpp b/include/mglpp/window/Event.hpp
index 4c99379..c073251 100644
--- a/include/mglpp/window/Event.hpp
+++ b/include/mglpp/window/Event.hpp
@@ -34,7 +34,7 @@ namespace mgl {
int y; /* relative to top of the window */
};
- enum EventType : int {
+ enum Type : int {
Unknown,
Resized,
KeyPressed,
@@ -44,7 +44,7 @@ namespace mgl {
MouseMoved
};
- EventType type;
+ Type type;
union {
SizeEvent size;