Platform Package reference: Function EwIndexToColor()
Description of the function EwIndexToColor() available in Platform Packages for C compatible target systems running in the color format Index8 (CLUT based). 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 EwIndexToColor( XInt32 aIndex )
Parameters
aIndex
Index of the desired color entry within the global CLUT (color look-up table).
Discussion
The function EwIndexToColor() returns the color value for the global CLUT (color look-up table) entry with the given number. If there is no global CLUT available or the entry index is invalid the function returns transparent color.