summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorBlue <bluesansdouze@gmail.com>2009-05-03 23:30:41 +0200
committerJared Adams <jaxad0127@gmail.com>2009-05-03 15:36:17 -0600
commit3a274b8e8c1183e2ef37a5ac0d75849db5560fb3 (patch)
treebebf3c320307ef92f9f765b6a983e92d5838922f /src/gui/npcdialog.h
parent05cd6e178814ccbab62e593a79332ab7aa95a963 (diff)
downloadmana-3a274b8e8c1183e2ef37a5ac0d75849db5560fb3.tar.gz
mana-3a274b8e8c1183e2ef37a5ac0d75849db5560fb3.tar.bz2
mana-3a274b8e8c1183e2ef37a5ac0d75849db5560fb3.tar.xz
mana-3a274b8e8c1183e2ef37a5ac0d75849db5560fb3.zip
NPC Integer input plus and minus
Added plus and minus buttons on NPC Integer input. No server side modifications.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index 7741f35c..2adcc9c1 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -163,17 +163,19 @@ class NpcDialog : public Window, public gcn::ActionListener,
ListBox *mItemList;
gcn::ScrollArea *mListScrollArea;
std::vector<std::string> mItems;
-
+
// Used for string and integer input
TextField *mTextField;
IntTextField *mIntField;
+ Button *mPlusButton;
+ Button *mMinusButton;
// Used for the button
Button *mButton;
// Will reset the text and integer input to the provided default
Button *mResetButton;
-
+
enum NPCInputState {
NPC_INPUT_NONE,
NPC_INPUT_LIST,