summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-02 22:05:37 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-02 22:05:37 -0600
commitd592883f61eef2abb7829a6b624d2c85fe54dd5e (patch)
treef5ee4e94f8d57f251e5389a17538573f441aae98 /src/gui/npcdialog.h
parent8a3a417e3a3c083414d35de0f0dad91edde09276 (diff)
downloadMana-d592883f61eef2abb7829a6b624d2c85fe54dd5e.tar.gz
Mana-d592883f61eef2abb7829a6b624d2c85fe54dd5e.tar.bz2
Mana-d592883f61eef2abb7829a6b624d2c85fe54dd5e.tar.xz
Mana-d592883f61eef2abb7829a6b624d2c85fe54dd5e.zip
Fix up some things in the NPC dialog
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index 93ab5e54..f49976dc 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -80,8 +80,13 @@ class NpcDialog : public Window, public gcn::ActionListener,
void addText(const std::string &string);
/**
- * When called, the widget will show a "Close" button instead of the "Next"
- * And when clicked it will close the window
+ * When called, the widget will show a "Next" button.
+ */
+ void showNextButton();
+
+ /**
+ * When called, the widget will show a "Close" button and will close
+ * the dialog when clicked.
*/
void showCloseButton();
@@ -172,6 +177,7 @@ class NpcDialog : public Window, public gcn::ActionListener,
NPCInputState mInputState;
enum NPCActionState {
+ NPC_ACTION_WAIT,
NPC_ACTION_NEXT,
NPC_ACTION_INPUT,
NPC_ACTION_CLOSE