reversed last patch. :)

svn path=/trunk/kdebase/kwin/; revision=44120
This commit is contained in:
Navindra Umanee 2000-03-20 13:50:27 +00:00
parent 3b4f6b0ef8
commit bff6c83557

View file

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