* 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
This commit is contained in:
Axel Dörfler 2009-08-11 18:53:48 +00:00
parent c52bedd831
commit 113bd77e7e

View File

@ -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;