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/specialswindow.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/specialswindow.cpp')
-rw-r--r-- | src/gui/specialswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/specialswindow.cpp b/src/gui/specialswindow.cpp index 05aea6b96..1aaeba685 100644 --- a/src/gui/specialswindow.cpp +++ b/src/gui/specialswindow.cpp @@ -239,7 +239,7 @@ SpecialEntry::SpecialEntry(SpecialInfo *const info) : progress = static_cast<float>(info->rechargeCurrent) / static_cast<float>(info->rechargeNeeded); } - mRechargeBar = new ProgressBar(progress, 100, 0, Theme::PROG_MP); + mRechargeBar = new ProgressBar(this, progress, 100, 0, Theme::PROG_MP); mRechargeBar->setSmoothProgress(false); mRechargeBar->setPosition(0, 13); add(mRechargeBar); |