diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:01:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:01:04 +0300 |
commit | 2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (patch) | |
tree | 8e3ab15e6ce2f6e085f5c7be0d4c9a43ef85f44a /src/events/mouseevent.h | |
parent | f29616d8d1309ee135afe2b2e7baf1d91d677a95 (diff) | |
download | plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.gz plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.bz2 plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.xz plus-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.zip |
Convert MouseEventType 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 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. |