home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
libs
/
gle
/
util
/
fitls
/
rgb.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-11-29
|
257 b
|
18 lines
typedef union {
/* struct {unsigned char b,g,r,f;} rgb ; */
long l;
unsigned char b[4];
} colortyp;
#ifdef BIGINDIAN
#define B_F 0
#define B_R 1
#define B_G 2
#define B_B 3
#else
#define B_F 3
#define B_R 2
#define B_G 1
#define B_B 0
#endif