diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-09 16:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-09 16:35:22 +0300 |
commit | 848d757b0d801780253d34bf11ebd88c26254ff0 (patch) | |
tree | 478a5f02efdff332200eacf3f81739cb16195f63 /src | |
parent | b90b75b19839d8141cc682fe4b97532e706b16bd (diff) | |
download | manaplus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.gz manaplus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.bz2 manaplus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.xz manaplus-848d757b0d801780253d34bf11ebd88c26254ff0.zip |
add background color for arrows bar.
New progress color: ARROWS.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/theme.cpp | 1 | ||||
-rw-r--r-- | src/gui/theme.h | 1 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 85d1e2116..ff2d66c67 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1055,6 +1055,7 @@ static int readProgressType(const std::string &type) "JOB", "UPDATE", "MONEY", + "ARROWS" }; if (type.empty()) diff --git a/src/gui/theme.h b/src/gui/theme.h index 84f7d2bb5..1a94bdb53 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -422,6 +422,7 @@ class Theme final : public Palette, public ConfigListener PROG_JOB, PROG_UPDATE, PROG_MONEY, + PROG_ARROWS, THEME_PROG_END }; diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 51935bb4c..14508b334 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_INVY_SLOTS, + mArrowsBar(createBar(0, 50, 0, Theme::SLOTS_BAR, Theme::PROG_ARROWS, // TRANSLATORS: status bar name "arrows bar", _("arrows bar"))), mStatusBar(createBar(100, (config.getIntValue("fontSize") > 16 |