diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-12 01:53:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-12 01:53:54 +0300 |
commit | fca4273667f15afba055d3c296094f2f41c7ae91 (patch) | |
tree | d2a24602a4a60814a5927384570d2873bed83225 /src/gui/popupmenu.h | |
parent | 44e80c70513022b6c378f64d6bf5d25dda7b0e7f (diff) | |
download | plus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.gz plus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.bz2 plus-fca4273667f15afba055d3c296094f2f41c7ae91.tar.xz plus-fca4273667f15afba055d3c296094f2f41c7ae91.zip |
Add ability to add comments to npcs.
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r-- | src/gui/popupmenu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h index afa4bdfa2..3a7f27d4b 100644 --- a/src/gui/popupmenu.h +++ b/src/gui/popupmenu.h @@ -78,9 +78,13 @@ class PlayerListener : public gcn::ActionListener void setDialog(TextDialog *dialog) { mDialog = dialog; } + void setType(int type) + { mType = type; } + private: std::string mNick; TextDialog *mDialog; + int mType; }; /** @@ -171,6 +175,7 @@ class PopupMenu : public Popup, public LinkHandler TextDialog *mDialog; Button *mButton; std::string mNick; + int mType; /** * Shared code for the various showPopup functions. |