From 641b843fd85d096afdd9b171975df91676179f3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Mar 2014 18:51:45 +0300 Subject: fix code style. --- src/gui/gui.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index aca1ef4b3..761810c1a 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -873,7 +873,7 @@ void Gui::distributeMouseEvent(Widget *const source, event.setY(y - widgetY); std::list mouseListeners - = widget->_getMouseListeners(); + = widget->getMouseListeners(); unsigned int mouseType = event.getType(); // Send the event to all mouse listeners of the widget. @@ -1130,9 +1130,9 @@ uint32_t Gui::getMouseState(int *const x, int *const y) void Gui::setTop(Widget *const top) { if (mTop) - mTop->_setFocusHandler(nullptr); + mTop->setFocusHandler(nullptr); if (top) - top->_setFocusHandler(mFocusHandler); + top->setFocusHandler(mFocusHandler); mTop = top; } @@ -1241,10 +1241,10 @@ Widget* Gui::getKeyEventSource() const { Widget* widget = mFocusHandler->getFocused(); - while (widget && widget->_getInternalFocusHandler() - && widget->_getInternalFocusHandler()->getFocused()) + while (widget && widget->getInternalFocusHandler() + && widget->getInternalFocusHandler()->getFocused()) { - widget = widget->_getInternalFocusHandler()->getFocused(); + widget = widget->getInternalFocusHandler()->getFocused(); } return widget; @@ -1276,7 +1276,7 @@ void Gui::distributeKeyEvent(KeyEvent &event) const if (widget->isEnabled()) { std::list keyListeners - = widget->_getKeyListeners(); + = widget->getKeyListeners(); const unsigned int eventType = event.getType(); // Send the event to all key listeners of the source widget. -- cgit v1.2.3-60-g2f50