diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:30:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | b6b4ea19929e7e67d987041aa129366f4fed3a6d (patch) | |
tree | 8bcc999ef4ae32aabd10a4109fb5e8c57067c18d /src/gui/widgets/progressbar.cpp | |
parent | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (diff) | |
download | manaplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.gz manaplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.bz2 manaplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.xz manaplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.zip |
Add palette inheritance to progressbar class.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index 485529c2c..75aa3063c 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -40,11 +40,11 @@ int ProgressBar::mInstances = 0; float ProgressBar::mAlpha = 1.0; -ProgressBar::ProgressBar(float progress, +ProgressBar::ProgressBar(const Widget2 *const widget, float progress, const int width, const int height, const int color): gcn::Widget(), - Widget2(), + Widget2(widget), gcn::WidgetListener(), mProgress(progress), mProgressToGo(progress), |