summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxpainteditem_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-31 22:54:29 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-31 22:54:29 (GMT)
commitb3489278b1c54ee5c15d103d45710195083fbd2b (patch)
treea26fa55376faba969fb411022bb6ce8146bbc2c0 /src/declarative/fx/qfxpainteditem_p.h
parent84b4de8c49ebfb238d97199abfb41f27f53f39ee (diff)
parent9b1c3ff7fdbfcda4aa1899fb7e73f82d07a68783 (diff)
downloadQt-b3489278b1c54ee5c15d103d45710195083fbd2b.zip
Qt-b3489278b1c54ee5c15d103d45710195083fbd2b.tar.gz
Qt-b3489278b1c54ee5c15d103d45710195083fbd2b.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/fx/qfxpainteditem_p.h')
-rw-r--r--src/declarative/fx/qfxpainteditem_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxpainteditem_p.h b/src/declarative/fx/qfxpainteditem_p.h
index f01936d..179fd61 100644
--- a/src/declarative/fx/qfxpainteditem_p.h
+++ b/src/declarative/fx/qfxpainteditem_p.h
@@ -63,7 +63,7 @@ class QFxPaintedItemPrivate : public QFxItemPrivate
public:
QFxPaintedItemPrivate()
- : max_imagecache_size(100000), fillColor(Qt::transparent)
+ : max_imagecache_size(100000), fillColor(Qt::transparent), cachefrozen(false)
{
}
@@ -72,6 +72,7 @@ public:
~ImageCacheItem() { }
int age;
QRect area;
+ QRect dirty; // one dirty area (allows optimization of common cases)
QPixmap image;
};
@@ -80,6 +81,7 @@ public:
int max_imagecache_size;
QSize contentsSize;
QColor fillColor;
+ bool cachefrozen;
};
QT_END_NAMESPACE