equal
deleted
inserted
replaced
238 TRect outerRect; |
238 TRect outerRect; |
239 TRect innerRect; |
239 TRect innerRect; |
240 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
240 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
241 outerRect, |
241 outerRect, |
242 innerRect); |
242 innerRect); |
243 TAknsItemID coMaskFrameId; |
243 |
244 if ( callState == CBubbleManager::EOnHold ) |
244 if ( callState == CBubbleManager::EOnHold ) |
245 { |
245 { |
246 iFrameId = KAknsIIDQsnFrCall2Bubble; |
246 iFrameId = KAknsIIDQsnFrCall2Bubble; |
247 coMaskFrameId = KAknsIIDQsnFrCall2BubbleCoMask; |
|
248 } |
247 } |
249 else if ( callState == CBubbleManager::EDisconnected ) |
248 else if ( callState == CBubbleManager::EDisconnected ) |
250 { |
249 { |
251 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
250 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
252 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
253 } |
251 } |
254 else |
252 else |
255 { |
253 { |
256 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
254 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
257 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
258 } |
255 } |
259 |
256 |
260 iOuterRect = outerRect; |
257 iOuterRect = outerRect; |
261 iOuterRect.Move( Rect().iTl ); |
258 iOuterRect.Move( Rect().iTl ); |
262 iInnerRect = innerRect; |
259 iInnerRect = innerRect; |
294 BubbleUtils::PrepareBubbleImageL( |
291 BubbleUtils::PrepareBubbleImageL( |
295 iFrameId, |
292 iFrameId, |
296 outerRect, |
293 outerRect, |
297 innerRect, |
294 innerRect, |
298 iBubble ); |
295 iBubble ); |
299 |
296 |
300 // Add transparency |
|
301 BubbleUtils::AddTransparencyToBubbleImageL( |
|
302 coMaskFrameId, |
|
303 outerRect, |
|
304 innerRect, |
|
305 iBubble ); |
|
306 |
|
307 break; |
297 break; |
308 } |
298 } |
309 case CBubbleManager::ENone: |
299 case CBubbleManager::ENone: |
310 default: |
300 default: |
311 break; |
301 break; |