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

Comparing rxvt-unicode/src/scrollbar-rxvt.C (file contents):
Revision 1.17 by root, Fri Feb 4 11:41:23 2005 UTC vs.
Revision 1.19 by root, Sat Dec 31 17:16:17 2005 UTC

132 int sbwidth = (int)scrollBar.width; 132 int sbwidth = (int)scrollBar.width;
133 133
134 if ((scrollBar.init & R_SB_RXVT) == 0) 134 if ((scrollBar.init & R_SB_RXVT) == 0)
135 { 135 {
136 scrollBar.init |= R_SB_RXVT; 136 scrollBar.init |= R_SB_RXVT;
137
137 if (sbshadow) 138 if (sbshadow)
138 { 139 {
139 XSetWindowBackground (display->display, scrollBar.win, pix_colors_focused[Color_trough]); 140 XSetWindowBackground (display->display, scrollBar.win, pix_colors_focused[Color_trough]);
140 XClearWindow (display->display, scrollBar.win); 141 XClearWindow (display->display, scrollBar.win);
141 } 142 }
163 /* scrollbar slider */ 164 /* scrollbar slider */
164#ifdef SB_BORDER 165#ifdef SB_BORDER
165 { 166 {
166 int xofs; 167 int xofs;
167 168
168 if (options & Opt_scrollBar_right) 169 if (OPTION (Opt_scrollBar_right))
169 xofs = 0; 170 xofs = 0;
170 else 171 else
171 xofs = sbshadow ? sbwidth : sbwidth - 1; 172 xofs = sbshadow ? sbwidth : sbwidth - 1;
172 173
173 XDrawLine (display->display, scrollBar.win, botShadowGC, 174 XDrawLine (display->display, scrollBar.win, botShadowGC,
199 200
200 return 1; 201 return 1;
201} 202}
202#endif /* RXVT_SCROLLBAR */ 203#endif /* RXVT_SCROLLBAR */
203/*----------------------- end-of-file (C source) -----------------------*/ 204/*----------------------- end-of-file (C source) -----------------------*/
205

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines