Developer

API Reference

IWidget_SetFGColor()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetActiveFGColor IWidget_SetInactiveFGColor IWidget_SetSelectedActiveFGColor IWidget_SetSelectedInactiveFGColor
Description

Sets the foreground color of a widget, which is normally reflected in the widget's text color. Note that setting this property overwrites all previous FG colors set on the widget. Refer to the See Also section for setting the individual FG colors.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • rgba
    []:
    [in] RGBA value to set all the fgcolors to.
Interface
Prototype
int IWidget_SetFGColor(IWidget *pif, RGBAVAL rgba)
Return
   AEE_SUCCESS - Successfully set the RGBA value of all the fgcolors.
   AEE_EFAILED - Failed to set the RGBA value of all the fgcolors.
Side Effect
None.
Comment
None.
  • Follow