summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/progressbar.h')
-rw-r--r--src/gui/widgets/progressbar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h
index d3a4c100..d7289816 100644
--- a/src/gui/widgets/progressbar.h
+++ b/src/gui/widgets/progressbar.h
@@ -54,7 +54,7 @@ class ProgressBar : public gcn::Widget
/**
* Update the alpha value to the graphic components.
*/
- void updateAlpha();
+ static void updateAlpha();
/**
* Draws the progress bar.
@@ -120,12 +120,12 @@ class ProgressBar : public gcn::Widget
private:
float mProgress, mProgressToGo;
- bool mSmoothProgress;
+ bool mSmoothProgress = true;
int mProgressPalette; /** < Entry in ProgressPalette or -1 for none. */
gcn::Color mColor;
gcn::Color mColorToGo;
- bool mSmoothColorChange;
+ bool mSmoothColorChange = true;
std::string mText;