--- rxvt-unicode/src/scrollbar-rxvt.C 2006/01/03 02:43:33 1.20 +++ rxvt-unicode/src/scrollbar-rxvt.C 2006/01/16 15:12:48 1.21 @@ -27,7 +27,9 @@ /*----------------------------------------------------------------------*/ #if defined(RXVT_SCROLLBAR) -/* draw triangular button with a shadow of MENU_SHADOW (1 or 2) pixels */ +#define DOUBLED 1 + +/* draw triangular button with a shadow of 2 pixels */ void rxvt_term::Draw_button (int x, int y, int state, int dirn) { @@ -80,7 +82,7 @@ XDrawLine (display->display, scrollBar.win, top, pt[0].x, pt[0].y, pt[1].x, pt[1].y); -#if (MENU_SHADOW > 1) +#if DOUBLED /* doubled */ pt[0].x++; @@ -98,6 +100,7 @@ XDrawLine (display->display, scrollBar.win, top, pt[0].x, pt[0].y, pt[1].x, pt[1].y); #endif + /* draw shadow on right */ pt[1].x = x + sz - 1; /* pt[2].x = x + sz2; */ @@ -106,7 +109,7 @@ XDrawLine (display->display, scrollBar.win, bot, pt[2].x, pt[2].y, pt[1].x, pt[1].y); -#if (MENU_SHADOW > 1) +#if DOUBLED /* doubled */ pt[1].x--; if (dirn == UP)