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