From 2e07a7af24cf8a2928ab6a3431ab5b01b29969bb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 01:01:04 +0300 Subject: Convert MouseEventType enum into strong typed enum. --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') 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 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::const_iterator, it, mouseListeners) -- cgit v1.2.3-70-g09d2