summaryrefslogtreecommitdiff
path: root/src/enums/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/events')
-rw-r--r--src/enums/events/mousebutton.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/enums/events/mousebutton.h b/src/enums/events/mousebutton.h
index 51fddef5b..d3bfd20ed 100644
--- a/src/enums/events/mousebutton.h
+++ b/src/enums/events/mousebutton.h
@@ -64,19 +64,16 @@
#ifndef ENUMS_EVENTS_MOUSEBUTTON_H
#define ENUMS_EVENTS_MOUSEBUTTON_H
-namespace MouseButton
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(MouseButton)
{
- /**
- * Mouse button types.
- */
- enum Type
- {
- WHEEL = -1,
- EMPTY = 0,
- LEFT,
- RIGHT,
- MIDDLE
- };
-} // namespace MouseButton
+ WHEEL = -1,
+ EMPTY = 0,
+ LEFT,
+ RIGHT,
+ MIDDLE
+}
+enumEnd(MouseButton);
#endif // ENUMS_EVENTS_MOUSEBUTTON_H