summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-20 18:52:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-20 18:52:42 +0300
commit70e304a900be02a734b6ebe7517b81bbe786a79f (patch)
tree196bb1f993c39ffcb4c8019a4064001fcc1690e8 /src/gui/popups/popupmenu.h
parent8fef7cf913d6893ad0f6d52ba84f40066c1c4535 (diff)
downloadmanaverse-70e304a900be02a734b6ebe7517b81bbe786a79f.tar.gz
manaverse-70e304a900be02a734b6ebe7517b81bbe786a79f.tar.bz2
manaverse-70e304a900be02a734b6ebe7517b81bbe786a79f.tar.xz
manaverse-70e304a900be02a734b6ebe7517b81bbe786a79f.zip
In popupmenu get group for local player before each menu.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 9816afb93..d97021737 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -57,6 +57,7 @@ class TextDialog;
class TextField;
class Window;
+struct GroupInfo;
struct SkillInfo;
/**
@@ -203,6 +204,8 @@ class PopupMenu final : public Popup, public LinkHandler
void select();
private:
+ void initPopup();
+
void setMousePos();
void setMousePos2();
@@ -285,6 +288,7 @@ class PopupMenu final : public Popup, public LinkHandler
PlayerListener mPlayerListener;
TextDialog *mDialog;
Button *mButton;
+ const GroupInfo *mGroup;
std::string mName;
std::string mExtName;
TextField *mTextField;