Developer

API Reference

IWidget_GetSelectedInactiveGradientColor()

Brew Release
Brew MP 1.0.2
See Also
Border Background Events IWidget_SetSelectedInactiveGradientColor IWidget_GetGradientStyle IWidget_SetGradientStyle IWidget_SetSelectedInactiveBGColor IWidget_GetSelectedInactiveBGColor IWidget_SetFocus IWidget_SetSelected
Description

This routine is used to retrieve the end color used for a background gradient in the selected inactive state of a widget.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object
  • prgba
    []:
    [out] Active gradient color currently in use.
Interface
Prototype
   int IWidget_GetSelectedInactiveGradientColor(IWidget *pif, RGBAVAL *prgba);
Return
   AEE_SUCCESS - If the widget is able to retrieve the requested property.
   AEE_EFAILED - If the property could not be retrieved.
Side Effect
None
Comment

The gradient stores the end color of a gradient. The start color of the gradient will use the normal background color of the widget (in this case the selected inactive background color). The gradient can be set using the IWidget_SetGradientStyle inline and defaults to GRADIENT_STYLE_NONE.
  • Follow