From 69631a6a0564848e8231853a3de9757c3b8662d4 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 17 Jun 2014 08:22:47 +0200 Subject: [PATCH] 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. --- src/servers/notification/NotificationView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/servers/notification/NotificationView.cpp b/src/servers/notification/NotificationView.cpp index 0ab0dad7cf..40704b98fa 100644 --- a/src/servers/notification/NotificationView.cpp +++ b/src/servers/notification/NotificationView.cpp @@ -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));