summaryrefslogtreecommitdiff
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
parentb90b75b19839d8141cc682fe4b97532e706b16bd (diff)
downloadplus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.gz
plus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.bz2
plus-848d757b0d801780253d34bf11ebd88c26254ff0.tar.xz
plus-848d757b0d801780253d34bf11ebd88c26254ff0.zip
add background color for arrows bar.
New progress color: ARROWS.
-rw-r--r--data/graphics/gui/colors.xml1
-rw-r--r--data/themes/blacknblack/colors.xml1
-rw-r--r--data/themes/blackwood/colors.xml1
-rw-r--r--data/themes/enchilado/colors.xml1
-rw-r--r--data/themes/jewelry/colors.xml1
-rw-r--r--data/themes/mana/colors.xml1
-rw-r--r--data/themes/pink/colors.xml1
-rw-r--r--data/themes/unity/colors.xml1
-rw-r--r--data/themes/wood/colors.xml1
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
12 files changed, 12 insertions, 1 deletions
diff --git a/data/graphics/gui/colors.xml b/data/graphics/gui/colors.xml
index 1d70fa434..567db112c 100644
--- a/data/graphics/gui/colors.xml
+++ b/data/graphics/gui/colors.xml
@@ -124,4 +124,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/blacknblack/colors.xml b/data/themes/blacknblack/colors.xml
index 05f428a17..08eda2504 100644
--- a/data/themes/blacknblack/colors.xml
+++ b/data/themes/blacknblack/colors.xml
@@ -125,4 +125,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/blackwood/colors.xml b/data/themes/blackwood/colors.xml
index 7168f1529..7d848a908 100644
--- a/data/themes/blackwood/colors.xml
+++ b/data/themes/blackwood/colors.xml
@@ -124,4 +124,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/enchilado/colors.xml b/data/themes/enchilado/colors.xml
index 41b307632..6efc2eb8b 100644
--- a/data/themes/enchilado/colors.xml
+++ b/data/themes/enchilado/colors.xml
@@ -125,4 +125,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/jewelry/colors.xml b/data/themes/jewelry/colors.xml
index 2921e09d6..7fda5b66f 100644
--- a/data/themes/jewelry/colors.xml
+++ b/data/themes/jewelry/colors.xml
@@ -389,4 +389,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/mana/colors.xml b/data/themes/mana/colors.xml
index a3b1b125a..81ec67d5c 100644
--- a/data/themes/mana/colors.xml
+++ b/data/themes/mana/colors.xml
@@ -125,4 +125,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/pink/colors.xml b/data/themes/pink/colors.xml
index 81f49149a..028c79ced 100644
--- a/data/themes/pink/colors.xml
+++ b/data/themes/pink/colors.xml
@@ -125,4 +125,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/unity/colors.xml b/data/themes/unity/colors.xml
index 7ee51cdf0..49e48d529 100644
--- a/data/themes/unity/colors.xml
+++ b/data/themes/unity/colors.xml
@@ -124,4 +124,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
diff --git a/data/themes/wood/colors.xml b/data/themes/wood/colors.xml
index f4d59a61e..f9985e4f8 100644
--- a/data/themes/wood/colors.xml
+++ b/data/themes/wood/colors.xml
@@ -125,4 +125,5 @@
<progressbar id="JOB" color="#e187cb" />
<progressbar id="UPDATE" color="#969696" />
<progressbar id="MONEY" color="#e1c819" />
+ <progressbar id="ARROWS" color="#e1c819" />
</colors>
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