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.30 by root, Tue May 1 21:30:01 2007 UTC vs.
Revision 1.33 by ayin, Sat Dec 29 14:43:44 2007 UTC

147} 147}
148 148
149int 149int
150rxvt_term::scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len) 150rxvt_term::scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len)
151{ 151{
152 int sbshadow = sb_shadow; 152 int sbshadow = scrollBar.shadow;
153 int sbwidth = (int)scrollBar.width; 153 int sbwidth = (int)scrollBar.width;
154 154
155 if ((scrollBar.init & R_SB_RXVT) == 0) 155 if ((scrollBar.init & R_SB_RXVT) == 0)
156 { 156 {
157 scrollBar.init |= R_SB_RXVT; 157 scrollBar.init |= R_SB_RXVT;
212 draw_button (this, sbshadow, sbshadow, (scrollbar_isUp () ? -1 : +1), UP); 212 draw_button (this, sbshadow, sbshadow, (scrollbar_isUp () ? -1 : +1), UP);
213 draw_button (this, sbshadow, scrollBar.end + 1, (scrollbar_isDn () ? -1 : +1), DN); 213 draw_button (this, sbshadow, scrollBar.end + 1, (scrollbar_isDn () ? -1 : +1), DN);
214 214
215 return 1; 215 return 1;
216} 216}
217#endif /* RXVT_SCROLLBAR */ 217#endif /* RXVT_SCROLLBAR */
218/*----------------------- end-of-file (C source) -----------------------*/ 218/*----------------------- end-of-file (C source) -----------------------*/
219 219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines