summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
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,