# include "Ximage.h"

/************** SetUpDisplay *************/
void SetUpDisplay (int *argc, char **argv) {

  char display_name[120];

  CheckDisplayName (argc, argv, display_name);

  graphic.display  = OpenDisplay     (display_name,   &graphic.screen);
  graphic.colormap = DefaultColormap (graphic.display, graphic.screen);
  graphic.depth    = DefaultDepth    (graphic.display, graphic.screen);
  CheckColors (argc, argv);

}

