emailuis/emailui/src/FreestyleEmailUiHtmlViewerView.cpp
branchRCL_3
changeset 26 67369d1b217f
parent 24 b5fbb9b25d57
child 52 efd4f1afd43e
equal deleted inserted replaced
24:b5fbb9b25d57 26:67369d1b217f
   453         iAppUi.AddToStackL( iContainer );
   453         iAppUi.AddToStackL( iContainer );
   454         iContainer->MakeVisible( ETrue );
   454         iContainer->MakeVisible( ETrue );
   455         }
   455         }
   456     }
   456     }
   457 
   457 
       
   458 // ---------------------------------------------------------------------------
       
   459 //  hide or show Container ( used for activation of the view )
       
   460 //
       
   461 void CFsEmailUiHtmlViewerView::FadeOut(TBool aDirectionOut )
       
   462 	{
       
   463 	FUNC_LOG;
       
   464 	iContainer->MakeVisible(!aDirectionOut);
       
   465 	}
       
   466 
       
   467 
   458 // -----------------------------------------------------------------------------
   468 // -----------------------------------------------------------------------------
   459 // CFsEmailUiHtmlViewerView::DoActivateL()
   469 // CFsEmailUiHtmlViewerView::DoActivateL()
   460 // Activate an Compose view
   470 // Activate an Compose view
   461 // -----------------------------------------------------------------------------
   471 // -----------------------------------------------------------------------------
   462 //
   472 //
  1085     }
  1095     }
  1086 
  1096 
  1087 void CFsEmailUiHtmlViewerView::HandleStatusPaneSizeChange()
  1097 void CFsEmailUiHtmlViewerView::HandleStatusPaneSizeChange()
  1088     {
  1098     {
  1089     CFsEmailUiViewBase::HandleStatusPaneSizeChange();
  1099     CFsEmailUiViewBase::HandleStatusPaneSizeChange();
       
  1100 	
       
  1101 	HandleViewRectChange();
  1090     }
  1102     }
  1091 
  1103 
  1092 void CFsEmailUiHtmlViewerView::HandleViewRectChange()
  1104 void CFsEmailUiHtmlViewerView::HandleViewRectChange()
  1093     {
  1105     {
  1094     CFsEmailUiViewBase::HandleViewRectChange();
  1106     CFsEmailUiViewBase::HandleViewRectChange();
  1534     GetInitiallyDimmedItemsL(resourceId, dimmedItems); // get the currently dimmed buttons
  1546     GetInitiallyDimmedItemsL(resourceId, dimmedItems); // get the currently dimmed buttons
  1535     
  1547     
  1536     SetToolbarItemDimmed( EFsEmailUiTbCmdActions, ETrue);
  1548     SetToolbarItemDimmed( EFsEmailUiTbCmdActions, ETrue);
  1537     SetToolbarItemDimmed( EFsEmailUiTbCmdDelete, ETrue);
  1549     SetToolbarItemDimmed( EFsEmailUiTbCmdDelete, ETrue);
  1538         
  1550         
       
  1551     HideToolbar();
  1539     CFsDelayedLoader::InstanceL()->GetContactHandlerL()->LaunchRemoteLookupWithQueryL( *mailBox, *textData );
  1552     CFsDelayedLoader::InstanceL()->GetContactHandlerL()->LaunchRemoteLookupWithQueryL( *mailBox, *textData );
       
  1553     ShowToolbar();  
  1540     
  1554     
  1541     SetToolbarItemDimmed( EFsEmailUiTbCmdActions, EFalse);
  1555     SetToolbarItemDimmed( EFsEmailUiTbCmdActions, EFalse);
  1542     SetToolbarItemDimmed( EFsEmailUiTbCmdDelete, EFalse);
  1556     SetToolbarItemDimmed( EFsEmailUiTbCmdDelete, EFalse);
  1543    
  1557    
  1544     for (TInt i = 0; i < dimmedItems.Count(); i++) // restore the buttons
  1558     for (TInt i = 0; i < dimmedItems.Count(); i++) // restore the buttons