summaryrefslogtreecommitdiff
path: root/src/enums/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-06 19:34:45 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-06 19:34:45 +0300
commit48ea9be889ecc77ae0ee7e952f1970771a92e5c9 (patch)
tree546a3d18ea2ecdddb8e762577e765d6caf82016d /src/enums/events
parentbe4dd2eac43f118d8a44b6689420dd9f0a281641 (diff)
downloadplus-48ea9be889ecc77ae0ee7e952f1970771a92e5c9.tar.gz
plus-48ea9be889ecc77ae0ee7e952f1970771a92e5c9.tar.bz2
plus-48ea9be889ecc77ae0ee7e952f1970771a92e5c9.tar.xz
plus-48ea9be889ecc77ae0ee7e952f1970771a92e5c9.zip
Fix style in enums.
Diffstat (limited to 'src/enums/events')
-rw-r--r--src/enums/events/mousebutton.h10
-rw-r--r--src/enums/events/mouseeventtype.h20
2 files changed, 15 insertions, 15 deletions
diff --git a/src/enums/events/mousebutton.h b/src/enums/events/mousebutton.h
index 3b43092f7..25c798f37 100644
--- a/src/enums/events/mousebutton.h
+++ b/src/enums/events/mousebutton.h
@@ -68,11 +68,11 @@
enumStart(MouseButton)
{
- WHEEL = -1,
- EMPTY = 0,
- LEFT,
- RIGHT,
- MIDDLE
+ WHEEL = -1,
+ EMPTY = 0,
+ LEFT = 1,
+ RIGHT = 2,
+ MIDDLE = 3
}
enumEnd(MouseButton);
diff --git a/src/enums/events/mouseeventtype.h b/src/enums/events/mouseeventtype.h
index 1808e6b0b..ecb2187f1 100644
--- a/src/enums/events/mouseeventtype.h
+++ b/src/enums/events/mouseeventtype.h
@@ -68,16 +68,16 @@
enumStart(MouseEventType)
{
- MOVED = 0,
- PRESSED,
- RELEASED,
- WHEEL_MOVED_DOWN,
- WHEEL_MOVED_UP,
- CLICKED,
- ENTERED,
- EXITED,
- DRAGGED,
- RELEASED2 = 100
+ MOVED = 0,
+ PRESSED = 1,
+ RELEASED = 2,
+ WHEEL_MOVED_DOWN = 3,
+ WHEEL_MOVED_UP = 4,
+ CLICKED = 5,
+ ENTERED = 6,
+ EXITED = 7,
+ DRAGGED = 8,
+ RELEASED2 = 100
}
enumEnd(MouseEventType);