diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-20 18:52:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-20 18:52:42 +0300 |
commit | 70e304a900be02a734b6ebe7517b81bbe786a79f (patch) | |
tree | 196bb1f993c39ffcb4c8019a4064001fcc1690e8 /src/gui/popups/popupmenu.h | |
parent | 8fef7cf913d6893ad0f6d52ba84f40066c1c4535 (diff) | |
download | manaverse-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.h | 4 |
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; |