summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-21 19:46:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-21 19:46:04 +0300
commite341fa804eab732bba47e1fc1ff155d25b0142c0 (patch)
tree2cc255fcb4181162de2d4b101293dcb265931ac3 /src/gui/widgets/textfield.h
parentdfb302bb66f032eb0c7eb4bc0934fdf0571a1d3a (diff)
downloadplus-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.gz
plus-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.bz2
plus-e341fa804eab732bba47e1fc1ff155d25b0142c0.tar.xz
plus-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/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index dc35cfe70..f4592e292 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -124,6 +124,8 @@ class TextField : public gcn::TextField,
bool mSendAlwaysEvents;
+ static Skin *mSkin;
+
private:
void handlePaste();
@@ -132,7 +134,6 @@ class TextField : public gcn::TextField,
static int instances;
static float mAlpha;
static ImageRect skin;
- static Skin *mSkin;
bool mNumeric;
int mMinimum;
unsigned mMaximum;