From cdca37e368923c0298691847eba1c394a287e52f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Dec 2013 16:24:17 +0300 Subject: Add new color for slots progress bar in inventory. New colors: SLOTS_BAR, SLOTS_BAR_OUTLINE. --- src/gui/theme.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/theme.cpp') 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()) -- cgit v1.2.3-60-g2f50