summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npc_text.h')
-rw-r--r--src/gui/npc_text.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h
index 2c9771d3..939fb8fa 100644
--- a/src/gui/npc_text.h
+++ b/src/gui/npc_text.h
@@ -45,6 +45,18 @@ class NpcTextDialog : public Window, public gcn::ActionListener
NpcTextDialog();
/**
+ * Called when resizing the window
+ *
+ * @param event The calling event
+ */
+ void widgetResized(const gcn::Event &event);
+
+ /**
+ * Redraws the window
+ */
+ void draw();
+
+ /**
* Called when receiving actions from the widgets.
*/
void
@@ -68,7 +80,11 @@ class NpcTextDialog : public Window, public gcn::ActionListener
addText(const std::string &string);
private:
+ gcn::Button *okButton;
+ gcn::ScrollArea *scrollArea;
TextBox *mTextBox;
+
+ std::string mText;
};
#endif