From b047811ba2e0fd8ced277f9b3f7bc35d6c274e09 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sat, 1 Mar 2008 01:41:07 +0000 Subject: Replaced the basic guichan text field class with our derivate class. --- src/gui/textdialog.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/gui/textdialog.h') diff --git a/src/gui/textdialog.h b/src/gui/textdialog.h index f8ec0172..e14ab26b 100644 --- a/src/gui/textdialog.h +++ b/src/gui/textdialog.h @@ -24,7 +24,9 @@ #ifndef _TMW_GUI_GUILD_DIALOG_H #define _TMW_GUI_GUILD_DIALOG_H -#include +#include + +#include "textfield.h" #include "window.h" @@ -43,24 +45,24 @@ public: */ TextDialog(const std::string &title, const std::string &msg, Window *parent = NULL); - + /** * Called when receiving actions from the widgets. */ void action(const gcn::ActionEvent &event); - + /** * Get the text in the textfield */ const std::string& getText() const; - + /** * Set the OK button action id */ void setOKButtonActionId(const std::string &name); - + private: - gcn::TextField *textField; + TextField *textField; gcn::Button *okButton; }; -- cgit v1.2.3-70-g09d2