diff options
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; }; |