summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-16 14:41:24 +0000
committerJared Adams <jaxad0127@gmail.com>2009-02-16 14:43:19 +0000
commit9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330 (patch)
tree37b2da3fc74946fb180b8e60d6e32b1190775a3f /src/gui/npc_text.h
parenta1a5ebb9ef14e013ae63a71c2c28609f2a65cdaa (diff)
downloadmana-client-9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330.tar.gz
mana-client-9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330.tar.bz2
mana-client-9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330.tar.xz
mana-client-9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330.zip
Add next/close buttons for NPCs
And keep the text dialog open for the whole transaction, logging user input and keep a full record of text from the NPC (for the current transaction only).
Diffstat (limited to 'src/gui/npc_text.h')
-rw-r--r--src/gui/npc_text.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h
index cd1f58a5..604212d2 100644
--- a/src/gui/npc_text.h
+++ b/src/gui/npc_text.h
@@ -70,6 +70,10 @@ class NpcTextDialog : public Window, public gcn::ActionListener
*/
void addText(const std::string &string);
+ void showNextButton();
+
+ void showCloseButton();
+
/**
* Called when resizing the window.
*
@@ -80,6 +84,7 @@ class NpcTextDialog : public Window, public gcn::ActionListener
private:
gcn::ScrollArea *mScrollArea;
TextBox *mTextBox;
+ gcn::Button *mButton;
std::string mText;
};