From 07121956f882dce22235868a25e0c2df96fb828a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 15:04:01 +0300 Subject: Move theme colors enum into separate file. --- src/gui/widgets/textfield.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/textfield.cpp') 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); -- cgit v1.2.3-60-g2f50