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/listbox.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/listbox.cpp') diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index 4d7befa8c..0a38d6133 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -93,9 +93,9 @@ ListBox::ListBox(const Widget2 *const widget, mListModel(listModel), mWrappingEnabled(false), mSelectionListeners(), - mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), - mForegroundSelectedColor(getThemeColor(Theme::LISTBOX_SELECTED)), - mForegroundSelectedColor2(getThemeColor(Theme::LISTBOX_SELECTED_OUTLINE)), + mHighlightColor(getThemeColor(ThemeColorId::HIGHLIGHT)), + mForegroundSelectedColor(getThemeColor(ThemeColorId::LISTBOX_SELECTED)), + mForegroundSelectedColor2(getThemeColor(ThemeColorId::LISTBOX_SELECTED_OUTLINE)), mOldSelected(-1), mPadding(0), mPressedIndex(-2), @@ -110,8 +110,8 @@ ListBox::ListBox(const Widget2 *const widget, addMouseListener(this); addKeyListener(this); - mForegroundColor = getThemeColor(Theme::LISTBOX); - mForegroundColor2 = getThemeColor(Theme::LISTBOX_OUTLINE); + mForegroundColor = getThemeColor(ThemeColorId::LISTBOX); + mForegroundColor2 = getThemeColor(ThemeColorId::LISTBOX_OUTLINE); if (theme) mSkin = theme->load(skin, "listbox.xml"); -- cgit v1.2.3-60-g2f50