More tweaks to the notification window looks

The color stripe for error and important notifications is now 3 pixel
wide only. We still need a better choice of colors here.
This commit is contained in:
Adrien Destugues 2014-06-17 08:22:47 +02:00
parent 94aa0c624b
commit 69631a6a05

View File

@ -241,7 +241,12 @@ NotificationView::Draw(BRect updateRect)
BRect stripeRect = Bounds();
stripeRect.right = kIconStripeWidth;
SetHighColor(tint_color(ui_color(B_PANEL_BACKGROUND_COLOR),
B_DARKEN_1_TINT));
FillRect(stripeRect);
SetHighColor(fStripeColor);
stripeRect.right = 2;
FillRect(stripeRect);
SetHighColor(ui_color(B_PANEL_TEXT_COLOR));