From 86fff36511534104faf67c04f6a3ceebc11324e7 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Thu, 22 Jan 2004 02:20:34 +0000 Subject: [PATCH] Build fix git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6222 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/MacDecorator/MacDecorator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/add-ons/decorators/MacDecorator/MacDecorator.cpp b/src/add-ons/decorators/MacDecorator/MacDecorator.cpp index 3ec885ce22..65e7285c84 100644 --- a/src/add-ons/decorators/MacDecorator/MacDecorator.cpp +++ b/src/add-ons/decorators/MacDecorator/MacDecorator.cpp @@ -477,16 +477,18 @@ void MacDecorator::DrawBlendedRect(BRect r, bool down) SetRGBColor(&tmpcol, uint8(startcol.red-(i*rstep)), uint8(startcol.green-(i*gstep)), uint8(startcol.blue-(i*bstep))); + _layerdata.highcolor=tmpcol; _driver->StrokeLine(BPoint(rect.left,rect.top+i), - BPoint(rect.left+i,rect.top),1.0,tmpcol); + BPoint(rect.left+i,rect.top),1.0,_layerdata.highcolor); SetRGBColor(&tmpcol, uint8(halfcol.red-(i*rstep)), uint8(halfcol.green-(i*gstep)), uint8(halfcol.blue-(i*bstep)) ); + _layerdata.highcolor=tmpcol; _driver->StrokeLine(BPoint(rect.left+steps,rect.top+i), - BPoint(rect.left+i,rect.top+steps),1.0,tmpcol); + BPoint(rect.left+i,rect.top+steps),1.0,_layerdata.highcolor); } }