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

Developer

API Reference

IWIDGET_GETTRANSPARENCY()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetTransparency IWidget_SetBGTransparency IWidget_GetBGTransparency
Description

This (deprecated) routine is used to retrieve the transparency of widget backgrounds. It is recommended that the developer instead just retrieve the RGBA value for the background color and use the alpha value. (Note that alpha is the inverse of transparency).
Params
pif
[]:
[in] Pointer to the IWidget interface object.
nTrans
[]:
[out] On successful return, stores the transparency value currently being used by the background.
Interface
Prototype
  • int IWidget_GetTransparency(IWidget *pif, int *pnTrans)
    
Return
  •    AEE_SUCCESS - The background transparency was successfully retrieved
       AEE_EFAILED - The background transparency was not successfully retrieved
    
Side Effect

  • On successful termination, the value pointed to by the passed in pointer will be set to the background transparency value.
Comments
This routine is deprecated