home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Photo CD Demo 1
/
Demo.bin
/
gle
/
gle
/
rgb.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-29
|
257b
|
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