summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-14 01:18:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-15 22:26:03 +0300
commit62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4 (patch)
tree9d69e63c1d2263aadd49afa551c23aff8ec51c2b /src/gui/popupmenu.h
parent1d290d6a54c2ea6e689446551a8d16025a179177 (diff)
downloadmanaverse-62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4.tar.gz
manaverse-62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4.tar.bz2
manaverse-62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4.tar.xz
manaverse-62a466e53cbb49c5338f8ea7f96b46e00d3b0bc4.zip
Add popup list. Replace listbox in dropdown to popup list.
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r--src/gui/popupmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h
index 9ebf8d163..431d7e7de 100644
--- a/src/gui/popupmenu.h
+++ b/src/gui/popupmenu.h
@@ -29,6 +29,7 @@
#include "actorsprite.h"
#include <guichan/actionlistener.hpp>
+#include <guichan/listmodel.hpp>
#include "localconsts.h"
@@ -165,6 +166,8 @@ class PopupMenu final : public Popup, public LinkHandler
void showChangePos(const int x, const int y);
+ void showPopup(const int x, const int y, gcn::ListModel *model);
+
/**
* Handles link action.
*/