diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-04 16:24:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-04 16:24:17 +0300 |
commit | cdca37e368923c0298691847eba1c394a287e52f (patch) | |
tree | 77a3b0190aae27cb8095e8817bd022cd8c9c8fb4 /src/gui/theme.cpp | |
parent | bbc361c48389875a8a67d138bc05aad30070b916 (diff) | |
download | manaverse-cdca37e368923c0298691847eba1c394a287e52f.tar.gz manaverse-cdca37e368923c0298691847eba1c394a287e52f.tar.bz2 manaverse-cdca37e368923c0298691847eba1c394a287e52f.tar.xz manaverse-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.cpp | 6 |
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()) |