summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popuplist.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-15 23:21:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-15 23:52:24 +0300
commit54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 (patch)
tree4bcee0ad9757bc328bae9c0435a3a1e8d85f1676 /src/gui/widgets/popuplist.h
parent62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4 (diff)
downloadmanaplus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.gz
manaplus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.bz2
manaplus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.tar.xz
manaplus-54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3.zip
Allow hide popup list if focus lost.
Diffstat (limited to 'src/gui/widgets/popuplist.h')
-rw-r--r--src/gui/widgets/popuplist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h
index f0b195a47..a74d82c20 100644
--- a/src/gui/widgets/popuplist.h
+++ b/src/gui/widgets/popuplist.h
@@ -43,6 +43,8 @@ class PopupList final : public Popup,
PopupList(DropDown *const widget,
gcn::ListModel *const listModel);
+ ~PopupList();
+
A_DELETE_COPY(PopupList)
void show(int x, int y);
@@ -62,6 +64,8 @@ class PopupList final : public Popup,
void valueChanged(const gcn::SelectionEvent& event);
+ void focusGained(const gcn::Event& event A_UNUSED);
+
void focusLost(const gcn::Event& event A_UNUSED);
private: