Smaller spaced bevels
svn path=/trunk/kdebase/kwin/; revision=45492
This commit is contained in:
parent
7ba2cf2d87
commit
6a5046ebb6
1 changed files with 3 additions and 3 deletions
|
@ -62,15 +62,15 @@ static void create_pixmaps()
|
||||||
QPainter p;
|
QPainter p;
|
||||||
QPainter maskPainter;
|
QPainter maskPainter;
|
||||||
int i, x, y;
|
int i, x, y;
|
||||||
titlePix = new QPixmap(32, 12);
|
titlePix = new QPixmap(33, 12);
|
||||||
QBitmap mask(32, 12);
|
QBitmap mask(33, 12);
|
||||||
mask.fill(Qt::color0);
|
mask.fill(Qt::color0);
|
||||||
|
|
||||||
p.begin(titlePix);
|
p.begin(titlePix);
|
||||||
maskPainter.begin(&mask);
|
maskPainter.begin(&mask);
|
||||||
maskPainter.setPen(Qt::color1);
|
maskPainter.setPen(Qt::color1);
|
||||||
for(i=0, y=2; i < 3; ++i, y+=4){
|
for(i=0, y=2; i < 3; ++i, y+=4){
|
||||||
for(x=1; x < 30; x+=4){
|
for(x=1; x <= 33; x+=3){
|
||||||
p.setPen(options->color(Options::TitleBar, true).light(150));
|
p.setPen(options->color(Options::TitleBar, true).light(150));
|
||||||
p.drawPoint(x, y);
|
p.drawPoint(x, y);
|
||||||
maskPainter.drawPoint(x, y);
|
maskPainter.drawPoint(x, y);
|
||||||
|
|
Loading…
Reference in a new issue