uiacceltk/hitchcock/Client/src/alftextstylemanager.cpp
branchRCL_3
changeset 3 d8a3531bc6b8
parent 0 15bf7259bb7c
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
   114             }
   114             }
   115         }
   115         }
   116 
   116 
   117     void DoRefreshMesh()
   117     void DoRefreshMesh()
   118         {
   118         {
       
   119         if( IsActive() )
       
   120             {
       
   121             Cancel();
       
   122             }
       
   123         
   119         for (TInt p = iVisuals.Count()-1; p >= 0; p--)
   124         for (TInt p = iVisuals.Count()-1; p >= 0; p--)
   120             {
   125             {
   121             iVisuals[p]->PrepareForUpdateMesh();
   126             iVisuals[p]->PrepareForUpdateMesh();
   122             }
   127             }
   123     
   128     
   335 void CAlfTextStyleManager::RefreshAllVisuals()
   340 void CAlfTextStyleManager::RefreshAllVisuals()
   336     { // called by CAlfEnv::RestoreL to get all the text visuals to rebuild themselves
   341     { // called by CAlfEnv::RestoreL to get all the text visuals to rebuild themselves
   337 #ifdef ALF_RASTER_TEXT
   342 #ifdef ALF_RASTER_TEXT
   338     for(TInt i = 0 ; i < iData->iTextStyles.Count() ; i++ )
   343     for(TInt i = 0 ; i < iData->iTextStyles.Count() ; i++ )
   339         {
   344         {
   340         iData->iTextStyles[i]->RefreshMesh();
   345         iData->iTextStyles[i]->DoRefreshMesh();
   341         }
   346         }
   342 #else
   347 #else
   343     return;
   348     return;
   344 #endif
   349 #endif
   345     }
   350     }