home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / images / image.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  761 b   |  27 lines

  1. /* Enumeration of modes. You probably won't have to worry about these
  2.     directly since they correspond to the array of names below and you
  3.   can just stick them on a menu and pass the index of the chosen
  4.   mode. */
  5.  
  6. typedef enum {
  7.   image_mode_cga,
  8.   image_mode_ega,
  9.   image_mode_herc,
  10.   image_mode_vga_640x480x16,
  11. #ifndef RELEASE
  12.   image_mode_vga_320x200x256,
  13.   image_mode_svga_640x480x256,
  14.   image_mode_svga_800x600x256,
  15.   image_mode_svga_1024x768x256,
  16. #endif /* RELEASE */
  17.   image_modes_total
  18. } image_modes;
  19.  
  20. /* Correspond to entries above; just stick image_mode_names[0] through
  21.     image_mode_names[image_modes_total-1] on a menu. */
  22.  
  23. extern char *image_mode_names[];
  24.  
  25. signed short image_viewer(const char *fname, image_modes mode);
  26.  
  27.