diff -r 8f559c47d7fd -r e32fcfe0045f camerauis/cameraapp/generic/src/CamNaviProgressBarModel.cpp --- a/camerauis/cameraapp/generic/src/CamNaviProgressBarModel.cpp Wed Jun 09 09:21:41 2010 +0300 +++ b/camerauis/cameraapp/generic/src/CamNaviProgressBarModel.cpp Mon Jun 21 15:19:37 2010 +0300 @@ -734,6 +734,12 @@ // Progress bar iProgressBarRect.LayoutRect( progressPaneRect, AknLayoutScalable_Apps::wait_bar_pane_cp07( iconVariant ) ); + + // Minimum progress pane rect for drawing while recording + iProgPaneRect = iRemainingTimeTextItem->Rect(); + iProgPaneRect.BoundingRect( iElapsedTimeTextItem->Rect() ); + iProgPaneRect.BoundingRect( iProgressIconRect.Rect() ); + iProgPaneRect.BoundingRect( iProgressBarRect.Rect() ); } // --------------------------------------------------------- @@ -763,7 +769,13 @@ // Progress bar iProgressBarRect.LayoutRect( progressPaneRect, - AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) ); + AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) ); + + // Minimum progress pane rect for drawing while recording + iProgPaneRect = iRemainingTimeTextItem->Rect(); + iProgPaneRect.BoundingRect( iElapsedTimeTextItem->Rect() ); + iProgPaneRect.BoundingRect( iProgressIconRect.Rect() ); + iProgPaneRect.BoundingRect( iProgressBarRect.Rect() ); } // --------------------------------------------------------- @@ -795,5 +807,14 @@ iProgressBarRect.LayoutRect( progressPaneRect, AknLayoutScalable_Apps::wait_bar_pane_cp08( 1 ) ); } - + +// --------------------------------------------------------- +// CCamNaviProgressBarModel::ProgPaneRect +// +// --------------------------------------------------------- +TRect CCamNaviProgressBarModel::ProgPaneRect() + { + return iProgPaneRect; + } + // End of File