summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:30:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitb6b4ea19929e7e67d987041aa129366f4fed3a6d (patch)
tree8bcc999ef4ae32aabd10a4109fb5e8c57067c18d /src/gui/widgets/progressbar.h
parent0153e8fa499b7bbdd712339bfb3921ead15a37a2 (diff)
downloadplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.gz
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.bz2
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.xz
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.zip
Add palette inheritance to progressbar class.
Diffstat (limited to 'src/gui/widgets/progressbar.h')
-rw-r--r--src/gui/widgets/progressbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h
index 646aec97f..c754bcb6b 100644
--- a/src/gui/widgets/progressbar.h
+++ b/src/gui/widgets/progressbar.h
@@ -50,7 +50,7 @@ class ProgressBar final : public gcn::Widget,
/**
* Constructor, initializes the progress with the given value.
*/
- ProgressBar(float progress = 0.0f,
+ ProgressBar(const Widget2 *const widget, float progress = 0.0f,
const int width = 40, const int height = 7,
const int color = -1);