summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.cpp
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.cpp
parentdfb302bb66f032eb0c7eb4bc0934fdf0571a1d3a (diff)
downloadManaVerse-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/textfield.cpp')
-rw-r--r--src/gui/widgets/textfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index 4e5e7e027..a31ae59fe 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -39,10 +39,10 @@
#include "debug.h"
+Skin *TextField::mSkin;
int TextField::instances = 0;
float TextField::mAlpha = 1.0;
ImageRect TextField::skin;
-Skin *TextField::mSkin;
TextField::TextField(const Widget2 *const widget,
const std::string &text, const bool loseFocusOnTab,