ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/misc.C
(Generate patch)

Comparing rxvt-unicode/src/misc.C (file contents):
Revision 1.29 by root, Thu Aug 11 12:31:15 2005 UTC vs.
Revision 1.30 by root, Tue Jan 3 02:43:33 2006 UTC

553void 553void
554rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h) 554rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h)
555{ 555{
556 int shadow; 556 int shadow;
557 557
558 shadow = (w == 0 || h == 0) ? 1 : SHADOW; 558 shadow = (w == 0 || h == 0) ? 1 : MENU_SHADOW;
559 w += x - 1; 559 w += x - 1;
560 h += y - 1; 560 h += y - 1;
561 for (; shadow-- > 0; x++, y++, w--, h--) 561 for (; shadow-- > 0; x++, y++, w--, h--)
562 { 562 {
563 XDrawLine (display, win, topShadow, x, y, w, y); 563 XDrawLine (display, win, topShadow, x, y, w, y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines