Supported Browsers Home   
GA_options Previous   
GA_paletteExt Next   
Type Definitions Up   

GA_palette

Declaration

typedef struct {
    N_uint8     Blue;
    N_uint8     Green;
    N_uint8     Red;
    N_uint8     Alpha;
    } GA_palette

Prototype In

snap/graphics.h

Description

Palette entry structure, which defines a single entry in the hardware color lookup table or gamma correction table.

Members

blue

Blue component of palette entry, range [0-255]

green

Green component of palette entry, range [0-255]

red

Blue component of palette entry, range [0-255]

alpha

Alpha or alignment byte

 

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com