diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:01:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:01:04 +0300 |
commit | 2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (patch) | |
tree | 8e3ab15e6ce2f6e085f5c7be0d4c9a43ef85f44a /src/input/mouseinput.h | |
parent | f29616d8d1309ee135afe2b2e7baf1d91d677a95 (diff) | |
download | plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.gz plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.bz2 plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.xz plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.zip |
Convert MouseEventType enum into strong typed enum.
Diffstat (limited to 'src/input/mouseinput.h')
-rw-r--r-- | src/input/mouseinput.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/mouseinput.h b/src/input/mouseinput.h index f84303308..dc5ad8a1a 100644 --- a/src/input/mouseinput.h +++ b/src/input/mouseinput.h @@ -85,12 +85,12 @@ class MouseInput final ~MouseInput() { } - void setType(MouseEventType::Type type) + void setType(MouseEventTypeT type) { mType = type; } - MouseEventType::Type getType() const + MouseEventTypeT getType() const { return mType; } @@ -162,7 +162,7 @@ class MouseInput final /** * Holds the type of the mouse input. */ - MouseEventType::Type mType; + MouseEventTypeT mType; /** * Holds the button of the mouse input. |