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

Comparing rxvt-unicode/src/scrollbar-next.C (file contents):
Revision 1.29 by ayin, Tue Feb 19 13:01:33 2008 UTC vs.
Revision 1.30 by ayin, Tue Feb 19 17:49:16 2008 UTC

264 SB_LEFT_PADDING, bot + SB_PADDING, 264 SB_LEFT_PADDING, bot + SB_PADDING,
265 SB_BUTTON_WIDTH, (last_bot - bot)); 265 SB_BUTTON_WIDTH, (last_bot - bot));
266 266
267 XFillRectangle (term->dpy, win, grayGC, 267 XFillRectangle (term->dpy, win, grayGC,
268 SB_LEFT_PADDING, top + SB_PADDING, 268 SB_LEFT_PADDING, top + SB_PADDING,
269 SB_BUTTON_WIDTH, len); 269 SB_BUTTON_WIDTH, bot - top);
270 270
271 XCopyArea (term->dpy, dimple, win, whiteGC, 0, 0, 271 XCopyArea (term->dpy, dimple, win, whiteGC, 0, 0,
272 SCROLLER_DIMPLE_WIDTH, SCROLLER_DIMPLE_HEIGHT, 272 SCROLLER_DIMPLE_WIDTH, SCROLLER_DIMPLE_HEIGHT,
273 (SB_WIDTH_NEXT - SCROLLER_DIMPLE_WIDTH) / 2, 273 (SB_WIDTH_NEXT - SCROLLER_DIMPLE_WIDTH) / 2,
274 top + SB_BEVEL_WIDTH_UPPER_LEFT + 274 top + SB_BEVEL_WIDTH_UPPER_LEFT +
275 (len - SCROLLER_DIMPLE_HEIGHT) / 2); 275 (bot - top - SCROLLER_DIMPLE_HEIGHT) / 2);
276 276
277 drawBevel (this, SB_BUTTON_BEVEL_X, 277 drawBevel (this, SB_BUTTON_BEVEL_X,
278 top + SB_PADDING, SB_BUTTON_WIDTH, 278 top + SB_PADDING, SB_BUTTON_WIDTH,
279 len); 279 bot - top);
280 drawBevel (this, SB_BUTTON_BEVEL_X, 280 drawBevel (this, SB_BUTTON_BEVEL_X,
281 height - SB_BUTTON_BOTH_HEIGHT, SB_BUTTON_WIDTH, 281 height - SB_BUTTON_BOTH_HEIGHT, SB_BUTTON_WIDTH,
282 SB_BUTTON_HEIGHT); 282 SB_BUTTON_HEIGHT);
283 drawBevel (this, SB_BUTTON_BEVEL_X, 283 drawBevel (this, SB_BUTTON_BEVEL_X,
284 height - SB_BUTTON_SINGLE_HEIGHT, SB_BUTTON_WIDTH, 284 height - SB_BUTTON_SINGLE_HEIGHT, SB_BUTTON_WIDTH,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines