364 GfxTransEffect::Begin( bg, KGfxControlActionBgImgToImgAppear ); |
364 GfxTransEffect::Begin( bg, KGfxControlActionBgImgToImgAppear ); |
365 } |
365 } |
366 |
366 |
367 iBgEffect = ETrue; |
367 iBgEffect = ETrue; |
368 } |
368 } |
369 |
369 |
370 // because of changes in nga end has to call here. Effects below are |
370 // because of changes in nga end has to call here. Effects below are |
371 // grouped and those will be triggered when calling GfxTransEffect::EndGroup |
371 // grouped and those will be triggered when calling GfxTransEffect::EndGroup |
372 if ( iLandscape ) |
372 if ( iLandscape ) |
373 { |
373 { |
374 GfxTransEffect::Begin( thisView, KGfxControlActionDisappearLsc ); |
374 GfxTransEffect::Begin( thisView, KGfxControlActionDisappearLsc ); |
375 GfxTransEffect::Begin( otherView, KGfxControlActionAppearLsc ); |
375 GfxTransEffect::Begin( otherView, KGfxControlActionAppearLsc ); |
376 |
376 |
377 GfxTransEffect::SetDemarcation( otherView, otherView->Position() ); |
377 GfxTransEffect::SetDemarcation( otherView, otherView->Position() ); |
378 GfxTransEffect::End( otherView ); |
378 GfxTransEffect::End( otherView ); |
379 |
379 |
380 GfxTransEffect::SetDemarcation( thisView, thisView->Position() ); |
380 GfxTransEffect::SetDemarcation( thisView, thisView->Position() ); |
381 GfxTransEffect::End( thisView ); |
381 GfxTransEffect::End( thisView ); |
382 } |
382 } |
383 else |
383 else |
384 { |
384 { |
385 GfxTransEffect::Begin( thisView, KGfxControlActionDisappearPrt ); |
385 GfxTransEffect::Begin( thisView, KGfxControlActionDisappearPrt ); |
386 GfxTransEffect::Begin( otherView, KGfxControlActionAppearPrt ); |
386 GfxTransEffect::Begin( otherView, KGfxControlActionAppearPrt ); |
387 |
387 |
388 GfxTransEffect::SetDemarcation( otherView, otherView->Position() ); |
388 GfxTransEffect::SetDemarcation( otherView, otherView->Position() ); |
389 GfxTransEffect::End( otherView ); |
389 GfxTransEffect::End( otherView ); |
390 |
390 |
391 GfxTransEffect::SetDemarcation( thisView, thisView->Position() ); |
391 GfxTransEffect::SetDemarcation( thisView, thisView->Position() ); |
392 GfxTransEffect::End( thisView ); |
392 GfxTransEffect::End( thisView ); |
393 } |
393 } |
394 |
394 |
395 return ETrue; |
395 return ETrue; |
396 } |
396 } |
397 |
397 |
398 // ----------------------------------------------------------------------------- |
398 // ----------------------------------------------------------------------------- |
399 // CXnEffectManager::EndActivateViewEffect |
399 // CXnEffectManager::EndActivateViewEffect |