summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 12:47:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 12:47:15 +0300
commit3ae82048ca8636ce03e71bdd4c11f60594cfc698 (patch)
tree51d344c3baeaa586fdfc8fc913c7863558b99093 /src/gui/widgets/window.cpp
parent0d73f54f842a9690c65faedf094112017fd07430 (diff)
downloadmv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.gz
mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.bz2
mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.xz
mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.zip
move event into events directory.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 1fc439abf..54c18bd52 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -490,7 +490,7 @@ void Window::setResizable(const bool r)
}
}
-void Window::widgetResized(const gcn::Event &event A_UNUSED)
+void Window::widgetResized(const Event &event A_UNUSED)
{
const gcn::Rectangle area = getChildrenArea();
@@ -554,12 +554,12 @@ void Window::widgetResized(const gcn::Event &event A_UNUSED)
mRedraw = true;
}
-void Window::widgetMoved(const gcn::Event& event A_UNUSED)
+void Window::widgetMoved(const Event& event A_UNUSED)
{
mRedraw = true;
}
-void Window::widgetHidden(const gcn::Event &event A_UNUSED)
+void Window::widgetHidden(const Event &event A_UNUSED)
{
if (gui)
gui->setCursorType(Cursor::CURSOR_POINTER);
@@ -1085,7 +1085,7 @@ void Window::adjustSizeToScreen()
if (mDimension.height > screenHeight)
mDimension.height = screenHeight;
if (oldWidth != mDimension.width || oldHeight != mDimension.height)
- widgetResized(gcn::Event(this));
+ widgetResized(Event(this));
}
int Window::getResizeHandles(const gcn::MouseEvent &event)