Developer

API Reference

IWidget_SetShadowOffset()

Brew Release
Brew MP 1.0.2
See Also
AEECLSID_BorderWidget IWidget_SetShadowOffsetX IWidget_GetShadowOffsetX IWidget_SetShadowOffsetY IWidget_GetShadowOffsetY
Description
This function sets the shadow offset for the border widget.
Parameters
  • pif
    []:
    Pointer to the IWidget object.
  • nOffset
    []:
    Shadow offset in both x and y directions.
Interface
Prototype
   int IWidget_SetShadowOffset(IWidget *pif, int nOffset);
Return
   AEE_SUCCESS - If the widget is able to successfully set the shadow offset.
   AEE_EFAILED - If the shadow offset is unable to be set.
Side Effect
None
Comment
This function sets shadow offset x and y to same value. Negative value means the shadow on top left of the border.
  • Follow