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

Comparing rxvt-unicode/src/scrollbar-xterm.C (file contents):
Revision 1.8 by pcg, Fri Feb 13 12:16:21 2004 UTC vs.
Revision 1.9 by pcg, Wed Mar 17 03:47:14 2004 UTC

44 scrollBar.init |= R_SB_XTERM; 44 scrollBar.init |= R_SB_XTERM;
45 gcvalue.stipple = XCreateBitmapFromData (display->display, scrollBar.win, 45 gcvalue.stipple = XCreateBitmapFromData (display->display, scrollBar.win,
46 (char *)x_stp_bits, x_stp_width, 46 (char *)x_stp_bits, x_stp_width,
47 x_stp_height); 47 x_stp_height);
48 if (!gcvalue.stipple) 48 if (!gcvalue.stipple)
49 {
50 rxvt_print_error ("can't create bitmap"); 49 rxvt_fatal ("can't create bitmap");
51 exit (EXIT_FAILURE); 50
52 }
53 gcvalue.fill_style = FillOpaqueStippled; 51 gcvalue.fill_style = FillOpaqueStippled;
54 gcvalue.foreground = PixColors[Color_fg]; 52 gcvalue.foreground = PixColors[Color_fg];
55 gcvalue.background = PixColors[Color_bg]; 53 gcvalue.background = PixColors[Color_bg];
56 54
57 xscrollbarGC = XCreateGC (display->display, scrollBar.win, 55 xscrollbarGC = XCreateGC (display->display, scrollBar.win,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines