summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 01:01:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 01:01:04 +0300
commit2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (patch)
tree8e3ab15e6ce2f6e085f5c7be0d4c9a43ef85f44a /src/input
parentf29616d8d1309ee135afe2b2e7baf1d91d677a95 (diff)
downloadplus-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')
-rw-r--r--src/input/mouseinput.h6
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.