Annotation of 43BSDTahoe/new/X/showimg/shopt.h, revision 1.1.1.1

1.1       root        1: /* 
                      2:  * Structures to facilitate option passing in showimg.
                      3:  */
                      4: 
                      5: /* main window structures */
                      6: struct windmain {
                      7:     char *display;             /* display name */
                      8:     char filegeometry[30];     /* geometry from file */
                      9:     char *geometry;            /* geometry from command line, if any */
                     10:     OpaqueFrame frame;         /* main window descriptor */
                     11:     WindowInfo winfo;          /* main window information struct */
                     12:     Cursor windcursor;         /* current main window cursor */
                     13:     Cursor lastcursor;         /* previous cursor */
                     14: };
                     15: 
                     16: /* Color info */
                     17: struct colorwind {
                     18:     int nplanes;               /* number of color planes */
                     19:     int pixels[1];             /* base for color map */
                     20:     int ncolors;               /* number of colors used */
                     21:     int planes;                /* planes mask */
                     22:     int shift;                 /* #left shifts to adjust zero-based */
                     23:                                /*     pixels to pixels[1] */
                     24:     Color cmap[256];           /* GPX max color map limited to 256 */
                     25: };
                     26: 
                     27: /* image, image info, options, operational flags */
                     28: struct imagewind {
                     29:     char *filename;
                     30:     short *header;             /* header data from file */
                     31:     short *picture;            /* 16-bit image */
                     32:     unsigned char *image;      /* 8-bit (or fewer) displayed image */
                     33:     int nrows;
                     34:     int ncols;
                     35:     int pmin;                  /* high min pixel flags not set */
                     36:     int pmax;                  /* low max pixel flags not set */
                     37:     int headskip;              /* bytes to skip before reading */
                     38:     int calibration;           /* flag for test pattern */
                     39:     int fitsflag;              /* file format indicator */
                     40: 
                     41: #ifdef XRAY
                     42:     /* added by egm */
                     43: 
                     44:     int ein; /* flag for Einstein xray data */
                     45:     int ros; /* flag for Rosat xray data */
                     46:     int iy, iz, zoom, energy; /* parameters on -xray switch */
                     47:     short int ict[513]; /* image file control table */
                     48:     int muthict[2400];  /* it's a muther ict table */
                     49:     char poename[132], hdrname[132];
                     50:     
                     51:     /* end of egm code */
                     52: #endif
                     53: 
                     54:     u_short VOP_Flags;
                     55:     u_short SOP_Flags;
                     56:     u_short COP_Flags;
                     57:     u_short FOP_Flags;
                     58: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.