CVS_SILENTindentation...
svn path=/trunk/kdebase/kwin/; revision=355294
This commit is contained in:
parent
6aa9273dbf
commit
d6895baaec
1 changed files with 28 additions and 28 deletions
|
@ -318,37 +318,37 @@ void PlastikClient::paintEvent(QPaintEvent*)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// leftSpacer
|
// leftSpacer
|
||||||
if(Rleft.width() > 0 && Rleft.height() > 0)
|
if(Rleft.width() > 0 && Rleft.height() > 0)
|
||||||
{
|
{
|
||||||
painter.setPen(windowContour );
|
painter.setPen(windowContour );
|
||||||
painter.drawLine(Rleft.left(), Rleft.top(),
|
painter.drawLine(Rleft.left(), Rleft.top(),
|
||||||
Rleft.left(), Rleft.bottom() );
|
Rleft.left(), Rleft.bottom() );
|
||||||
painter.setPen(highlightLeft );
|
painter.setPen(highlightLeft );
|
||||||
painter.drawLine(Rleft.left()+1, Rleft.top(),
|
painter.drawLine(Rleft.left()+1, Rleft.top(),
|
||||||
Rleft.left()+1, Rleft.bottom() );
|
Rleft.left()+1, Rleft.bottom() );
|
||||||
if(Rleft.width() > 2) {
|
if(Rleft.width() > 2) {
|
||||||
tempRect.setCoords(Rleft.left()+2, Rleft.top(),
|
tempRect.setCoords(Rleft.left()+2, Rleft.top(),
|
||||||
Rleft.right(), Rleft.bottom() );
|
Rleft.right(), Rleft.bottom() );
|
||||||
painter.fillRect(tempRect, border );
|
painter.fillRect(tempRect, border );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// rightSpacer
|
// rightSpacer
|
||||||
if(Rright.width() > 0 && Rright.height() > 0)
|
if(Rright.width() > 0 && Rright.height() > 0)
|
||||||
{
|
{
|
||||||
painter.setPen(windowContour );
|
painter.setPen(windowContour );
|
||||||
painter.drawLine(Rright.right(), Rright.top(),
|
painter.drawLine(Rright.right(), Rright.top(),
|
||||||
Rright.right(), Rright.bottom() );
|
Rright.right(), Rright.bottom() );
|
||||||
painter.setPen(highlightRight );
|
painter.setPen(highlightRight );
|
||||||
painter.drawLine(Rright.right()-1, Rright.top(),
|
painter.drawLine(Rright.right()-1, Rright.top(),
|
||||||
Rright.right()-1, Rright.bottom() );
|
Rright.right()-1, Rright.bottom() );
|
||||||
if(Rright.width() > 2) {
|
if(Rright.width() > 2) {
|
||||||
tempRect.setCoords(Rright.left(), Rright.top(),
|
tempRect.setCoords(Rright.left(), Rright.top(),
|
||||||
Rright.right()-2, Rright.bottom() );
|
Rright.right()-2, Rright.bottom() );
|
||||||
painter.fillRect(tempRect, border );
|
painter.fillRect(tempRect, border );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// bottomSpacer
|
// bottomSpacer
|
||||||
if(Rbottom.height() > 0)
|
if(Rbottom.height() > 0)
|
||||||
|
|
Loading…
Reference in a new issue