diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 15:04:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 15:08:24 +0300 |
commit | 07121956f882dce22235868a25e0c2df96fb828a (patch) | |
tree | 5078133e95d7b55c4811e09c9dc4f53261e62fe9 /src/gui/widgets/textfield.cpp | |
parent | f57b683f8f9909ba7787c33a4953869a2ce04a5c (diff) | |
download | manaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.gz manaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.bz2 manaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.xz manaverse-07121956f882dce22235868a25e0c2df96fb828a.zip |
Move theme colors enum into separate file.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index b58f654b0..8639d8f80 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -110,7 +110,7 @@ TextField::TextField(const Widget2 *restrict const widget, mTextChunk(), mCaretPosition(0), mXScroll(0), - mCaretColor(&getThemeColor(Theme::CARET)), + mCaretColor(&getThemeColor(ThemeColorId::CARET)), mMinimum(0), mMaximum(0), mLastEventPaste(false), @@ -127,8 +127,8 @@ TextField::TextField(const Widget2 *restrict const widget, addKeyListener(this); setFrameSize(2); - mForegroundColor = getThemeColor(Theme::TEXTFIELD); - mForegroundColor2 = getThemeColor(Theme::TEXTFIELD_OUTLINE); + mForegroundColor = getThemeColor(ThemeColorId::TEXTFIELD); + mForegroundColor2 = getThemeColor(ThemeColorId::TEXTFIELD_OUTLINE); addFocusListener(this); |