uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp
branchRCL_3
changeset 3 d8a3531bc6b8
parent 0 15bf7259bb7c
child 7 88b23e2e82e1
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
   525 
   525 
   526     TInt i = 0;
   526     TInt i = 0;
   527     TInt j = 0;
   527     TInt j = 0;
   528 
   528 
   529     CHuiDisplay* display = aDisplay ? aDisplay : iDisplay;
   529     CHuiDisplay* display = aDisplay ? aDisplay : iDisplay;
       
   530     
       
   531     ASSERT(display!=NULL);
   530 
   532 
   531     if (iCanvasRenderBuffer && iCanvasGc)
   533     if (iCanvasRenderBuffer && iCanvasGc)
   532         {
   534         {
   533         DrawSelfFrozen(aGc, aDisplay);
   535         DrawSelfFrozen(aGc, display);
   534         return;
   536         return;
   535         }
   537         }
   536 
   538 
   537     TInt visualCount = 0;
   539     TInt visualCount = 0;
   538     TInt entryCount = iEntries.Count();
   540     TInt entryCount = iEntries.Count();
  1212         CHuiRosterEntry& entry = *iEntries[j];
  1214         CHuiRosterEntry& entry = *iEntries[j];
  1213         visualCount = entry.iRootVisuals.Count();
  1215         visualCount = entry.iRootVisuals.Count();
  1214         for(TInt i = 0; i < visualCount; ++i)
  1216         for(TInt i = 0; i < visualCount; ++i)
  1215             {
  1217             {
  1216             // Ignore inactive visuals
  1218             // Ignore inactive visuals
  1217             if ( entry.iRootVisuals[i]->Flags()& EHuiVisualFlagInactive )
  1219             if ( !(entry.iRootVisuals[i]->Flags()& EHuiVisualFlagInactive) )
  1218                 {
  1220                 {
  1219                 continue; 
  1221                 // This will clear the change flags of the entire tree of visuals.
  1220                 }
  1222                 entry.iRootVisuals[i]->ClearChanged(); 
  1221             
  1223                 }            
  1222             // This will clear the change flags of the entire tree of visuals.
       
  1223             entry.iRootVisuals[i]->ClearChanged();
       
  1224             }
  1224             }
  1225         }
  1225         }
  1226     }
  1226     }
  1227 
  1227 
  1228 
  1228