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