00001 00002 #ifndef __QImage_h 00003 #define __QImage_h 00004 00005 #include "LgiLinux.h" 00006 00007 class QImage : public QObject 00008 { 00009 friend class QPainter; 00010 00011 XImage *Img; 00012 int Bits; 00013 00014 public: 00015 enum BlitOp 00016 { 00017 ColorOnly 00018 }; 00019 00020 QImage(); 00021 ~QImage(); 00022 00023 XImage *GetImage() { return Img; } 00024 00025 bool create(int x, int y, int bits); 00026 uchar *scanLine(int y); 00027 int bytesPerLine(); 00028 int getBits(); 00029 }; 00030 00031 typedef QImage *OsBitmap; 00032 00033 00034 #endif