summaryrefslogtreecommitdiff
path: root/src/input/mouseinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:53:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:53:40 +0300
commitf29616d8d1309ee135afe2b2e7baf1d91d677a95 (patch)
tree77624591a88075bc2b1128520d950c717d353288 /src/input/mouseinput.h
parentec51be4fd71babf30a73332bc4b73edb994ee462 (diff)
downloadplus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz
plus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2
plus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz
plus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/input/mouseinput.h')
-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 c69bd72b7..f84303308 100644
--- a/src/input/mouseinput.h
+++ b/src/input/mouseinput.h
@@ -95,12 +95,12 @@ class MouseInput final
return mType;
}
- void setButton(MouseButton::Type button)
+ void setButton(MouseButtonT button)
{
mButton = button;
}
- MouseButton::Type getButton() const
+ MouseButtonT getButton() const
{
return mButton;
}
@@ -167,7 +167,7 @@ class MouseInput final
/**
* Holds the button of the mouse input.
*/
- MouseButton::Type mButton;
+ MouseButtonT mButton;
/**
* Holds the timestamp of the mouse input. Used to