… | |
… | |
1432 | } |
1432 | } |
1433 | |
1433 | |
1434 | #endif /* HAVE_BG_PIXMAP */ |
1434 | #endif /* HAVE_BG_PIXMAP */ |
1435 | |
1435 | |
1436 | #if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE) |
1436 | #if defined(ENABLE_TRANSPARENCY) && !defined(HAVE_AFTERIMAGE) |
1437 | /* taken from aterm-0.4.2 */ |
1437 | /* based on code from aterm-0.4.2 */ |
1438 | |
1438 | |
1439 | static void |
1439 | static void |
1440 | shade_ximage (Visual *visual, XImage *ximage, int shade, const rgba &c) |
1440 | shade_ximage (Visual *visual, XImage *ximage, int shade, const rgba &c) |
1441 | { |
1441 | { |
1442 | int sh_r, sh_g, sh_b; |
1442 | int sh_r, sh_g, sh_b; |