summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_s60_p.h
diff options
context:
space:
mode:
authorJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-10-08 10:06:24 (GMT)
committerJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-10-08 10:17:04 (GMT)
commit5987274b8ce244d0020359d113800e7305367c68 (patch)
treeb8cec0e6d12a744896b85addea0c0a7398026d82 /src/gui/image/qpixmap_s60_p.h
parent013503f8f1a29f12789a8f88bd095597170ff76b (diff)
downloadQt-5987274b8ce244d0020359d113800e7305367c68.zip
Qt-5987274b8ce244d0020359d113800e7305367c68.tar.gz
Qt-5987274b8ce244d0020359d113800e7305367c68.tar.bz2
Fix to Symbian accelerated scrolling problem.
The reason for scrolling bug was that CFbsBitmapDevice wasn't informed if CFbsBitmap was resized. However, it seems that scroll implementation in QRasterPixmapData is faster that CFbsBitGc->CopyRect so this is also a patch which changes QS60PixmapData's scroll function to call QRasterPixmapData::scroll(). Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/gui/image/qpixmap_s60_p.h')
-rw-r--r--src/gui/image/qpixmap_s60_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/image/qpixmap_s60_p.h b/src/gui/image/qpixmap_s60_p.h
index 4498c05..b23961a 100644
--- a/src/gui/image/qpixmap_s60_p.h
+++ b/src/gui/image/qpixmap_s60_p.h
@@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE
class CFbsBitmap;
class CFbsBitmapDevice;
-class CBitmapContext;
+class CFbsBitGc;
class QSymbianBitmapDataAccess;
@@ -114,7 +114,7 @@ private:
CFbsBitmap *cfbsBitmap;
CFbsBitmapDevice *bitmapDevice;
- CBitmapContext *bitmapContext;
+ CFbsBitGc *bitmapGc;
QPaintEngine *pengine;
uchar* bytes;