home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / netpbma.zip / pnm / x10wd.h < prev    next >
C/C++ Source or Header  |  1993-10-04  |  1KB  |  33 lines

  1. /* x10wd.h - the following defs are taken from various X10 header files
  2. */
  3.  
  4. #ifndef _X10WD_H_
  5. #define _X10WD_H_
  6.  
  7. #define XYFormat 0
  8. #define ZFormat 1
  9.  
  10. #define X10WD_FILE_VERSION 6
  11. typedef struct {
  12.     int header_size;        /* Size of the entire file header (bytes). */
  13.     int file_version;        /* X10WD_FILE_VERSION */
  14.     int display_type;        /* Display type. */
  15.     int display_planes;        /* Number of display planes. */
  16.     int pixmap_format;        /* Pixmap format. */
  17.     int pixmap_width;        /* Pixmap width. */
  18.     int pixmap_height;        /* Pixmap height. */
  19.     short window_width;        /* Window width. */
  20.     short window_height;    /* Window height. */
  21.     short window_x;        /* Window upper left X coordinate. */
  22.     short window_y;        /* Window upper left Y coordinate. */
  23.     short window_bdrwidth;    /* Window border width. */
  24.     short window_ncolors;    /* number of Color entries in this window */
  25.     } X10WDFileHeader;
  26.  
  27. typedef struct {
  28.     int pixel;
  29.     unsigned short red, green, blue;
  30.     } X10Color;
  31.  
  32. #endif /*_X10WD_H_*/
  33.