camerauis/cameraapp/generic/src/CamNaviProgressBarModel.cpp
branchRCL_3
changeset 19 e32fcfe0045f
parent 11 d486e5e3cc9a
equal deleted inserted replaced
17:8f559c47d7fd 19:e32fcfe0045f
   732         AknLayoutScalable_Apps::vid4_progress_pane_g4( iconVariant ) );
   732         AknLayoutScalable_Apps::vid4_progress_pane_g4( iconVariant ) );
   733 
   733 
   734     // Progress bar
   734     // Progress bar
   735     iProgressBarRect.LayoutRect( progressPaneRect,
   735     iProgressBarRect.LayoutRect( progressPaneRect,
   736         AknLayoutScalable_Apps::wait_bar_pane_cp07( iconVariant ) );
   736         AknLayoutScalable_Apps::wait_bar_pane_cp07( iconVariant ) );
       
   737     
       
   738     // Minimum progress pane rect for drawing while recording
       
   739     iProgPaneRect = iRemainingTimeTextItem->Rect();
       
   740     iProgPaneRect.BoundingRect( iElapsedTimeTextItem->Rect() );
       
   741     iProgPaneRect.BoundingRect( iProgressIconRect.Rect() );
       
   742     iProgPaneRect.BoundingRect( iProgressBarRect.Rect() );    
   737     }
   743     }
   738 
   744 
   739 // ---------------------------------------------------------
   745 // ---------------------------------------------------------
   740 // CCamNaviProgressBarModel::NonTouchLayoutL
   746 // CCamNaviProgressBarModel::NonTouchLayoutL
   741 // Read nontouch layout for primary camera
   747 // Read nontouch layout for primary camera
   761     iProgressIconRect.LayoutRect( progressPaneRect,
   767     iProgressIconRect.LayoutRect( progressPaneRect,
   762         AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) ); 
   768         AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) ); 
   763 
   769 
   764     // Progress bar
   770     // Progress bar
   765     iProgressBarRect.LayoutRect( progressPaneRect,
   771     iProgressBarRect.LayoutRect( progressPaneRect,
   766         AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) );       
   772         AknLayoutScalable_Apps::wait_bar_pane_cp08( 0 ) );     
       
   773     
       
   774     // Minimum progress pane rect for drawing while recording
       
   775     iProgPaneRect = iRemainingTimeTextItem->Rect();
       
   776     iProgPaneRect.BoundingRect( iElapsedTimeTextItem->Rect() );
       
   777     iProgPaneRect.BoundingRect( iProgressIconRect.Rect() );
       
   778     iProgPaneRect.BoundingRect( iProgressBarRect.Rect() );    
   767     }
   779     }
   768 
   780 
   769 // ---------------------------------------------------------
   781 // ---------------------------------------------------------
   770 // CCamNaviProgressBarModel::NonTouchLayoutSecondaryL
   782 // CCamNaviProgressBarModel::NonTouchLayoutSecondaryL
   771 // Read nontouch layout for secondary camera
   783 // Read nontouch layout for secondary camera
   793 
   805 
   794     // Progress bar
   806     // Progress bar
   795     iProgressBarRect.LayoutRect( progressPaneRect,
   807     iProgressBarRect.LayoutRect( progressPaneRect,
   796         AknLayoutScalable_Apps::wait_bar_pane_cp08( 1 ) );
   808         AknLayoutScalable_Apps::wait_bar_pane_cp08( 1 ) );
   797     }
   809     }
   798 
   810     
       
   811 // ---------------------------------------------------------
       
   812 // CCamNaviProgressBarModel::ProgPaneRect
       
   813 // 
       
   814 // ---------------------------------------------------------
       
   815 TRect CCamNaviProgressBarModel::ProgPaneRect()
       
   816     {
       
   817     return iProgPaneRect;    
       
   818     }
       
   819                 
   799 // End of File
   820 // End of File