00001 00002 #ifndef BITFIELDSTRUCT 00003 #define BITFIELDSTRUCT 00004 00006 00010 struct TColorBitfield 00011 { 00012 00013 unsigned char b : 8; 00014 unsigned char g : 8; 00015 unsigned char r : 8; 00016 unsigned char a : 8; 00017 }; 00018 00019 #endif