equal
deleted
inserted
replaced
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 ) ); |