Replaced QPixmap member variable with a more generic QPaintDevice. Renamed

GetGC() to GetPaintDevice().
This commit is contained in:
shawnp%earthling.net 1999-08-30 02:19:47 +00:00
Родитель 14736d27f9
Коммит b71d315004
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -52,7 +52,7 @@ public:
//nsIDrawingSurfaceQT interface
NS_IMETHOD Init(QPixmap * aPixmap, QPainter *aGC);
NS_IMETHOD Init(QPaintDevice * aPaintDevice, QPainter *aGC);
NS_IMETHOD Init(QPainter *aGC,
PRUint32 aWidth,
PRUint32 aHeight,
@ -60,14 +60,14 @@ public:
// utility functions.
QPainter * GetGC(void);
QPixmap * GetPixmap(void);
QPaintDevice * GetPaintDevice(void);
protected:
NS_IMETHOD CommonInit();
private:
/* general */
QPixmap * mPixmap;
QPaintDevice * mPaintDevice;
QPainter * mGC;
int mDepth;
nsPixelFormat mPixFormat;