reversed last patch. :)
svn path=/trunk/kdebase/kwin/; revision=44120
This commit is contained in:
parent
3b4f6b0ef8
commit
bff6c83557
1 changed files with 4 additions and 2 deletions
|
@ -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()));
|
||||
|
|
Loading…
Reference in a new issue