diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-09 15:11:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-09 15:11:31 +0300 |
commit | 2e5188851e2267a4e5e84170a7e0d55678972c7b (patch) | |
tree | 391c8b3277b3214f2706b85962e7d5a093c40f00 /src/gui | |
parent | e6848c0aa8b1447c5e19bd1923f3fbd2866e635b (diff) | |
download | plus-2e5188851e2267a4e5e84170a7e0d55678972c7b.tar.gz plus-2e5188851e2267a4e5e84170a7e0d55678972c7b.tar.bz2 plus-2e5188851e2267a4e5e84170a7e0d55678972c7b.tar.xz plus-2e5188851e2267a4e5e84170a7e0d55678972c7b.zip |
add background color for money bar.
New progress color: MONEY.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/theme.cpp | 3 | ||||
-rw-r--r-- | src/gui/theme.h | 1 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index c69335a07..0d974209d 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1051,7 +1051,8 @@ static int readProgressType(const std::string &type) "INVY_SLOTS", "WEIGHT", "JOB", - "UPDATE" + "UPDATE", + "MONEY", }; if (type.empty()) diff --git a/src/gui/theme.h b/src/gui/theme.h index 155ff6b6a..99b74c512 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -419,6 +419,7 @@ class Theme final : public Palette, public ConfigListener PROG_WEIGHT, PROG_JOB, PROG_UPDATE, + PROG_MONEY, THEME_PROG_END }; diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 4cc913eb9..d7ab27718 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -82,7 +82,7 @@ MiniStatusWindow::MiniStatusWindow() : Theme::SLOTS_BAR, Theme::PROG_INVY_SLOTS, // TRANSLATORS: status bar name "inventory slots bar", _("inventory slots bar"))), - mMoneyBar(createBar(0, 130, 0, Theme::SLOTS_BAR, Theme::PROG_INVY_SLOTS, + mMoneyBar(createBar(0, 130, 0, Theme::SLOTS_BAR, Theme::PROG_MONEY, // TRANSLATORS: status bar name "money bar", _("money bar"))), mArrowsBar(createBar(0, 50, 0, Theme::SLOTS_BAR, Theme::PROG_INVY_SLOTS, |