equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #include <cvtlogger.h> |
19 #include <cvtlogger.h> |
20 #include <cvideodtmfdialer.h> |
20 #include <cvideodtmfdialer.h> |
21 #include <AknsDrawUtils.h> |
21 #include <AknsDrawUtils.h> |
22 #include <aknsutils.h> |
22 #include <AknsUtils.h> |
23 #include <aknlayoutscalable_apps.cdl.h> |
23 #include <aknlayoutscalable_apps.cdl.h> |
24 #include <aknlayoutscalable_avkon.cdl.h> |
24 #include <aknlayoutscalable_avkon.cdl.h> |
25 #include <layoutmetadata.cdl.h> |
25 #include <layoutmetadata.cdl.h> |
26 #include <featmgr.h> |
26 #include <featmgr.h> |
27 #include <aknsbasicbackgroundcontrolcontext.h> |
27 #include <AknsBasicBackgroundControlContext.h> |
28 |
28 |
29 #include "VtUiUtility.h" |
29 #include "VtUiUtility.h" |
30 #include "VtUiLayout.h" |
30 #include "VtUiLayout.h" |
31 #include "mvtuicomponentmanager.h" |
31 #include "mvtuicomponentmanager.h" |
32 #include "cvtuidialercontainer.h" |
32 #include "cvtuidialercontainer.h" |
377 TAknWindowLineLayout mainPaneLL; |
377 TAknWindowLineLayout mainPaneLL; |
378 |
378 |
379 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
379 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
380 { |
380 { |
381 // Landscape: Option11 (thin status pane, lsc) |
381 // Landscape: Option11 (thin status pane, lsc) |
382 mainPaneLL = AknLayoutScalable_Avkon::main_pane( 9 ).LayoutLine(); |
382 mainPaneLL = AknLayoutScalable_Apps::main_pane( 15 ).LayoutLine(); |
383 } |
383 } |
384 else |
384 else |
385 { |
385 { |
386 // Portrait: main pane with status pane off, control pane on |
386 // Portrait: main pane with status pane off, control pane on |
387 mainPaneLL = AknLayoutScalable_Avkon::main_pane( 7 ).LayoutLine(); |
387 mainPaneLL = AknLayoutScalable_Apps::main_pane( 12 ).LayoutLine(); |
388 } |
388 } |
389 |
389 |
390 TRect appWinRect; |
390 TRect appWinRect; |
391 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EApplicationWindow, |
391 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EApplicationWindow, |
392 appWinRect ); |
392 appWinRect ); |