API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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
Comments
This function sets shadow offset x and y to same value. Negative value means the shadow on top left of the border.