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

  1. #ifndef PICTUREFORMATTWIN_H
  2. #define PICTUREFORMATTWIN_H
  3.  
  4. #include "PictureFormat.h"
  5. #include <Nocopy.h>
  6. class String;
  7.  
  8. class PictureFormatTwin : public PictureFormat, private Nocopy
  9. {
  10.     Color * data;
  11.     int sx;
  12.     int sy;
  13.     static bool recursion;
  14. public:    
  15.     explicit PictureFormatTwin(const String & name);
  16.     virtual ~PictureFormatTwin();
  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 8;
  23.     }
  24. };
  25. #endif //PICTUREFORMATTWIN_H