IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:23:01 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa, unify RotFont, bDraw functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/setup/SetUpWindow.c

    r5612 r5852  
    55void SetUpWindow (int *argc, char **argv) {
    66
    7   int N;
    87  Icon icon;
     8  char *name;
     9  int Ncolors;
    910
    1011  icon.width = icon_width;
     
    2122  SetNormalHints ();
    2223  SetWMHints (&icon);
    23   NameWindow ("Kapa");
    2424
    25   MakeColormap (*argc, argv);  /* move to SetUpWindow? */
     25  if (NAME_WINDOW == NULL) {
     26    NameWindow ("Kapa");
     27  } else {
     28    ALLOCATE (name, char, strlen(NAME_WINDOW) + 10);
     29    sprintf (name, "Kapa %s", NAME_WINDOW);
     30    NameWindow (name);
     31    free (name);
     32  }
    2633
     34  graphic.color = KapaX11colors (graphic.display, graphic.colormap, graphic.fore, &Ncolors);
    2735  if (MAP_WINDOW) MapWindow (graphic);
    2836  return;
Note: See TracChangeset for help on using the changeset viewer.