uifw/EikStd/coctlsrc/eikspane.cpp
branchRCL_3
changeset 72 a5e7a4f63858
parent 64 85902f042028
equal deleted inserted replaced
64:85902f042028 72:a5e7a4f63858
  3724 
  3724 
  3725         boundingRegion.AddRect( boundingRect );
  3725         boundingRegion.AddRect( boundingRect );
  3726 
  3726 
  3727         // Read statuspane shape
  3727         // Read statuspane shape
  3728         TRAP_IGNORE( GetShapeL( statusPaneRegion, ETrue, ETrue ) );
  3728         TRAP_IGNORE( GetShapeL( statusPaneRegion, ETrue, ETrue ) );
  3729         
       
  3730         // We need to subduce the rect of digital clock pane here, 
       
  3731         // because it stay on the bottom cba area always in landscape mode.
       
  3732         if (Layout_Meta_Data::IsLandscapeOrientation())
       
  3733             {
       
  3734             CEikStatusPaneLayoutTree* pane = iModel->CurrentLayout()->Find(TUid::Uid(EEikStatusPaneUidDigitalClock));
       
  3735             if (pane != NULL)
       
  3736                 {
       
  3737                 statusPaneRegion.SubRect(pane->Rect());
       
  3738                 }
       
  3739             }
       
  3740         
       
  3741         statusPaneRegion.Tidy();
  3729         statusPaneRegion.Tidy();
  3742 
  3730 
  3743         // Get largest possible rect that does not overlap with sp shape
  3731         // Get largest possible rect that does not overlap with sp shape
  3744         TRect largestBoundingRect(
  3732         TRect largestBoundingRect(
  3745             LargestBoundingRect( boundingRegion, statusPaneRegion ) );
  3733             LargestBoundingRect( boundingRegion, statusPaneRegion ) );