… | |
… | |
31 | scrollBar_t::show_plain (int update) |
31 | scrollBar_t::show_plain (int update) |
32 | { |
32 | { |
33 | int xsb = 0; |
33 | int xsb = 0; |
34 | int sbwidth = width - 1; |
34 | int sbwidth = width - 1; |
35 | |
35 | |
36 | if ((init & R_SB_PLAIN) == 0) |
36 | if ((init & SB_STYLE_PLAIN) == 0) |
37 | { |
37 | { |
38 | XGCValues gcvalue; |
38 | XGCValues gcvalue; |
39 | |
39 | |
40 | init |= R_SB_PLAIN; |
40 | init |= SB_STYLE_PLAIN; |
41 | gcvalue.foreground = term->pix_colors_focused[Color_scroll]; |
41 | gcvalue.foreground = term->pix_colors_focused[Color_scroll]; |
42 | |
42 | |
43 | pscrollbarGC = XCreateGC (term->dpy, win, GCForeground, &gcvalue); |
43 | pscrollbarGC = XCreateGC (term->dpy, win, GCForeground, &gcvalue); |
44 | } |
44 | } |
45 | |
45 | |