470 // set the temporary layout for default icon |
470 // set the temporary layout for default icon |
471 iSplitter.SetLayoutL( &iDefaultIconLayout, iCurrentVisual ); |
471 iSplitter.SetLayoutL( &iDefaultIconLayout, iCurrentVisual ); |
472 } |
472 } |
473 else |
473 else |
474 { |
474 { |
475 // Set paused effect on current visual |
|
476 //if(iPausedVisuals.Count()) |
|
477 // { |
|
478 // iSplitter.SetLayoutL( &iPausedLayout, iCurrentVisual ); |
|
479 // } |
|
480 //else |
|
481 // { |
|
482 // enter the view mode for visual |
475 // enter the view mode for visual |
483 // ask the layout chain and set that to the current visual |
476 // ask the layout chain and set that to the current visual |
484 // set also effect fade-in |
477 // set also effect fade-in |
485 iSplitter.SetLayoutL( |
478 iSplitter.SetLayoutL( |
486 currentEffect->EnterViewL( |
479 currentEffect->EnterViewL( |
487 iCurrentVisual, |
480 iCurrentVisual, |
488 iViewDuration, |
481 iViewDuration, |
489 KFirstEffectFadeInDuration ), |
482 KFirstEffectFadeInDuration ), |
490 iCurrentVisual ); |
483 iCurrentVisual ); |
491 // } |
|
492 } |
484 } |
493 // bring the focus visual to the front |
485 // bring the focus visual to the front |
494 iCurrentVisual->MoveToFront(); |
486 iCurrentVisual->MoveToFront(); |
495 } |
487 } |
496 //parts of the code commented to remove layout dependency |
488 //parts of the code commented to remove layout dependency |