IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 28, 2005, 8:27:19 AM (21 years ago)
Author:
eugene
Message:

added weight and type to lines, defined -noX option

File:
1 edited

Legend:

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

    r4769 r5612  
    33int main (int argc, char **argv) {
    44 
    5   SetUpDisplay (&argc, argv);
    6   SetUpWindow (&argc, argv);
     5  /* this is a lame place to put this default */
     6  graphic.x = 10;
     7  graphic.y = 10;
     8  graphic.dx = 512;
     9  graphic.dy = 512;
    710
    8   DefineLayout (argc, argv);
     11  args (&argc, argv);
     12
     13  if (USE_XWINDOW) SetUpDisplay (&argc, argv); /* skip if Xless */
     14  if (USE_XWINDOW) SetUpWindow (&argc, argv);  /* skip if Xless */
     15
     16  DefineLayout (argc, argv);
    917  EventLoop ();
    1018
    11   XFreeFont (graphic.display, graphic.font);
    12   CloseDisplay ();
     19  if (USE_XWINDOW) CloseDisplay ();
    1320  exit (0);
    1421}
Note: See TracChangeset for help on using the changeset viewer.