From a3c0c83a34f2fe5046e199667af2ab06fc83fa3d Mon Sep 17 00:00:00 2001 From: "Daniel M. Duley" Date: Wed, 24 Nov 1999 22:02:22 +0000 Subject: [PATCH] More experimenting svn path=/trunk/kdebase/kwin/; revision=34972 --- systemclient.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/systemclient.cpp b/systemclient.cpp index 9a2176b541..f2066f4616 100644 --- a/systemclient.cpp +++ b/systemclient.cpp @@ -258,16 +258,23 @@ void SystemClient::paintEvent( QPaintEvent* ) t.setTop( 1 ); // if we have a pixmapped bg use that, otherwise use color settings - if(colorGroup().brush(QColorGroup::Background).pixmap()) + + if(colorGroup().brush(QColorGroup::Background).pixmap()){ qDrawShadePanel(&p, rect(), colorGroup(), false, 1, &colorGroup().brush(QColorGroup::Background)); - else + + } + else{ qDrawShadePanel(&p, rect(), options->colorGroup(Options::Frame, isActive()), false, 1, &options->colorGroup(Options::Frame, isActive()). brush(QColorGroup::Button)); - - + } + p.setPen(Qt::black); + p.drawRect(rect()); + p.setPen(colorGroup().light()); + p.drawLine(1, 1, width()-2, 1); + t.setTop( 2 ); if(isActive()) p.drawTiledPixmap(t, *titlePix);