diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-09 16:43:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-09 16:43:45 +0300 |
commit | 0677e4c9777eaad3dacbd4079939c501fec6f58b (patch) | |
tree | a998ca0b0ae848c7dbc80f10c7e2ef712951726e /src | |
parent | 848d757b0d801780253d34bf11ebd88c26254ff0 (diff) | |
download | manaverse-0677e4c9777eaad3dacbd4079939c501fec6f58b.tar.gz manaverse-0677e4c9777eaad3dacbd4079939c501fec6f58b.tar.bz2 manaverse-0677e4c9777eaad3dacbd4079939c501fec6f58b.tar.xz manaverse-0677e4c9777eaad3dacbd4079939c501fec6f58b.zip |
Add text colors for arrows bar.
New theme colors: ARROWS_BAR, ARROWS_BAR_OUTLINE
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/theme.cpp | 4 | ||||
-rw-r--r-- | src/gui/theme.h | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index ff2d66c67..816fdcaa5 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -964,7 +964,9 @@ static int readColorType(const std::string &type) "WEIGHT_BAR", "WEIGHT_BAR_OUTLINE", "MONEY_BAR", - "MONEY_BAR_OUTLINE" + "MONEY_BAR_OUTLINE", + "ARROWS_BAR", + "ARROWS_BAR_OUTLINE" }; if (type.empty()) diff --git a/src/gui/theme.h b/src/gui/theme.h index 1a94bdb53..85062a3e7 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -408,6 +408,8 @@ class Theme final : public Palette, public ConfigListener WEIGHT_BAR_OUTLINE, MONEY_BAR, MONEY_BAR_OUTLINE, + ARROWS_BAR, + ARROWS_BAR_OUTLINE, THEME_COLORS_END }; diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 14508b334..f21e53d42 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -85,7 +85,7 @@ MiniStatusWindow::MiniStatusWindow() : 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_ARROWS, + mArrowsBar(createBar(0, 50, 0, Theme::ARROWS_BAR, Theme::PROG_ARROWS, // TRANSLATORS: status bar name "arrows bar", _("arrows bar"))), mStatusBar(createBar(100, (config.getIntValue("fontSize") > 16 |