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/ministatuswindow.cpp | |
parent | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (diff) | |
download | manaverse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.gz manaverse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.bz2 manaverse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.xz manaverse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.zip |
Add palette inheritance to progressbar class.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r-- | src/gui/ministatuswindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index 6309f10c1..99bbcaa1c 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -139,7 +139,8 @@ ProgressBar *MiniStatusWindow::createBar(const float progress, const int color, std::string name, std::string description) { - ProgressBar *const bar = new ProgressBar(progress, width, height, color); + ProgressBar *const bar = new ProgressBar(this, + progress, width, height, color); bar->setActionEventId(name); bar->setId(description); mBars.push_back(bar); |