summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-04 16:24:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-04 16:24:17 +0300
commitcdca37e368923c0298691847eba1c394a287e52f (patch)
tree77a3b0190aae27cb8095e8817bd022cd8c9c8fb4 /src/gui/theme.cpp
parentbbc361c48389875a8a67d138bc05aad30070b916 (diff)
downloadmanaplus-cdca37e368923c0298691847eba1c394a287e52f.tar.gz
manaplus-cdca37e368923c0298691847eba1c394a287e52f.tar.bz2
manaplus-cdca37e368923c0298691847eba1c394a287e52f.tar.xz
manaplus-cdca37e368923c0298691847eba1c394a287e52f.zip
Add new color for slots progress bar in inventory.
New colors: SLOTS_BAR, SLOTS_BAR_OUTLINE.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index fa5ec0e04..8f5d49bfa 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -768,7 +768,7 @@ ImageSet *Theme::getImageSetFromTheme(const std::string &path,
static int readColorType(const std::string &type)
{
- static const std::string colors[] =
+ static const std::string colors[Theme::THEME_COLORS_END] =
{
"BROWSERBOX",
"BROWSERBOX_OUTLINE",
@@ -949,7 +949,9 @@ static int readColorType(const std::string &type)
"BROWN_OUTLINE",
"STATUSBAR_ON",
"STATUSBAR_OFF",
- "TABLE_BACKGROUND"
+ "TABLE_BACKGROUND",
+ "SLOTS_BAR",
+ "SLOTS_BAR_OUTLINE"
};
if (type.empty())