summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-03 14:56:07 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-03 14:56:07 -0600
commit8222f5bc57bd9da1db8fa18bddcb80da87f6fba4 (patch)
treebab1130bd94e8137e26048041060727e69c556b9 /src/gui/npcdialog.h
parent19bf50bbff325024c2ed9ad724aeb6acb39bae39 (diff)
downloadMana-8222f5bc57bd9da1db8fa18bddcb80da87f6fba4.tar.gz
Mana-8222f5bc57bd9da1db8fa18bddcb80da87f6fba4.tar.bz2
Mana-8222f5bc57bd9da1db8fa18bddcb80da87f6fba4.tar.xz
Mana-8222f5bc57bd9da1db8fa18bddcb80da87f6fba4.zip
Fix some layout issues with the NPC dialog
Also add a reset button for the string and integer input modes.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index f49976dc..7741f35c 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -151,6 +151,9 @@ class NpcDialog : public Window, public gcn::ActionListener,
int mNpcId;
+ int mDefaultInt;
+ std::string mDefaultString;
+
// Used for the main input area
gcn::ScrollArea *mScrollArea;
TextBox *mTextBox;
@@ -167,6 +170,9 @@ class NpcDialog : public Window, public gcn::ActionListener,
// Used for the button
Button *mButton;
+
+ // Will reset the text and integer input to the provided default
+ Button *mResetButton;
enum NPCInputState {
NPC_INPUT_NONE,