diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-07 23:37:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-07 23:37:50 +0300 |
commit | 725c8a943ca6ce33a6abefe08003d619de312ddc (patch) | |
tree | 9fb38e38771416936e59bd5f51627367e7b8c149 /src/gui/textdialog.h | |
parent | 2a4649185cda0788444452168ddcf665af7f17b5 (diff) | |
download | manaplus-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.gz manaplus-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.bz2 manaplus-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.xz manaplus-725c8a943ca6ce33a6abefe08003d619de312ddc.zip |
Ask account password before deleting char.
Diffstat (limited to 'src/gui/textdialog.h')
-rw-r--r-- | src/gui/textdialog.h | 4 |
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; }; |