GR_PALENTRY

Name

GR_PALENTRY -- Palette entry

Synopsis

typedef struct 
{
    unsigned char  r;
    unsigned char  g;
    unsigned char  b;
} GR_PALENTRY;
  

Description

The GR_PALENTRY structure is the core element of a color palette in the nano-X library.

Fields

TypeNameDescription
unsigned charrThe red component of the color.
unsigned chargThe green component of the color.
unsigned charbThe blue component of the color.

See Also

GR_PALETTE, GR_IMAGE_INFO.