- nedsim->gc = XCreateGC(nedsim->dpy, nedsim->win, GCForeground, &gcv);
- nedsim->panel = XCreatePixmap(nedsim->dpy, nedsim->win, nedsim->dpy_width, nedsim->dpy_height, xgwa.depth);
-
- // If the user specified a color, use it. Otherwise, select at random from
- // the available color schemes.