summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 17:22:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 17:22:06 +0300
commit9e34f49d48d6e07edd307888230d4d3e4f8ecfb3 (patch)
tree8367d709604894a514d0c796d3cc5cff350d4920 /src/gui/theme.cpp
parent0677e4c9777eaad3dacbd4079939c501fec6f58b (diff)
downloadmv-9e34f49d48d6e07edd307888230d4d3e4f8ecfb3.tar.gz
mv-9e34f49d48d6e07edd307888230d4d3e4f8ecfb3.tar.bz2
mv-9e34f49d48d6e07edd307888230d4d3e4f8ecfb3.tar.xz
mv-9e34f49d48d6e07edd307888230d4d3e4f8ecfb3.zip
add background color for status (yellow) bar.
New progress color: STATUS.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 816fdcaa5..3f1064d1a 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -1046,7 +1046,7 @@ static Palette::GradientType readColorGradient(const std::string &grad)
static int readProgressType(const std::string &type)
{
- static const std::string colors[] =
+ static const std::string colors[Theme::THEME_PROG_END] =
{
"HP",
"MP",
@@ -1057,7 +1057,8 @@ static int readProgressType(const std::string &type)
"JOB",
"UPDATE",
"MONEY",
- "ARROWS"
+ "ARROWS",
+ "STATUS"
};
if (type.empty())