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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index abea5753..07e1abb1 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -92,8 +92,9 @@ class NpcDialog : public Window,
/**
* Notifies the server that the client has performed a close action.
+ * @overrides Window::close()
*/
- void closeDialog();
+ void close();
/**
* Returns the number of items in the choices list.
@@ -157,6 +158,9 @@ class NpcDialog : public Window,
*/
static NpcDialog *getActive();
+ bool isWaitingForTheServer() const
+ { return mActionState == NPC_ACTION_WAIT; }
+
/**
* Closes all instances.
*/
@@ -196,7 +200,7 @@ class NpcDialog : public Window,
Button *mClearButton;
// Used for the button
- Button *mButton;
+ Button *mNextButton;
// Will reset the text and integer input to the provided default
Button *mResetButton;