diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 14:30:27 -0700 |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 15:00:45 -0700 |
commit | 77fc1ccec09e23de6fc6fedd368cef8111745711 (patch) | |
tree | cb6a982932a79892b6d0dadb05c2e1dba1854e17 /src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h | |
parent | c0f85469a76a25fff6951b634b67cfbcd0507b93 (diff) | |
download | qt4-tools-77fc1ccec09e23de6fc6fedd368cef8111745711.tar.gz |
Refactor QDirectFBPaintDevice
Make the engine a member in QDirectFBPaintDevice instead of one in
QDirectFBPixmapData and one in QDirectFBWindowSurface.
Don't use the default screen for the dfbpaintdevices. Pass one
explicitly.
Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h index 8f3ce41617..55671029d4 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h @@ -56,7 +56,7 @@ class QDirectFBPaintEngine; class QDirectFBPixmapData : public QPixmapData, public QDirectFBPaintDevice { public: - QDirectFBPixmapData(PixelType pixelType); + QDirectFBPixmapData(QDirectFBScreen *screen, PixelType pixelType); ~QDirectFBPixmapData(); // Re-implemented from QPixmapData: @@ -78,7 +78,6 @@ public: static bool hasAlphaChannel(const QImage &img); private: void invalidate(); - QDirectFBPaintEngine *engine; QImage::Format format; bool alpha; }; |