diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-03-26 12:09:47 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-03-26 12:09:47 (GMT) |
commit | ea0f3f7db1d62b2ee94addbeb991061bc2811745 (patch) | |
tree | ffff0c328cbf3fd3f6281de7830146a2e8bf2b51 /src | |
parent | 8c4991d5b034d518dd06dc42c3cc9a7fa9b9e3a1 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/styles/qs60style_s60.cpp | 2 |
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); |