… | |
… | |
267 | NULL, // Color_underline |
267 | NULL, // Color_underline |
268 | #endif |
268 | #endif |
269 | #ifdef OPTION_HC |
269 | #ifdef OPTION_HC |
270 | NULL, |
270 | NULL, |
271 | #endif |
271 | #endif |
272 | #ifdef KEEP_SCROLLCOLOR |
272 | #ifdef HAVE_SCROLLBARS |
273 | COLOR_SCROLLBAR, |
273 | COLOR_SCROLLBAR, |
|
|
274 | #endif |
|
|
275 | #ifdef RXVT_SCROLLBAR |
274 | COLOR_SCROLLTROUGH, |
276 | COLOR_SCROLLTROUGH, |
275 | #endif /* KEEP_SCROLLCOLOR */ |
277 | #endif |
276 | #if ENABLE_TRANSPARENCY |
278 | #if ENABLE_TRANSPARENCY |
277 | NULL, |
279 | NULL, |
278 | #endif |
280 | #endif |
279 | #if OFF_FOCUS_FADING |
281 | #if OFF_FOCUS_FADING |
280 | "rgb:00/00/00", |
282 | "rgb:00/00/00", |
… | |
… | |
908 | * get scrollBar shadow colors |
910 | * get scrollBar shadow colors |
909 | * |
911 | * |
910 | * The calculations of topShadow/bottomShadow values are adapted |
912 | * The calculations of topShadow/bottomShadow values are adapted |
911 | * from the fvwm window manager. |
913 | * from the fvwm window manager. |
912 | */ |
914 | */ |
913 | #ifdef KEEP_SCROLLCOLOR |
915 | #ifdef RXVT_SCROLLBAR |
914 | if (depth <= 2) |
916 | if (depth <= 2) |
915 | { |
917 | { |
916 | /* Monochrome */ |
918 | /* Monochrome */ |
917 | alias_color (Color_scroll, Color_fg); |
919 | alias_color (Color_scroll, Color_fg); |
918 | alias_color (Color_topShadow, Color_bg); |
920 | alias_color (Color_topShadow, Color_bg); |
… | |
… | |
933 | min ((int)rgba::MAX_CC, max (cscroll.b / 5, cscroll.b) * 7 / 5), |
935 | min ((int)rgba::MAX_CC, max (cscroll.b / 5, cscroll.b) * 7 / 5), |
934 | cscroll.a) |
936 | cscroll.a) |
935 | )) |
937 | )) |
936 | alias_color (Color_topShadow, Color_White); |
938 | alias_color (Color_topShadow, Color_White); |
937 | } |
939 | } |
938 | #endif /* KEEP_SCROLLCOLOR */ |
940 | #endif |
939 | |
941 | |
940 | #ifdef OFF_FOCUS_FADING |
942 | #ifdef OFF_FOCUS_FADING |
941 | for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++) |
943 | for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++) |
942 | update_fade_color (i); |
944 | update_fade_color (i); |
943 | #endif |
945 | #endif |