Developer

API Reference

IWidget_SetSelectedGradientColor()

Brew Release
Brew MP 1.0.2
See Also
Border Background Events IWidget_SetSelectedActiveGradientColor IWidget_SetSelectedInactiveGradientColor IWidget_GetGradientStyle IWidget_SetGradientStyle IWidget_SetSelectedBGColor IWidget_SetFocus IWidget_SetSelected
Description

This routine is used to set the end color used for a background gradient in the two selected states of a widget (selected active and selected inactive).
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object
  • rgba
    []:
    [in] RGBA color used for the end of gradient progression
Interface
Prototype
   int IWidget_SetSelectedGradientColor(IWidget* pif, RGBAVAL rgba);
Return
   AEE_SUCCESS - If the widget is able to set the selected gradient color.
   AEE_EFAILED - If the widget was not able to set the selected gradient color.
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. The gradient can be set using the IWidget_SetGradientStyle inline and defaults to GRADIENT_STYLE_NONE.
  • Follow