summaryrefslogtreecommitdiff
path: root/src/enums/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/events')
-rw-r--r--src/enums/events/mouseeventtype.h33
1 files changed, 15 insertions, 18 deletions
diff --git a/src/enums/events/mouseeventtype.h b/src/enums/events/mouseeventtype.h
index 7fa568960..f430953fa 100644
--- a/src/enums/events/mouseeventtype.h
+++ b/src/enums/events/mouseeventtype.h
@@ -64,24 +64,21 @@
#ifndef ENUMS_EVENTS_MOUSEEVENTTYPE_H
#define ENUMS_EVENTS_MOUSEEVENTTYPE_H
-namespace MouseEventType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(MouseEventType)
{
- /**
- * Mouse event types.
- */
- enum Type
- {
- MOVED = 0,
- PRESSED,
- RELEASED,
- WHEEL_MOVED_DOWN,
- WHEEL_MOVED_UP,
- CLICKED,
- ENTERED,
- EXITED,
- DRAGGED,
- RELEASED2 = 100
- };
-} // namespace MouseEventType
+ MOVED = 0,
+ PRESSED,
+ RELEASED,
+ WHEEL_MOVED_DOWN,
+ WHEEL_MOVED_UP,
+ CLICKED,
+ ENTERED,
+ EXITED,
+ DRAGGED,
+ RELEASED2 = 100
+}
+enumEnd(MouseEventType);
#endif // ENUMS_EVENTS_MOUSEEVENTTYPE_H