#ifdef OPTION_HC
NULL,
#endif
-#ifdef KEEP_SCROLLCOLOR
+#ifdef HAVE_SCROLLBARS
COLOR_SCROLLBAR,
+#endif
+#ifdef RXVT_SCROLLBAR
COLOR_SCROLLTROUGH,
-#endif /* KEEP_SCROLLCOLOR */
+#endif
#if ENABLE_TRANSPARENCY
NULL,
#endif
* The calculations of topShadow/bottomShadow values are adapted
* from the fvwm window manager.
*/
-#ifdef KEEP_SCROLLCOLOR
+#ifdef RXVT_SCROLLBAR
if (depth <= 2)
{
/* Monochrome */
))
alias_color (Color_topShadow, Color_White);
}
-#endif /* KEEP_SCROLLCOLOR */
+#endif
#ifdef OFF_FOCUS_FADING
for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++)
*****************************************************************************
*/
-/* If we're using either the rxvt scrollbar, keep the
- * scrollColor resource.
- */
-#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR)
-# define KEEP_SCROLLCOLOR 1
-#else
-# undef KEEP_SCROLLCOLOR
-#endif
-
/*
* the 'essential' information for reporting Mouse Events
* pared down from XButtonEvent
#ifdef OPTION_HC
Color_HC,
#endif
-#ifdef KEEP_SCROLLCOLOR
+#ifdef HAVE_SCROLLBARS
Color_scroll,
+#endif
+#ifdef RXVT_SCROLLBAR
Color_trough,
#endif
#if ENABLE_TRANSPARENCY
Color_fade,
#endif
NRS_COLORS, /* */
-#ifdef KEEP_SCROLLCOLOR
+#ifdef RXVT_SCROLLBAR
Color_topShadow = NRS_COLORS,
Color_bottomShadow,
TOTAL_COLORS
#if ENABLE_FRILLS
RSTRG (Rs_color + Color_underline, "underlineColor", "color"),
#endif
-#ifdef KEEP_SCROLLCOLOR
+#ifdef HAVE_SCROLLBARS
RSTRG (Rs_color + Color_scroll, "scrollColor", "color"),
+#endif
+#ifdef RXVT_SCROLLBAR
RSTRG (Rs_color + Color_trough, "troughColor", "color"),
-#endif /* KEEP_SCROLLCOLOR */
+#endif
#ifdef OPTION_HC
STRG (Rs_color + Color_HC, "highlightColor", "hc", "color", "highlight color"),
#endif