uiacceltk/hitchcock/coretoolkit/src/HuiEnv.cpp
branchRCL_3
changeset 6 10534483575f
parent 5 433cbbb6a04b
child 7 88b23e2e82e1
equal deleted inserted replaced
5:433cbbb6a04b 6:10534483575f
   739     CHuiEnv* self = static_cast<CHuiEnv*>( aInstance );
   739     CHuiEnv* self = static_cast<CHuiEnv*>( aInstance );
   740     
   740     
   741     TReal32 elapsedTime = 0;
   741     TReal32 elapsedTime = 0;
   742 
   742 
   743     // Investigate whether the environment is released
   743     // Investigate whether the environment is released
   744     if(self->iState == EReleased)
   744     if(self->iState == EReleased /*|| self->iPauseDrawing*/ )
   745         {
   745         {
   746         HUI_DEBUG(_L("CHuiEnv::RefreshCallBack() - Warning: Refresh callback called while environment is released."));
   746         if (!self->iPauseDrawing)
       
   747             {    
       
   748             HUI_DEBUG(_L("CHuiEnv::RefreshCallBack() - Warning: Refresh callback called while environment is released."));
       
   749             }        
   747         return KErrNone;
   750         return KErrNone;
   748         }
   751         }
   749 
   752 
   750     self->SetTimeFromLastUpdate(CHuiStatic::MilliSecondsSinceUpdateTime());
   753     self->SetTimeFromLastUpdate(CHuiStatic::MilliSecondsSinceUpdateTime());
   751     // Compute the elapsed time (in sec.) between the current and the
   754     // Compute the elapsed time (in sec.) between the current and the