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/progressbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/progressbar.cpp') diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index da11c779d..dfba99892 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -65,13 +65,13 @@ ProgressBar::ProgressBar(const Widget2 *const widget, mBackgroundColor = Theme::getProgressColor(backColor >= 0 ? backColor : 0, mProgress); mBackgroundColorToGo = mBackgroundColor; - mForegroundColor2 = getThemeColor(Theme::PROGRESS_BAR_OUTLINE); + mForegroundColor2 = getThemeColor(ThemeColorId::PROGRESS_BAR_OUTLINE); // The progress value is directly set at load time: if (mProgress > 1.0F || mProgress < 0.0F) mProgress = 1.0F; - mForegroundColor = getThemeColor(Theme::PROGRESS_BAR); + mForegroundColor = getThemeColor(ThemeColorId::PROGRESS_BAR); addWidgetListener(this); setSize(width, height); -- cgit v1.2.3-60-g2f50