summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 21:02:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commit213a21e4c079113e5822d2cf90802d6dcb2cb232 (patch)
tree9d3ae306575ef0dc5c3b8346673e2f246b5e427e /src/gui/widgets/textfield.cpp
parentc632452430cb3f886da38fa315cb27a3a3a10d2c (diff)
downloadmanaverse-213a21e4c079113e5822d2cf90802d6dcb2cb232.tar.gz
manaverse-213a21e4c079113e5822d2cf90802d6dcb2cb232.tar.bz2
manaverse-213a21e4c079113e5822d2cf90802d6dcb2cb232.tar.xz
manaverse-213a21e4c079113e5822d2cf90802d6dcb2cb232.zip
In all controls, call Widget2 methods to get colors.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r--src/gui/widgets/textfield.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index 690bddcd9..6c11d2e17 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -58,10 +58,10 @@ TextField::TextField(const std::string &text, const bool loseFocusOnTab,
mMaximum(0),
mLoseFocusOnTab(loseFocusOnTab),
mLastEventPaste(false),
- mCaretColor(&Theme::getThemeColor(Theme::CARET))
+ mCaretColor(&getThemeColor(Theme::CARET))
{
setFrameSize(2);
- mForegroundColor = Theme::getThemeColor(Theme::TEXTFIELD);
+ mForegroundColor = getThemeColor(Theme::TEXTFIELD);
if (instances == 0)
{