Developer

API Reference

IWidget_SetSelectedShadowOffset()

Brew Release
Brew MP 1.0.2
See Also
Border Border Events IWidget_SetShadowOffset IWidget_SetSelectedShadowOffsetX IWidget_GetSelectedShadowOffsetX IWidget_SetSelectedShadowOffsetY IWidget_GetSelectedShadowOffsetY IWidget_SetSelected
Description
This function sets the shadow offset for the border widget when widget is in selected state.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget object.
  • nOffset
    []:
    [in] Shadow offset in both x and y directions.
Interface
Prototype
   int IWidget_SetSelectedShadowOffset(IWidget *pif, int nOffset);
Return
   AEE_SUCCESS - If the widget successfully set the shadow offset
   for selected state.
   AEE_EFAILED - If the shadow offset could not be set.
Side Effect
None
Comment

This function sets selected shadow offset x and y to same value. A positive value means that the shadow will appear below and to the right of the bottom left corner of the border; a negative value means the shadow will appear above and to the left of the top left corner of the border.
  • Follow