diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-04 16:24:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-04 16:24:17 +0300 |
commit | cdca37e368923c0298691847eba1c394a287e52f (patch) | |
tree | 77a3b0190aae27cb8095e8817bd022cd8c9c8fb4 /src/gui/windows/statuswindow.cpp | |
parent | bbc361c48389875a8a67d138bc05aad30070b916 (diff) | |
download | plus-cdca37e368923c0298691847eba1c394a287e52f.tar.gz plus-cdca37e368923c0298691847eba1c394a287e52f.tar.bz2 plus-cdca37e368923c0298691847eba1c394a287e52f.tar.xz plus-cdca37e368923c0298691847eba1c394a287e52f.zip |
Add new color for slots progress bar in inventory.
New colors: SLOTS_BAR, SLOTS_BAR_OUTLINE.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index e574c7230..5d90ad078 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -713,9 +713,9 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar, bar->setProgress(50); if (player_node->getDisableGameModifiers()) - bar->setColor(Theme::getThemeColor(Theme::STATUSBAR_ON)); + bar->setBackgroundColor(Theme::getThemeColor(Theme::STATUSBAR_ON)); else - bar->setColor(Theme::getThemeColor(Theme::STATUSBAR_OFF)); + bar->setBackgroundColor(Theme::getThemeColor(Theme::STATUSBAR_OFF)); } void StatusWindow::action(const gcn::ActionEvent &event) |