Author: stippi Date: 2010-01-25 14:53:26 +0100 (Mon, 25 Jan 2010) New Revision: 35284 Changeset: http://dev.haiku-os.org/changeset/35284/haiku Ticket: http://dev.haiku-os.org/ticket/5323 Modified: haiku/trunk/src/kits/interface/Slider.cpp Log: Fixed LowColor() of "background" view. Seems this was always wrong, but now we are running without offscreen view, and this caused dark slider background, since LowColor() was unintentionally B_TRANSPARENT_COLOR. Fixes #5323. Modified: haiku/trunk/src/kits/interface/Slider.cpp =================================================================== --- haiku/trunk/src/kits/interface/Slider.cpp 2010-01-25 13:46:58 UTC (rev 35283) +++ haiku/trunk/src/kits/interface/Slider.cpp 2010-01-25 13:53:26 UTC (rev 35284) @@ -392,7 +392,7 @@ BView* view = OffscreenView(); if (view && view->LockLooper()) { view->SetViewColor(B_TRANSPARENT_COLOR); - view->SetLowColor(ViewColor()); + view->SetLowColor(LowColor()); view->UnlockLooper(); } @@ -827,7 +827,7 @@ if (fOffScreenBits->Lock()) { fOffScreenView->SetViewColor(ViewColor()); - fOffScreenView->SetLowColor(ViewColor()); + fOffScreenView->SetLowColor(LowColor()); #endif if (drawBackground && background.Frame().IsValid())