Developer

API Reference

IWidget_SetSelectedShadowOffsetX()

Brew Release
Brew MP 1.0.2
See Also
Border Border Events IWidget_GetSelectedShadowOffsetX IWidget_SetSelectedShadowOffsetY IWidget_SetSelectedShadowOffset IWidget_SetShadowOffsetX IWidget_SetSelected
Description
This function sets the shadow offset in x direction for border widget in selected state.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget object.
  • nOffset
    []:
    [in] Shadow offset in x direction.
Interface
Prototype
   int IWidget_SetSelectedShadowOffsetX(IWidget *pif, int nOffset);

Return
   AEE_SUCCESS - If the widget successfully set the shadow offset
                 in x direction for selected state.
   AEE_EFAILED - If the selected state shadow offset in x direction could not be set.
Side Effect
None
Comment

A positive value means the shadow will appear to the right of the widget's border; a negative value means that the shadow will appear to the left of the widget's border.
  • Follow