summaryrefslogtreecommitdiff
path: root/src/gui/textdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-07 23:37:50 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-07 23:37:50 +0300
commit725c8a943ca6ce33a6abefe08003d619de312ddc (patch)
tree9fb38e38771416936e59bd5f51627367e7b8c149 /src/gui/textdialog.h
parent2a4649185cda0788444452168ddcf665af7f17b5 (diff)
downloadManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.gz
ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.bz2
ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.xz
ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.zip
Ask account password before deleting char.
Diffstat (limited to 'src/gui/textdialog.h')
-rw-r--r--src/gui/textdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/textdialog.h b/src/gui/textdialog.h
index bacc4dfb7..aed26c1e9 100644
--- a/src/gui/textdialog.h
+++ b/src/gui/textdialog.h
@@ -27,6 +27,7 @@
#include <guichan/actionlistener.hpp>
+class PasswordField;
class TextField;
/**
@@ -43,7 +44,7 @@ public:
* @see Window::Window
*/
TextDialog(const std::string &title, const std::string &msg,
- Window *parent = 0);
+ Window *parent = 0, bool isPassword = false);
~TextDialog();
@@ -68,6 +69,7 @@ private:
static int instances;
TextField *mTextField;
+ PasswordField *mPasswordField;
gcn::Button *mOkButton;
bool mEnabledKeyboard;
};