equal
deleted
inserted
replaced
18 |
18 |
19 |
19 |
20 // INCLUDE FILES |
20 // INCLUDE FILES |
21 #include "CVtUiContextControl.h" |
21 #include "CVtUiContextControl.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 |
31 |
33 // ----------------------------------------------------------------------------- |
32 // ----------------------------------------------------------------------------- |
34 // CVtUiContextControl::NewL |
33 // CVtUiContextControl::NewL |
320 // ----------------------------------------------------------------------------- |
319 // ----------------------------------------------------------------------------- |
321 // |
320 // |
322 void CVtUiContextControl::LayoutRemoteVideo() |
321 void CVtUiContextControl::LayoutRemoteVideo() |
323 { |
322 { |
324 __VTPRINTENTER( "CVtUiContextControl.LayoutRemoteVideo" ) |
323 __VTPRINTENTER( "CVtUiContextControl.LayoutRemoteVideo" ) |
325 if ( NULL != iRemoteVideoControl ) |
324 if ( NULL != iRemoteVideoControl && iRemoteVideoControl->IsVisible() ) |
326 { |
325 { |
327 TRect rectRemoteVideo(StreamClippingRect()); |
326 TRect rectRemoteVideo(StreamClippingRect()); |
328 rectRemoteVideo.Move(PositionRelativeToScreen()); |
327 rectRemoteVideo.Move(PositionRelativeToScreen()); |
329 iRemoteVideoControl->SetExtent(rectRemoteVideo.iTl,rectRemoteVideo.Size()); |
328 iRemoteVideoControl->SetExtent(rectRemoteVideo.iTl,rectRemoteVideo.Size()); |
330 } |
329 } |