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

Comparing rxvt-unicode/src/scrollbar.C (file contents):
Revision 1.64 by root, Mon Feb 21 07:41:04 2011 UTC vs.
Revision 1.66 by sf-exg, Thu Apr 7 12:19:41 2011 UTC

72 72
73 if (!win) 73 if (!win)
74 { 74 {
75 /* create the scrollbar window */ 75 /* create the scrollbar window */
76 win = XCreateSimpleWindow (term->dpy, 76 win = XCreateSimpleWindow (term->dpy,
77 term->parent[0], 77 term->parent,
78 window_sb_x, 0, 78 window_sb_x, 0,
79 total_width (), 79 total_width (),
80 term->szHint.height, 80 term->szHint.height,
81 0, 81 0,
82 term->pix_colors[Color_fg], 82 term->pix_colors[Color_fg],
192 192
193 if (style != R_SB_NEXT) /* dishonour request - for now */ 193 if (style != R_SB_NEXT) /* dishonour request - for now */
194 if (thickness && (i = atoi (thickness)) >= SB_WIDTH_MINIMUM) 194 if (thickness && (i = atoi (thickness)) >= SB_WIDTH_MINIMUM)
195 width = min (i, SB_WIDTH_MAXIMUM); 195 width = min (i, SB_WIDTH_MAXIMUM);
196 196
197# ifdef RXVT_SCROLLBAR
198 if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT)
199 shadow = SHADOW_WIDTH;
200# endif
201
197 this->style = style; 202 this->style = style;
198 this->width = width; 203 this->width = width;
199 204
200 /* align = R_SB_ALIGN_CENTRE; */ 205 /* align = R_SB_ALIGN_CENTRE; */
201 if (scrollalign) 206 if (scrollalign)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines