uifw/EikStd/coctlsrc/eikspane.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
equal deleted inserted replaced
59:978afdc0236f 64:85902f042028
  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         
  3729         statusPaneRegion.Tidy();
  3741         statusPaneRegion.Tidy();
  3730 
  3742 
  3731         // Get largest possible rect that does not overlap with sp shape
  3743         // Get largest possible rect that does not overlap with sp shape
  3732         TRect largestBoundingRect(
  3744         TRect largestBoundingRect(
  3733             LargestBoundingRect( boundingRegion, statusPaneRegion ) );
  3745             LargestBoundingRect( boundingRegion, statusPaneRegion ) );