summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-03 21:28:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-03 21:28:50 +0300
commitbbc361c48389875a8a67d138bc05aad30070b916 (patch)
tree8d2fcdf36e953b54904357b0a14a76bb469c2337 /src/gui/widgets/progressbar.cpp
parent54a54eb5317650fc3306d200517bcc48bb7f1d9c (diff)
downloadmv-bbc361c48389875a8a67d138bc05aad30070b916.tar.gz
mv-bbc361c48389875a8a67d138bc05aad30070b916.tar.bz2
mv-bbc361c48389875a8a67d138bc05aad30070b916.tar.xz
mv-bbc361c48389875a8a67d138bc05aad30070b916.zip
add UPDATE color into progress bar colors.
New progress color: UPDATE. also removed DEFAULT progress color.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r--src/gui/widgets/progressbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp
index de30feeef..51faed2ae 100644
--- a/src/gui/widgets/progressbar.cpp
+++ b/src/gui/widgets/progressbar.cpp
@@ -37,19 +37,19 @@ float ProgressBar::mAlpha = 1.0;
ProgressBar::ProgressBar(const Widget2 *const widget, float progress,
const int width, const int height,
- const int color):
+ const int backColor):
gcn::Widget(),
Widget2(widget),
gcn::WidgetListener(),
mSkin(nullptr),
mProgress(progress),
mProgressToGo(progress),
- mColor(Theme::getProgressColor(color >= 0 ? color : 0, mProgress)),
+ mColor(Theme::getProgressColor(backColor >= 0 ? backColor : 0, mProgress)),
mColorToGo(mColor),
mOutlineColor(getThemeColor(Theme::OUTLINE)),
mText(),
mVertexes(new ImageCollection),
- mProgressPalette(color),
+ mProgressPalette(backColor),
mPadding(2),
mFillPadding(3),
mSmoothProgress(true),