summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-05-06 17:50:02 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-06 17:50:02 (GMT)
commit42e10c0dda9acfb3a5344bd20172898e7ed2846d (patch)
tree83fca662063e6325ead7b01f3dd7669574ca0131 /src/plugins
parentc331495646cb4f64c00f5bfd0bd79405eb36b558 (diff)
downloadQt-42e10c0dda9acfb3a5344bd20172898e7ed2846d.zip
Qt-42e10c0dda9acfb3a5344bd20172898e7ed2846d.tar.gz
Qt-42e10c0dda9acfb3a5344bd20172898e7ed2846d.tar.bz2
Make Scale public
Needed for fallback warnings Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 6d8f617..18e0d55 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -211,6 +211,8 @@ static QCache<qint64, CachedImage> imageCache(4*1024*1024); // 4 MB
class QDirectFBPaintEnginePrivate : public QRasterPaintEnginePrivate
{
public:
+ enum Scale { NoScale, Scaled, NegativeScale };
+
QDirectFBPaintEnginePrivate(QDirectFBPaintEngine *p);
~QDirectFBPaintEnginePrivate();
@@ -266,7 +268,7 @@ private:
bool simplePen;
bool matrixRotShear;
- enum Scale { NoScale, Scaled, NegativeScale } scale;
+ Scale scale;
SurfaceCache *surfaceCache;
QTransform transform;