uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp
branchRCL_3
changeset 17 3ac8bf5c5014
parent 11 46927d61fef3
child 22 7c5dd702d6d3
equal deleted inserted replaced
11:46927d61fef3 17:3ac8bf5c5014
   704          else
   704          else
   705             {
   705             {
   706             RosterImpl().ScanDirty();	         	      
   706             RosterImpl().ScanDirty();	         	      
   707             }   
   707             }   
   708 
   708 
   709         if (!useDirtyRects || cantUseDirtyRectsInThisFrame || iEnv.EffectsEngine()->HasActiveEffects()) 
   709         if (!useDirtyRects || cantUseDirtyRectsInThisFrame || iEnv.EffectsEngine()->HasActiveEffects() || RosterImpl().IsVisibleContentFrozen()) 
   710          	{         	
   710          	{         	
   711 	        // Just redraw everything
   711 	        // Just redraw everything
   712 	        iCurrentDirtyRegions->Reset();
   712 	        iCurrentDirtyRegions->Reset();
   713 	        AddDirtyRegion(displayArea, *iCurrentDirtyRegions, EFalse);
   713 	        AddDirtyRegion(displayArea, *iCurrentDirtyRegions, EFalse);
   714          	} 
   714          	} 
   757 	
   757 	
   758 	// if there is a fade effect in progress, we
   758 	// if there is a fade effect in progress, we
   759 	// need to clear the screen as fade effect uses
   759 	// need to clear the screen as fade effect uses
   760 	// always blending. If we do not clear here
   760 	// always blending. If we do not clear here
   761 	// fade leaves trails in certain situations.
   761 	// fade leaves trails in certain situations.
   762 	if (iEnv.EffectsEngine()->HasActiveFadeEffect())
   762 	if (iEnv.EffectsEngine()->HasActiveEffects() 
       
   763 	        || RosterImpl().IsVisibleContentFrozen() // guaranteen, that transparent pixels of the UI surface are drawn correctly during layout switch.
       
   764 	        )
   763 	    {
   765 	    {
   764         iGc->SetPenColor(KRgbBlack);
   766         iGc->SetPenColor(KRgbBlack);
   765         iGc->SetPenAlpha(0);
   767         iGc->SetPenAlpha(0);
   766         iGc->Disable(CHuiGc::EFeatureClipping);
   768         iGc->Disable(CHuiGc::EFeatureClipping);
   767         iGc->Disable(CHuiGc::EFeatureBlending);
   769         iGc->Disable(CHuiGc::EFeatureBlending);