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

Comparing rxvt-unicode/src/scrollbar-xterm.C (file contents):
Revision 1.23 by root, Sat Dec 16 02:33:18 2006 UTC vs.
Revision 1.25 by ayin, Thu Nov 15 11:36:15 2007 UTC

59 ShadowGC = XCreateGC (dpy, scrollBar.win, GCForeground, &gcvalue); 59 ShadowGC = XCreateGC (dpy, scrollBar.win, GCForeground, &gcvalue);
60 } 60 }
61 61
62 if (update) 62 if (update)
63 { 63 {
64 xsb = OPTION (Opt_scrollBar_right) ? 1 : 0; 64 xsb = option (Opt_scrollBar_right) ? 1 : 0;
65 if (last_top < scrollBar.top) 65 if (last_top < scrollBar.top)
66 XClearArea (dpy, scrollBar.win, 66 XClearArea (dpy, scrollBar.win,
67 sb_shadow + xsb, last_top, 67 sb_shadow + xsb, last_top,
68 sbwidth, (scrollBar.top - last_top), False); 68 sbwidth, (scrollBar.top - last_top), False);
69 69
82 XDrawLine (dpy, scrollBar.win, ShadowGC, 82 XDrawLine (dpy, scrollBar.win, ShadowGC,
83 xsb ? 0 : sbwidth, scrollBar.beg, 83 xsb ? 0 : sbwidth, scrollBar.beg,
84 xsb ? 0 : sbwidth, scrollBar.end); 84 xsb ? 0 : sbwidth, scrollBar.end);
85 return 1; 85 return 1;
86} 86}
87#endif /* XTERM_SCROLLBAR */ 87#endif /* XTERM_SCROLLBAR */
88/*----------------------- end-of-file (C source) -----------------------*/ 88/*----------------------- end-of-file (C source) -----------------------*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines