summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 15:47:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 15:47:26 +0300
commitb90b75b19839d8141cc682fe4b97532e706b16bd (patch)
tree316596bafd799ea0586f9f436b150145d3cced24 /src
parentf39fa842516cf53ecc34e735ba687c545023334f (diff)
downloadplus-b90b75b19839d8141cc682fe4b97532e706b16bd.tar.gz
plus-b90b75b19839d8141cc682fe4b97532e706b16bd.tar.bz2
plus-b90b75b19839d8141cc682fe4b97532e706b16bd.tar.xz
plus-b90b75b19839d8141cc682fe4b97532e706b16bd.zip
Add text colors for money bar.
New theme colors: MONEY_BAR, MONEY_BAR_OUTLINE
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp4
-rw-r--r--src/gui/theme.h2
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 93321cee2..85d1e2116 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -962,7 +962,9 @@ static int readColorType(const std::string &type)
"XP_BAR",
"XP_BAR_OUTLINE",
"WEIGHT_BAR",
- "WEIGHT_BAR_OUTLINE"
+ "WEIGHT_BAR_OUTLINE",
+ "MONEY_BAR",
+ "MONEY_BAR_OUTLINE"
};
if (type.empty())
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 99b74c512..84f7d2bb5 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -406,6 +406,8 @@ class Theme final : public Palette, public ConfigListener
XP_BAR_OUTLINE,
WEIGHT_BAR,
WEIGHT_BAR_OUTLINE,
+ MONEY_BAR,
+ MONEY_BAR_OUTLINE,
THEME_COLORS_END
};
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index d7ab27718..51935bb4c 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_MONEY,
+ mMoneyBar(createBar(0, 130, 0, Theme::MONEY_BAR, Theme::PROG_MONEY,
// TRANSLATORS: status bar name
"money bar", _("money bar"))),
mArrowsBar(createBar(0, 50, 0, Theme::SLOTS_BAR, Theme::PROG_INVY_SLOTS,