summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-09 19:30:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-09 19:30:29 +0300
commit84d0d0e63d8e46187f81fdbd241062f942f5e54f (patch)
treea8ec371a94f7eee2ba4b402a3d5f56720d8c8a52 /src/gui/windows
parent0669b8b097f21957ed72ae1304064743130710d9 (diff)
downloadplus-84d0d0e63d8e46187f81fdbd241062f942f5e54f.tar.gz
plus-84d0d0e63d8e46187f81fdbd241062f942f5e54f.tar.bz2
plus-84d0d0e63d8e46187f81fdbd241062f942f5e54f.tar.xz
plus-84d0d0e63d8e46187f81fdbd241062f942f5e54f.zip
Add text colors for job bar.
New theme colors: JOB_BAR, JOB_BAR_OUTLINE
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/ministatuswindow.cpp2
-rw-r--r--src/gui/windows/statuswindow.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index fb1805f22..412b1b730 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -112,7 +112,7 @@ MiniStatusWindow::MiniStatusWindow() :
if (job)
{
- mJobBar = createBar(0, 100, 0, Theme::PROGRESS_BAR, Theme::PROG_JOB,
+ mJobBar = createBar(0, 100, 0, Theme::JOB_BAR, Theme::PROG_JOB,
// TRANSLATORS: status bar name
"job bar", _("job bar"));
StatusWindow::updateJobBar(mJobBar);
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 2f3d5f1e0..e08483f5d 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -255,6 +255,8 @@ StatusWindow::StatusWindow() :
// TRANSLATORS: status window label
mJobLabel = new Label(this, _("Job:"));
mJobBar = new ProgressBar(this, 0.0F, 80, 0, Theme::PROG_JOB);
+ mJobBar->setColor(Theme::getThemeColor(Theme::JOB_BAR),
+ Theme::getThemeColor(Theme::JOB_BAR_OUTLINE));
place(3, 0, mJobLvlLabel, 3);
place(5, 2, mJobLabel).setPadding(3);