1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Fixed Clip regarding auto raise/lower and autocollapse behavior.

Also rewrote that part of code to be much cleaner.
This commit is contained in:
dan
1999-03-21 11:58:18 +00:00
parent ceb20ee1fd
commit bd190c5739
19 changed files with 97 additions and 57 deletions

View File

@@ -635,9 +635,9 @@ bevelImage(RImage *image, int relief)
case WREL_MENUENTRY:
color.red = color.green = color.blue = 80;
color.alpha = 0;
/*
/**/
ROperateLine(image, RAddOperation, 1, 0, width-2, 0, &color);
*/
/**/
ROperateLine(image, RAddOperation, 0, 0, 0, height-1, &color);
@@ -646,14 +646,14 @@ bevelImage(RImage *image, int relief)
ROperateLine(image, RSubtractOperation, width-1, 0, width-1,
height-1, &color);
/*
/**/
ROperateLine(image, RSubtractOperation, 1, height-2, width-2,
height-2, &color);
color.red = color.green = color.blue = 0;
color.alpha = 255;
RDrawLine(image, 0, height-1, width-1, height-1, &color);
*/
/**/
break;
}