vtuis/videotelui/src/CVtUiMainControl.cpp
branchRCL_3
changeset 8 07d1685f0cd4
parent 0 ed9695c8bcbe
child 12 f84a661cfc1d
equal deleted inserted replaced
4:6dc066157ed4 8:07d1685f0cd4
    18 
    18 
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include    "CVtUiMainControl.h"
    21 #include    "CVtUiMainControl.h"
    22 #include    "VtUiLayout.h"
    22 #include    "VtUiLayout.h"
    23 #include    <aknsutils.h>
    23 #include    <AknsUtils.h>
    24 #include    <aknsdrawutils.h>
    24 #include    <AknsDrawUtils.h>
    25 #include    <cvtlogger.h>
    25 #include    <cvtlogger.h>
    26 #include    <featmgr.h>
    26 #include    <featmgr.h>
    27 #include    "CVtUiAppUi.h"
    27 #include    "CVtUiAppUi.h"
    28 #include    "tvtuistates.h"
    28 #include    "tvtuistates.h"
    29 #include    <aknsutils.h>
       
    30 #include	"tVtuifeaturevariation.h"
    29 #include	"tVtuifeaturevariation.h"
    31 
    30 
    32 // ============================ MEMBER FUNCTIONS ===============================
    31 // ============================ MEMBER FUNCTIONS ===============================
    33 
    32 
    34 // -----------------------------------------------------------------------------
    33 // -----------------------------------------------------------------------------
   232 // -----------------------------------------------------------------------------
   231 // -----------------------------------------------------------------------------
   233 //
   232 //
   234 void CVtUiMainControl::LayoutRemoteVideo( )
   233 void CVtUiMainControl::LayoutRemoteVideo( )
   235     {    
   234     {    
   236     __VTPRINTENTER( "MainCtrl.LayoutRemoteVideo" )
   235     __VTPRINTENTER( "MainCtrl.LayoutRemoteVideo" )
   237     if ( NULL != iRemoteVideoControl )
   236     if ( NULL != iRemoteVideoControl && iRemoteVideoControl->IsVisible() )
   238         {
   237         {
   239         TRect rectRemoteVideo(StreamClippingRect());
   238         TRect rectRemoteVideo(StreamClippingRect());
   240         rectRemoteVideo.Move(PositionRelativeToScreen());
   239         rectRemoteVideo.Move(PositionRelativeToScreen());
   241         iRemoteVideoControl->SetExtent(rectRemoteVideo.iTl,rectRemoteVideo.Size());
   240         iRemoteVideoControl->SetExtent(rectRemoteVideo.iTl,rectRemoteVideo.Size());
   242         }
   241         }