summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 01:01:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 01:01:04 +0300
commit2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (patch)
tree8e3ab15e6ce2f6e085f5c7be0d4c9a43ef85f44a /src/gui/gui.cpp
parentf29616d8d1309ee135afe2b2e7baf1d91d677a95 (diff)
downloadmanaverse-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.gz
manaverse-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.bz2
manaverse-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.tar.xz
manaverse-2e07a7af24cf8a2928ab6a3431ab5b01b29969bb.zip
Convert MouseEventType enum into strong typed enum.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 23b640737..f00821c60 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -802,7 +802,7 @@ void Gui::updateFonts()
}
void Gui::distributeMouseEvent(Widget *const source,
- const MouseEventType::Type type,
+ const MouseEventTypeT type,
const MouseButtonT button,
const int x, const int y,
const bool force,
@@ -853,7 +853,7 @@ void Gui::distributeMouseEvent(Widget *const source,
std::list<MouseListener*> mouseListeners
= widget->getMouseListeners();
- const MouseEventType::Type mouseType = event.getType();
+ const MouseEventTypeT mouseType = event.getType();
// Send the event to all mouse listeners of the widget.
FOR_EACH (std::list<MouseListener*>::const_iterator,
it, mouseListeners)