home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2002 April / Game.EXE_04_2002.iso / Alawar / BMPPictureFormat.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-25  |  489 b   |  20 lines

  1. #ifndef BMPPICTUREFORMAT_H
  2. #define BMPPICTUREFORMAT_H
  3.  
  4. #include "PictureFormat.h"
  5. #include <windows.h>
  6. class String;
  7.  
  8. class BMPPictureFormat : public PictureFormat
  9. {
  10.     BITMAPFILEHEADER file_header;
  11.     BITMAPINFOHEADER bitmap_info_header;
  12.     Color * data;
  13. public:
  14.     explicit BMPPictureFormat(const String & name);
  15.     virtual ~BMPPictureFormat();
  16.     virtual const Color * colors()const;
  17.     virtual unsigned height()const;
  18.     virtual unsigned width()const;
  19. };
  20. #endif //BMPPICTUREFORMAT_H