… | |
… | |
52 | gcvalue.fill_style = FillOpaqueStippled; |
52 | gcvalue.fill_style = FillOpaqueStippled; |
53 | gcvalue.foreground = PixColors[Color_fg]; |
53 | gcvalue.foreground = PixColors[Color_fg]; |
54 | gcvalue.background = PixColors[Color_bg]; |
54 | gcvalue.background = PixColors[Color_bg]; |
55 | |
55 | |
56 | xscrollbarGC = XCreateGC (display->display, scrollBar.win, |
56 | xscrollbarGC = XCreateGC (display->display, scrollBar.win, |
57 | GCForeground | GCBackground |
57 | GCForeground | GCBackground |
58 | | GCFillStyle | GCStipple, &gcvalue); |
58 | | GCFillStyle | GCStipple, &gcvalue); |
59 | gcvalue.foreground = PixColors[Color_border]; |
59 | gcvalue.foreground = PixColors[Color_border]; |
60 | ShadowGC = XCreateGC (display->display, scrollBar.win, GCForeground, &gcvalue); |
60 | ShadowGC = XCreateGC (display->display, scrollBar.win, GCForeground, &gcvalue); |
61 | } |
61 | } |
62 | /* instead of XClearWindow (display->display, scrollBar.win); */ |
62 | /* instead of XClearWindow (display->display, scrollBar.win); */ |
63 | xsb = (Options & Opt_scrollBar_right) ? 1 : 0; |
63 | xsb = (Options & Opt_scrollBar_right) ? 1 : 0; |