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.69 by sf-exg, Thu Aug 25 18:01:28 2011 UTC vs.
Revision 1.70 by sf-exg, Fri Aug 26 08:20:43 2011 UTC

140 140
141void 141void
142scrollBar_t::setup (rxvt_term *term) 142scrollBar_t::setup (rxvt_term *term)
143{ 143{
144 int i; 144 int i;
145 short width;
146 const char *scrollalign, *scrollstyle, *thickness; 145 const char *scrollalign, *scrollstyle, *thickness;
147 enum sb_style style;
148 146
149 this->term = term; 147 this->term = term;
150 scrollalign = term->rs[Rs_scrollBar_align]; 148 scrollalign = term->rs[Rs_scrollBar_align];
151 scrollstyle = term->rs[Rs_scrollstyle]; 149 scrollstyle = term->rs[Rs_scrollstyle];
152 thickness = term->rs[Rs_scrollBar_thickness]; 150 thickness = term->rs[Rs_scrollBar_thickness];
197# ifdef RXVT_SCROLLBAR 195# ifdef RXVT_SCROLLBAR
198 if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT) 196 if (! term->option (Opt_scrollBar_floating) && style == R_SB_RXVT)
199 shadow = SHADOW_WIDTH; 197 shadow = SHADOW_WIDTH;
200# endif 198# endif
201 199
202 this->style = style;
203 this->width = width;
204
205 /* align = R_SB_ALIGN_CENTRE; */ 200 /* align = R_SB_ALIGN_CENTRE; */
206 if (scrollalign) 201 if (scrollalign)
207 { 202 {
208 if (strncasecmp (scrollalign, "top", 3) == 0) 203 if (strncasecmp (scrollalign, "top", 3) == 0)
209 align = R_SB_ALIGN_TOP; 204 align = R_SB_ALIGN_TOP;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines