diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-21 19:46:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-21 19:46:04 +0300 |
commit | e341fa804eab732bba47e1fc1ff155d25b0142c0 (patch) | |
tree | 2cc255fcb4181162de2d4b101293dcb265931ac3 /src/gui/widgets/passwordfield.h | |
parent | dfb302bb66f032eb0c7eb4bc0934fdf0571a1d3a (diff) | |
download | manaverse-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.gz manaverse-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.bz2 manaverse-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.xz manaverse-e341fa804eab732bba47e1fc1ff155d25b0142c0.zip |
Extend password field theming.
New theme parameter:
passwordChar - ASCII code for password char. If zero password invisible.
Diffstat (limited to 'src/gui/widgets/passwordfield.h')
-rw-r--r-- | src/gui/widgets/passwordfield.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |