summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 21cf7e015..b1d443b81 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -329,7 +329,7 @@ class Gui final
void distributeMouseEvent(Widget *const source,
const MouseEventType::Type type,
- const MouseButton::Type button,
+ const MouseButtonT button,
const int x, const int y,
const bool force = false,
const bool toSourceOnly = false);
@@ -468,7 +468,7 @@ class Gui final
/**
* Holds the last mouse button pressed.
*/
- MouseButton::Type mLastMousePressButton;
+ MouseButtonT mLastMousePressButton;
/**
* Holds the last mouse press time stamp.
@@ -496,7 +496,7 @@ class Gui final
* was initiated. Used to be able to release a drag
* when the same button is released.
*/
- MouseButton::Type mLastMouseDragButton;
+ MouseButtonT mLastMouseDragButton;
/**
* Holds a stack with all the widgets with the mouse.