Replaced QPixmap member variable with a more generic QPaintDevice. Renamed
GetGC() to GetPaintDevice(). git-svn-id: svn://10.0.0.236/trunk@45103 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user