From cdca37e368923c0298691847eba1c394a287e52f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Dec 2013 16:24:17 +0300 Subject: Add new color for slots progress bar in inventory. New colors: SLOTS_BAR, SLOTS_BAR_OUTLINE. --- src/gui/windows/statuswindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/statuswindow.cpp') 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) -- cgit v1.2.3-70-g09d2