summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:53:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:53:40 +0300
commitf29616d8d1309ee135afe2b2e7baf1d91d677a95 (patch)
tree77624591a88075bc2b1128520d950c717d353288 /src/events
parentec51be4fd71babf30a73332bc4b73edb994ee462 (diff)
downloadmv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz
mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2
mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz
mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/events')
-rw-r--r--src/events/mouseevent.h6
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.