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

Developer

API Reference

IWIDGET_SETGRADIENTCOLOR()

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

This routine is used to set the end color used for a background gradient in all visual states of the widget.
Params
pif
[]:
[in] Pointer to the IWidget interface object
rgba
[]:
[in] RGBA color used for the end of gradient progression
Interface
Prototype
  •    int IWidget_SetGradientColor(IWidget *pif, RGBAVAL rgba);
    
Return
  •    AEE_SUCCESS - If the widget is able to set the requested property.
       AEE_EFAILED - If the property could not be set.
    
Side Effect
  • None
Comments
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.