equal
deleted
inserted
replaced
343 void CMinimap::DocumentStarted() |
343 void CMinimap::DocumentStarted() |
344 { |
344 { |
345 iDocumentComplete = EFalse; |
345 iDocumentComplete = EFalse; |
346 iViewportOnDocument = TRect(); |
346 iViewportOnDocument = TRect(); |
347 iUpdateTimer->Cancel(); |
347 iUpdateTimer->Cancel(); |
348 iUpdateCbTimer->Cancel(); |
348 if ( iUpdateCbTimer->IsActive() ) |
|
349 { |
|
350 UpdateNow(); |
|
351 } |
349 iVisibilityTimer->Cancel(); |
352 iVisibilityTimer->Cancel(); |
|
353 if ( iFadeDirection ) |
|
354 { |
|
355 VisibilityTimerCbL(); |
|
356 } |
350 iGenerator->Clear(); |
357 iGenerator->Clear(); |
351 TRAP_IGNORE(CheckAndCreateMinimapBitmapsL()); |
358 TRAP_IGNORE(CheckAndCreateMinimapBitmapsL()); |
352 iNeedsUpdate = EFalse; |
359 iNeedsUpdate = EFalse; |
353 // keep bitmaps during loading to avoid constant realloc |
360 // keep bitmaps during loading to avoid constant realloc |
354 iGenerator->SetKeepsBitmaps(ETrue); |
361 iGenerator->SetKeepsBitmaps(ETrue); |