From 113bd77e7e52f1e1dade3b9586465690a6bfc00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 11 Aug 2009 18:53:48 +0000 Subject: [PATCH] * Made the battery frame black, this looks better on the desktop. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32260 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/powerstatus/PowerStatusView.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps/powerstatus/PowerStatusView.cpp b/src/apps/powerstatus/PowerStatusView.cpp index cb2302f97a..60cc223a2c 100644 --- a/src/apps/powerstatus/PowerStatusView.cpp +++ b/src/apps/powerstatus/PowerStatusView.cpp @@ -167,7 +167,7 @@ PowerStatusView::_DrawBattery(BRect rect) float left = rect.left; rect.left += rect.Width() / 11; - SetHighColor(84, 84, 84); + SetHighColor(0, 0, 0); float gap = 1; if (rect.Height() > 8) { @@ -201,9 +201,8 @@ PowerStatusView::_DrawBattery(BRect rect) base.set_to(180, 0, 0); else base.set_to(20, 180, 0); - } else { - base = HighColor(); - } + } else + base.set_to(84, 84, 84); rect.InsetBy(gap, gap); rect.right = rect.left + rect.Width() * percent / 100.0;