summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popuplist.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/popuplist.cpp
parent0d73f54f842a9690c65faedf094112017fd07430 (diff)
downloadmanaverse-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.gz
manaverse-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.bz2
manaverse-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.xz
manaverse-3ae82048ca8636ce03e71bdd4c11f60594cfc698.zip
move event into events directory.
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r--src/gui/widgets/popuplist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp
index b8e4dabb4..37dd6b1ec 100644
--- a/src/gui/widgets/popuplist.cpp
+++ b/src/gui/widgets/popuplist.cpp
@@ -90,7 +90,7 @@ void PopupList::show(int x, int y)
requestModalFocus();
}
-void PopupList::widgetResized(const gcn::Event &event)
+void PopupList::widgetResized(const Event &event)
{
Popup::widgetResized(event);
adjustSize();
@@ -154,7 +154,7 @@ void PopupList::mouseReleased(gcn::MouseEvent& mouseEvent)
releaseModalFocus();
}
-void PopupList::focusGained(const gcn::Event& event)
+void PopupList::focusGained(const Event& event)
{
const gcn::Widget *const source = event.getSource();
if (!mVisible || source == this || source == mListBox
@@ -170,7 +170,7 @@ void PopupList::focusGained(const gcn::Event& event)
releaseModalFocus();
}
-void PopupList::focusLost(const gcn::Event& event A_UNUSED)
+void PopupList::focusLost(const Event& event A_UNUSED)
{
if (mDropDown)
mDropDown->updateSelection();