summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 17:35:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 17:35:47 +0300
commit0669b8b097f21957ed72ae1304064743130710d9 (patch)
tree775d5275bcd3c1b53b90544bc2e4199e07b0d5d7 /src
parent9e34f49d48d6e07edd307888230d4d3e4f8ecfb3 (diff)
downloadmv-0669b8b097f21957ed72ae1304064743130710d9.tar.gz
mv-0669b8b097f21957ed72ae1304064743130710d9.tar.bz2
mv-0669b8b097f21957ed72ae1304064743130710d9.tar.xz
mv-0669b8b097f21957ed72ae1304064743130710d9.zip
Add text colors for status (yellow) bar.
New theme colors: STATUS_BAR, STATUS_BAR_OUTLINE
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp4
-rw-r--r--src/gui/theme.h2
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 3f1064d1a..281f5b37f 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -966,7 +966,9 @@ static int readColorType(const std::string &type)
"MONEY_BAR",
"MONEY_BAR_OUTLINE",
"ARROWS_BAR",
- "ARROWS_BAR_OUTLINE"
+ "ARROWS_BAR_OUTLINE",
+ "STATUS_BAR",
+ "STATUS_BAR_OUTLINE"
};
if (type.empty())
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 95e8f84bc..9e022dfcb 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -410,6 +410,8 @@ class Theme final : public Palette, public ConfigListener
MONEY_BAR_OUTLINE,
ARROWS_BAR,
ARROWS_BAR_OUTLINE,
+ STATUS_BAR,
+ STATUS_BAR_OUTLINE,
THEME_COLORS_END
};
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index 2de6621f4..fb1805f22 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -89,7 +89,7 @@ MiniStatusWindow::MiniStatusWindow() :
// TRANSLATORS: status bar name
"arrows bar", _("arrows bar"))),
mStatusBar(createBar(100, (config.getIntValue("fontSize") > 16
- ? 250 : 165), 0, Theme::PROGRESS_BAR, Theme::PROG_STATUS,
+ ? 250 : 165), 0, Theme::STATUS_BAR, Theme::PROG_STATUS,
// TRANSLATORS: status bar name
"status bar", _("status bar"))),
mTextPopup(new TextPopup),