diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:53:40 +0300 |
commit | f29616d8d1309ee135afe2b2e7baf1d91d677a95 (patch) | |
tree | 77624591a88075bc2b1128520d950c717d353288 /src/events/mouseevent.h | |
parent | ec51be4fd71babf30a73332bc4b73edb994ee462 (diff) | |
download | ManaVerse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz ManaVerse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2 ManaVerse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz ManaVerse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip |
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/events/mouseevent.h')
-rw-r--r-- | src/events/mouseevent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h index c4e5e14e4..1be008827 100644 --- a/src/events/mouseevent.h +++ b/src/events/mouseevent.h @@ -93,7 +93,7 @@ class MouseEvent: public InputGuiEvent */ MouseEvent(Widget *const source, const MouseEventType::Type type, - const MouseButton::Type button, + const MouseButtonT button, const int x, const int y, const int clickCount) : @@ -111,7 +111,7 @@ class MouseEvent: public InputGuiEvent * * @return The button of the mouse event. */ - MouseButton::Type getButton() const A_WARN_UNUSED + MouseButtonT getButton() const A_WARN_UNUSED { return mButton; } /** @@ -168,7 +168,7 @@ class MouseEvent: public InputGuiEvent /** * Holds the button of the mouse event. */ - MouseButton::Type mButton; + MouseButtonT mButton; /** * Holds the x-coordinate of the mouse event. |