From e341fa804eab732bba47e1fc1ff155d25b0142c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Oct 2012 19:46:04 +0300 Subject: Extend password field theming. New theme parameter: passwordChar - ASCII code for password char. If zero password invisible. --- src/gui/widgets/passwordfield.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/passwordfield.h') diff --git a/src/gui/widgets/passwordfield.h b/src/gui/widgets/passwordfield.h index 69aaa32fc..87b248221 100644 --- a/src/gui/widgets/passwordfield.h +++ b/src/gui/widgets/passwordfield.h @@ -45,6 +45,9 @@ class PasswordField final : public TextField * Draws the password field. */ void draw(gcn::Graphics *graphics) override; + + protected: + int mPasswordChar; }; #endif -- cgit v1.2.3-70-g09d2