summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 16:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 16:35:22 +0300
commit848d757b0d801780253d34bf11ebd88c26254ff0 (patch)
tree478a5f02efdff332200eacf3f81739cb16195f63 /src
parentb90b75b19839d8141cc682fe4b97532e706b16bd (diff)
downloadmanaverse-848d757b0d801780253d34bf11ebd88c26254ff0.tar.gz
manaverse-848d757b0d801780253d34bf11ebd88c26254ff0.tar.bz2
manaverse-848d757b0d801780253d34bf11ebd88c26254ff0.tar.xz
manaverse-848d757b0d801780253d34bf11ebd88c26254ff0.zip
add background color for arrows bar.
New progress color: ARROWS.
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
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