idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
child 103 966d119a7e67
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
   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
   450 // -----------------------------------------------------------------------------
   450 // -----------------------------------------------------------------------------
   451 //
   451 //
   452 void CXnEffectManager::CleanupControlEffect()
   452 void CXnEffectManager::CleanupControlEffect()
   453     {
   453     {
   454     iBgEffect = EFalse;
   454     iBgEffect = EFalse;
   455     iGroupId = -1;
   455     iGroupId = -1;       
       
   456     
   456     iControls.Reset();        
   457     iControls.Reset();        
   457     }
   458     }
   458 
   459 
   459 // -----------------------------------------------------------------------------
   460 // -----------------------------------------------------------------------------
   460 // CXnEffectManager::ControlEffectActive
   461 // CXnEffectManager::ControlEffectActive