reversed last patch. :)

svn path=/trunk/kdebase/kwin/; revision=44120
icc-effect-5.14.5
Navindra Umanee 2000-03-20 13:50:27 +00:00
parent 3b4f6b0ef8
commit bff6c83557
1 changed files with 4 additions and 2 deletions

View File

@ -325,12 +325,14 @@ void StdClient::paintEvent( QPaintEvent* )
r = r.subtract( t );
p.setClipRegion( r );
qDrawWinPanel( &p, rect(), colorGroup() );
t.setTop( 4 );
t.setTop( 1 );
p.setClipRegion( t );
t.setTop( 0 );
p.fillRect( t, options->color(Options::TitleBar, isActive()));
p.setPen( options->color(Options::TitleBar, isActive()).light() );
p.drawLine(t.left(), t.top()+1, t.right(), t.top()+1);
qDrawShadePanel( &p, t.x(), t.y(), t.width(), t.height(),
colorGroup(), true, 1 );
t.setTop( 0 );
t.setLeft( t.left() + 4 );
t.setRight( t.right() - 2 );
p.setPen(options->color(Options::Font, isActive()));