From f29616d8d1309ee135afe2b2e7baf1d91d677a95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:53:40 +0300 Subject: Convert MouseButton enum into strong typed enum. --- src/input/mouseinput.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/mouseinput.h') 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 -- cgit v1.2.3-60-g2f50