summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 22:58:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 22:58:18 +0300
commit25f7a598965384801dfd11f3abb8dbeb0df3f078 (patch)
tree16e54c640884f766dfa4e972df8b716c0acbc565 /src/gui/widgets/progressbar.cpp
parent33d882f071b4445bcb41921c99be7f33217897b1 (diff)
downloadplus-25f7a598965384801dfd11f3abb8dbeb0df3f078.tar.gz
plus-25f7a598965384801dfd11f3abb8dbeb0df3f078.tar.bz2
plus-25f7a598965384801dfd11f3abb8dbeb0df3f078.tar.xz
plus-25f7a598965384801dfd11f3abb8dbeb0df3f078.zip
move bools in progressbar.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r--src/gui/widgets/progressbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp
index caaec19b0..f76c9610e 100644
--- a/src/gui/widgets/progressbar.cpp
+++ b/src/gui/widgets/progressbar.cpp
@@ -47,17 +47,17 @@ ProgressBar::ProgressBar(const Widget2 *const widget, float progress,
mSkin(nullptr),
mProgress(progress),
mProgressToGo(progress),
- mSmoothProgress(true),
- mProgressPalette(color),
mColor(Theme::getProgressColor(color >= 0 ? color : 0, mProgress)),
mColorToGo(mColor),
- mSmoothColorChange(true),
+ mOutlineColor(getThemeColor(Theme::OUTLINE)),
mText(),
mVertexes(new ImageCollection),
- mRedraw(true),
+ mProgressPalette(color),
mPadding(2),
mFillPadding(3),
- mOutlineColor(getThemeColor(Theme::OUTLINE))
+ mSmoothProgress(true),
+ mSmoothColorChange(true),
+ mRedraw(true)
{
// The progress value is directly set at load time:
if (mProgress > 1.0f || mProgress < 0.0f)