#define SetRed( rgb, r ) ( ((rgb)&0xFF00FFFF) | ( ((r)&0x0000FF)<<16 ) )
colordef.h
Sets the red channel of a color. Expects a value 0-255.
Macros