… | |
… | |
1113 | GCForeground | GCBackground | GCGraphicsExposures, |
1113 | GCForeground | GCBackground | GCGraphicsExposures, |
1114 | &gcvalue); |
1114 | &gcvalue); |
1115 | |
1115 | |
1116 | drawable = new rxvt_drawable (this, vt); |
1116 | drawable = new rxvt_drawable (this, vt); |
1117 | |
1117 | |
1118 | #ifdef RXVT_SCROLLBAR |
|
|
1119 | gcvalue.foreground = pix_colors[Color_topShadow]; |
|
|
1120 | topShadowGC = XCreateGC (dpy, vt, GCForeground, &gcvalue); |
|
|
1121 | gcvalue.foreground = pix_colors[Color_bottomShadow]; |
|
|
1122 | botShadowGC = XCreateGC (dpy, vt, GCForeground, &gcvalue); |
|
|
1123 | gcvalue.foreground = pix_colors[ (depth <= 2 ? Color_fg : Color_scroll)]; |
|
|
1124 | scrollbarGC = XCreateGC (dpy, vt, GCForeground, &gcvalue); |
|
|
1125 | #endif |
|
|
1126 | |
|
|
1127 | #ifdef OFF_FOCUS_FADING |
1118 | #ifdef OFF_FOCUS_FADING |
1128 | // initially we are in unfocused state |
1119 | // initially we are in unfocused state |
1129 | if (rs[Rs_fade]) |
1120 | if (rs[Rs_fade]) |
1130 | pix_colors = pix_colors_unfocused; |
1121 | pix_colors = pix_colors_unfocused; |
1131 | #endif |
1122 | #endif |