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
This commit is contained in:
parent
bc3465f998
commit
17f3c5335a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user