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, 4 insertions, 12 deletions
diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h
index e26dd870..b647b9a1 100644
--- a/src/gui/npc_text.h
+++ b/src/gui/npc_text.h
@@ -57,23 +57,16 @@ class NpcTextDialog : public Window, public gcn::ActionListener
void widgetResized(const gcn::Event &event);
/**
- * Redraws the window
- */
- void draw();
-
- /**
* Called when receiving actions from the widgets.
*/
- void
- action(const gcn::ActionEvent &event);
+ void action(const gcn::ActionEvent &event);
/**
* Sets the text shows in the dialog.
*
* @param string The new text.
*/
- void
- setText(const std::string &string);
+ void setText(const std::string &string);
/**
* Adds the text to the text shows in the dialog. Also adds a newline
@@ -81,8 +74,7 @@ class NpcTextDialog : public Window, public gcn::ActionListener
*
* @param string The text to add.
*/
- void
- addText(const std::string &string);
+ void addText(const std::string &string);
private:
gcn::Button *okButton;
@@ -92,4 +84,4 @@ class NpcTextDialog : public Window, public gcn::ActionListener
std::string mText;
};
-#endif
+#endif // _TMW_NPC_TEXT_H