home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2002 May / Game.EXE_05_2002.iso / Alawar / Lib / Format / PictureFormatBMP.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-04-03  |  575 b   |  25 lines

  1. #ifndef PICTUREFORMATBMP_H
  2. #define PICTUREFORMATBMP_H
  3.  
  4. #include "PictureFormat.h"
  5. #include <win32/windows.h>
  6. #include <Nocopy.h>
  7. class String;
  8.  
  9. class PictureFormatBMP : public PictureFormat, private Nocopy
  10. {
  11.     BITMAPFILEHEADER file_header;
  12.     BITMAPINFOHEADER bitmap_info_header;
  13.     Color * data;
  14. public:
  15.     explicit PictureFormatBMP(const String & name);
  16.     virtual ~PictureFormatBMP();
  17.     virtual const Color * colors()const;
  18.     virtual int height()const;
  19.     virtual int width()const;
  20.     virtual int alpha_bits()const
  21.     {
  22.         return 0;
  23.     }
  24. };
  25. #endif //PICTUREFORMATBMP_H