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/events/mouseevent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/events') diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h index 1be008827..66215da15 100644 --- a/src/events/mouseevent.h +++ b/src/events/mouseevent.h @@ -92,7 +92,7 @@ class MouseEvent: public InputGuiEvent * It's set to zero if another button is used. */ MouseEvent(Widget *const source, - const MouseEventType::Type type, + const MouseEventTypeT type, const MouseButtonT button, const int x, const int y, @@ -150,7 +150,7 @@ class MouseEvent: public InputGuiEvent * * @return The type of the event. */ - MouseEventType::Type getType() const A_WARN_UNUSED + MouseEventTypeT getType() const A_WARN_UNUSED { return mType; } void setX(int n) @@ -163,7 +163,7 @@ class MouseEvent: public InputGuiEvent /** * Holds the type of the mouse event. */ - MouseEventType::Type mType; + MouseEventTypeT mType; /** * Holds the button of the mouse event. -- cgit v1.2.3-70-g09d2