From 17f3c5335a41cbc0a4faa7183a459ccacb47269b Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 10 May 2005 10:12:09 +0000 Subject: [PATCH] Improved the colors (which were really ugly): now the value looks like a tooltip. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12613 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/ChannelSlider.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/kits/interface/ChannelSlider.cpp b/src/kits/interface/ChannelSlider.cpp index 9266e16144..41e8536320 100644 --- a/src/kits/interface/ChannelSlider.cpp +++ b/src/kits/interface/ChannelSlider.cpp @@ -700,9 +700,7 @@ BChannelSlider::DrawThumbs() ThumbDeltaFor(fCurrentChannel)); else valueRect.OffsetTo(ThumbDeltaFor(fCurrentChannel), ThumbFrameFor(fCurrentChannel).top - 10); - fBackingView->SetHighColor(tint_color(ViewColor(), B_DARKEN_1_TINT)); - fBackingView->StrokeRect(valueRect.InsetByCopy(-0.5, -0.5)); - fBackingView->SetHighColor(tint_color(ViewColor(), B_DARKEN_2_TINT)); + fBackingView->SetHighColor(255, 255, 172); fBackingView->FillRect(valueRect); fBackingView->SetHighColor(0, 0, 0); valueRect.OffsetBy(1 , 9);