#include /* * a set of gray scales so we can pretend to have a few more colors * (hopefully, 8 times as many) * derived from a set of files by Karl Kashinsky */ UWORD GrayPat[9][4] = { { 0x0000, 0x0000, 0x0000, 0x0000 }, { 0x8080, 0x0202, 0x4040, 0x1010 }, { 0xaaaa, 0x0000, 0x5555, 0x0000 }, { 0xA2A2, 0x1515, 0xA8A8, 0x4545 }, { 0xAAAA, 0x5555, 0xAAAA, 0x5555 }, { 0x7777, 0xDDDD, 0xBBBB, 0xEEEE }, { 0xAAAA, 0xffff, 0x5555, 0xffff }, { 0x7F7F, 0xFDFD, 0xBFBF, 0xEFEF }, { 0xffff, 0xffff, 0xffff, 0xffff } };