Platform Package reference: Type XColor

Description of the type definition XColor available in all Platform Packages for ANSI C compatible target systems. This type definition 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

typedef struct

{

  XUInt8   Red;

  XUInt8   Green;

  XUInt8   Blue;

  XUInt8   Alpha;

} XColor;

Elements

Red

The red component of the color.

Green

The green component of the color.

Blue

The blue component of the color.

Alpha

The alpha component (opacity) of the color.

Discussion

The structure XColor covers the Chora instant datatype color.