vtuis/videotelui/src/features/dialer/cvtuidialervideocontrol.cpp
branchRCL_3
changeset 8 07d1685f0cd4
parent 0 ed9695c8bcbe
equal deleted inserted replaced
4:6dc066157ed4 8:07d1685f0cd4
   142 // -----------------------------------------------------------------------------
   142 // -----------------------------------------------------------------------------
   143 //
   143 //
   144 void CVtUiDialerVideoControl::LayoutRemoteVideo( )
   144 void CVtUiDialerVideoControl::LayoutRemoteVideo( )
   145     {    
   145     {    
   146     __VTPRINTENTER( "DialCtrl.LayoutRemoteVideo" )
   146     __VTPRINTENTER( "DialCtrl.LayoutRemoteVideo" )
   147     if ( NULL != iRemoteVideoControl )
   147     if ( NULL != iRemoteVideoControl && iRemoteVideoControl->IsVisible() )
   148         {
   148         {
   149         TRect rectRemoteVideo(StreamClippingRect());
   149         TRect rectRemoteVideo(StreamClippingRect());
   150         rectRemoteVideo.Move(PositionRelativeToScreen());
   150         iRemoteVideoControl->SetExtent( PositionRelativeToScreen(),rectRemoteVideo.Size() );
   151         iRemoteVideoControl->SetExtent(rectRemoteVideo.iTl,rectRemoteVideo.Size());
       
   152         }
   151         }
   153     __VTPRINTEXIT( "DialCtrl.LayoutRemoteVideo" )
   152     __VTPRINTEXIT( "DialCtrl.LayoutRemoteVideo" )
   154     }
   153     }