Platform Package reference: Function EwNewColor()
Description of the function EwNewColor() available in all Platform Packages for C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.
Declaration
XColor EwNewColor( XUInt8 aRed, XUInt8 aGreen, XUInt8 aBlue, XUInt8 aAlpha )
Parameters
aRed
Red component of the color.
aGreen
Green component of the color.
aBlue
Blue component of the color.
aAlpha
Alpha (opacity) component of the color.
Discussion
The function EwNewColor() initializes a new XColor structure with the given aRed, aGreen, aBlue, aAlpha values and returns the initialized structure.