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:
@@ -241,7 +241,12 @@ NotificationView::Draw(BRect updateRect)
|
|||||||
|
|
||||||
BRect stripeRect = Bounds();
|
BRect stripeRect = Bounds();
|
||||||
stripeRect.right = kIconStripeWidth;
|
stripeRect.right = kIconStripeWidth;
|
||||||
|
SetHighColor(tint_color(ui_color(B_PANEL_BACKGROUND_COLOR),
|
||||||
|
B_DARKEN_1_TINT));
|
||||||
|
FillRect(stripeRect);
|
||||||
|
|
||||||
SetHighColor(fStripeColor);
|
SetHighColor(fStripeColor);
|
||||||
|
stripeRect.right = 2;
|
||||||
FillRect(stripeRect);
|
FillRect(stripeRect);
|
||||||
|
|
||||||
SetHighColor(ui_color(B_PANEL_TEXT_COLOR));
|
SetHighColor(ui_color(B_PANEL_TEXT_COLOR));
|
||||||
|
|||||||
Reference in New Issue
Block a user