diff --git a/cmd/xfe/XfeWidgets/Xfe/Util.c b/cmd/xfe/XfeWidgets/Xfe/Util.c index 97798e913d3..d68f4752c45 100644 --- a/cmd/xfe/XfeWidgets/Xfe/Util.c +++ b/cmd/xfe/XfeWidgets/Xfe/Util.c @@ -177,6 +177,42 @@ XfeForeground(Widget w) return _XfemForeground(w); } /*----------------------------------------------------------------------*/ +/* extern */ Pixel +XfeBottomShadowColor(Widget w) +{ + assert( _XfeIsAlive(w) ); + + if (!_XfeIsAlive(w)) + { + return 0; + } + + if (XmIsPrimitive(w)) + { + return _XfeBottomShadowColor(w); + } + + return _XfemBottomShadowColor(w); +} +/*----------------------------------------------------------------------*/ +/* extern */ Pixel +XfeTopShadowColor(Widget w) +{ + assert( _XfeIsAlive(w) ); + + if (!_XfeIsAlive(w)) + { + return 0; + } + + if (XmIsPrimitive(w)) + { + return _XfeTopShadowColor(w); + } + + return _XfemTopShadowColor(w); +} +/*----------------------------------------------------------------------*/ /* extern */ String XfeClassNameForWidget(Widget w) { diff --git a/cmd/xfe/XfeWidgets/Xfe/Xfe.h b/cmd/xfe/XfeWidgets/Xfe/Xfe.h index 1dff5b44244..fb95fd71914 100644 --- a/cmd/xfe/XfeWidgets/Xfe/Xfe.h +++ b/cmd/xfe/XfeWidgets/Xfe/Xfe.h @@ -260,6 +260,8 @@ extern Colormap XfeColormap (Widget w); extern Cardinal XfeDepth (Widget w); extern Pixel XfeBackground (Widget w); extern Pixel XfeForeground (Widget w); +extern Pixel XfeTopShadowColor (Widget w); +extern Pixel XfeBottomShadowColor (Widget w); extern Visual * XfeVisual (Widget w); extern String XfeClassNameForWidget (Widget w);