Sindbad~EG File Manager
/* Graph structures can store 16 bits per color, so we use
5 bits each of Red, Green, and Blue. The following definitions
are to be used with graph structures [not for displaying
formulas with display()] */
#define RGB5(r,g,b) (((r) << 10) | ((g) << 5) | (b))
#define RED5(x) ((x) & (0x1f << 10))
#define GREEN5(x) ((x) & (0x1f << 5))
#define BLUE5(x) ((x) & 0x1f)
/* WINCOLOR gets the corresponding 24-bit color */
#define WINCOLOR(x) ( (RED5(x) << 6L) | (GREEN5(x) << 3L) | BLUE5(x))
#define BLUE RGB5(0,0,16)
#define BRIGHTBLUE RGB5(0,0,31)
#define GREEN RGB5(0,16,0)
#define BRIGHTGREEN RGB5(0,31,0)
#define CYAN RGB5(0,16,16)
#define RED RGB5(16,0,0)
#define BRIGHTRED RGB5(31,0,0)
#define MAGENTA RGB5(16,0,16)
#define YELLOW RGB5(31,31,0)
#define BROWN RGB5(16,16,0)
#define BLACK 0
#define LIGHTGRAY RGB5(16,16,16)
#define DARKGRAY RGB5(8,8,8)
#define WHITE RGB5(31,31,31)
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists