diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-03 14:56:07 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-03 14:56:07 -0600 |
commit | 8222f5bc57bd9da1db8fa18bddcb80da87f6fba4 (patch) | |
tree | bab1130bd94e8137e26048041060727e69c556b9 /src/gui/npcdialog.h | |
parent | 19bf50bbff325024c2ed9ad724aeb6acb39bae39 (diff) | |
download | mana-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.h | 6 |
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, |