home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / moveicon / bitmap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-11-30  |  401 b   |  27 lines

  1. #ifndef BITMAP_HDR
  2. #define BITMAP_HDR
  3.  
  4. #define    WORDSIZE    16
  5.  
  6. typedef struct bitmapStruct {
  7.     int        height;
  8.     int        width;
  9.     int        depth;
  10.     struct pixrect    *bitmap_pr;
  11. } Bitmap;
  12.  
  13. typedef struct bitmap_hdrStruct {
  14.     int        depth;
  15.     int        height;
  16.     int        format_version;
  17.     int        valid_bits_per_item;
  18.     int        width;
  19. } Bitmap_hdr;
  20.  
  21. #define    NULL_BM        ((Bitmap *) NULL)
  22.  
  23. extern FILE    *bm_open();
  24. extern Bitmap    *bm_load();
  25.  
  26. #endif
  27.