summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-03-26 12:09:47 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-03-26 12:09:47 (GMT)
commitea0f3f7db1d62b2ee94addbeb991061bc2811745 (patch)
treeffff0c328cbf3fd3f6281de7830146a2e8bf2b51 /src/gui/styles
parent8c4991d5b034d518dd06dc42c3cc9a7fa9b9e3a1 (diff)
downloadQt-ea0f3f7db1d62b2ee94addbeb991061bc2811745.zip
Qt-ea0f3f7db1d62b2ee94addbeb991061bc2811745.tar.gz
Qt-ea0f3f7db1d62b2ee94addbeb991061bc2811745.tar.bz2
QS60Style cannot draw transparency to UI element border areas
Due to incorrect initialization of CFbsBitmap, graphic frames (9-part, or 3-part ones) are drawn with white non-transparent rect below them. Initialization corrected. Task-number: QT-3185 Reviewed-by: Janne Anttila
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qs60style_s60.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp
index 1138d20..97cf919 100644
--- a/src/gui/styles/qs60style_s60.cpp
+++ b/src/gui/styles/qs60style_s60.cpp
@@ -859,11 +859,9 @@ QPixmap QS60StyleModeSpecifics::createSkinnedGraphicsLX(QS60StylePrivate::SkinFr
User::LeaveIfError(bitmapDev->CreateContext(bitmapGc));
CleanupStack::PushL(bitmapGc);
-#ifndef Q_SYMBIAN_HAS_EXTENDED_BITMAP_TYPE
frame->LockHeap();
memset(frame->DataAddress(), 0, frame->SizeInPixels().iWidth * frame->SizeInPixels().iHeight * 4); // 4: argb bytes
frame->UnlockHeap();
-#endif
const TRect outerRect(TPoint(0, 0), targetSize);
const TRect innerRect = innerRectFromElement(frameElement, outerRect);