#include "mdp.h" Colormap colours; void set_colors(Pict p,Widget parent) { XColor colval,stdcol[256]; C_MAP map; int i; int count; colours = XCreateColormap(theDisp,XtWindow(parent),theVisual,AllocAll); colval.flags = DoRed | DoGreen | DoBlue; for (i=0; i