зеркало из https://github.com/mozilla/pjs.git
Add XfeTopShadowColor() and XfeBottomShadowColor().
This commit is contained in:
Родитель
7ebb70b014
Коммит
78e7ea7389
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче