equal
deleted
inserted
replaced
240 |
240 |
241 BubbleUtils::PrepareBubbleImageL( |
241 BubbleUtils::PrepareBubbleImageL( |
242 iFrameId, |
242 iFrameId, |
243 outerRect, |
243 outerRect, |
244 innerRect, |
244 innerRect, |
245 iBubble ); |
245 iBubble ); |
246 |
|
247 if ( iHeader->CallObjectImage() && |
|
248 !iHeader->CallObjectText().Length() ) |
|
249 { |
|
250 // Add transparency |
|
251 BubbleUtils::AddTransparencyToBubbleImageL( |
|
252 KAknsIIDQsnFrCall2RectCoMask, // gradient tp mask |
|
253 outerRect, |
|
254 innerRect, |
|
255 iBubble ); |
|
256 } |
|
257 |
246 |
258 break; |
247 break; |
259 } |
248 } |
260 |
249 |
261 case CBubbleManager::EActive: |
250 case CBubbleManager::EActive: |
275 TRect outerRect; |
264 TRect outerRect; |
276 TRect innerRect; |
265 TRect innerRect; |
277 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
266 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
278 outerRect, |
267 outerRect, |
279 innerRect); |
268 innerRect); |
280 |
269 |
281 TAknsItemID coMaskFrameId; |
|
282 if ( callState == CBubbleManager::EOnHold ) |
270 if ( callState == CBubbleManager::EOnHold ) |
283 { |
271 { |
284 iFrameId = KAknsIIDQsnFrCall2Bubble; |
272 iFrameId = KAknsIIDQsnFrCall2Bubble; |
285 coMaskFrameId = KAknsIIDQsnFrCall2BubbleCoMask; |
|
286 } |
273 } |
287 else if ( callState == CBubbleManager::EDisconnected ) |
274 else if ( callState == CBubbleManager::EDisconnected ) |
288 { |
275 { |
289 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
276 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
290 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
291 } |
277 } |
292 else |
278 else |
293 { |
279 { |
294 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
280 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
295 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
296 } |
281 } |
297 |
282 |
298 // for possible frame draw |
283 // for possible frame draw |
299 iOuterRect = outerRect; |
284 iOuterRect = outerRect; |
300 iOuterRect.Move( Rect().iTl ); |
285 iOuterRect.Move( Rect().iTl ); |