1918 { |
1918 { |
1919 // Landscape layout variant |
1919 // Landscape layout variant |
1920 variant = 1; // landscape |
1920 variant = 1; // landscape |
1921 indicatorVariant = 0; |
1921 indicatorVariant = 0; |
1922 } |
1922 } |
|
1923 TInt secCamera = ECamActiveCameraSecondary == iController.ActiveCamera(); |
1923 |
1924 |
1924 TAknLayoutRect camIndicatorPane; |
1925 TAknLayoutRect camIndicatorPane; |
1925 camIndicatorPane.LayoutRect( iExtent, |
1926 camIndicatorPane.LayoutRect( iExtent, |
1926 AknLayoutScalable_Apps::cam4_indicators_pane( variant ) ); |
1927 AknLayoutScalable_Apps::cam4_indicators_pane( variant ) ); |
1927 |
1928 |
1928 iImgStorageIconRect.LayoutRect( camIndicatorPane.Rect(), |
1929 iImgStorageIconRect.LayoutRect( camIndicatorPane.Rect(), |
1929 AknLayoutScalable_Apps::cam4_indicators_pane_g2( indicatorVariant ) ); |
1930 AknLayoutScalable_Apps::cam4_indicators_pane_g2( indicatorVariant ) ); |
1930 |
1931 |
1931 iPhotoTextItem->SetLayoutL( camIndicatorPane.Rect(), |
1932 iPhotoTextItem->SetLayoutL( camIndicatorPane.Rect(), |
1932 AknLayoutScalable_Apps::cam4_indicators_pane_t1( indicatorVariant ) ); |
1933 AknLayoutScalable_Apps::cam4_indicators_pane_t1( secCamera ) ); |
1933 |
1934 |
1934 TAknLayoutRect vidIndicatorPane; |
1935 TAknLayoutRect vidIndicatorPane; |
1935 vidIndicatorPane.LayoutRect( iExtent, |
1936 vidIndicatorPane.LayoutRect( iExtent, |
1936 AknLayoutScalable_Apps::vid4_progress_pane( variant ) );// vid4_indicators_pane should be used |
1937 AknLayoutScalable_Apps::vid4_progress_pane( variant ) );// vid4_indicators_pane should be used |
1937 |
1938 |