camerauis/cameraapp/generic/src/CamSidePane.cpp
changeset 3 8b2d6d0384b0
parent 0 1ddebce53859
child 27 53c8aa5d97a3
equal deleted inserted replaced
2:e8773a61782d 3:8b2d6d0384b0
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   997             {
   997             {
   998             switch ( i )
   998             switch ( i )
   999                 {
   999                 {
  1000                 case ECamIndicatorCaptureMode:
  1000                 case ECamIndicatorCaptureMode:
  1001                     {
  1001                     {
  1002                     l.LayoutRect( rect,
  1002                     if ( ECamControllerVideo == iMode )
       
  1003                         {
       
  1004                         l.LayoutRect( rect,
       
  1005                            AknLayoutScalable_Apps::main_video4_pane_g1( variant ) );
       
  1006                         }
       
  1007                     else
       
  1008                         {
       
  1009                         l.LayoutRect( rect,
  1003                            AknLayoutScalable_Apps::main_camera4_pane_g1( variant ) );
  1010                            AknLayoutScalable_Apps::main_camera4_pane_g1( variant ) );
       
  1011                         }
  1004                     iIndicators[i]->SetRect( l.Rect() );
  1012                     iIndicators[i]->SetRect( l.Rect() );
  1005                     break;
  1013                     break;
  1006                     }
  1014                     }
  1007                 case ECamIndicatorBurstMode:
  1015                 case ECamIndicatorBurstMode:
  1008                     {
  1016                     {
  1019                     break;
  1027                     break;
  1020                     }
  1028                     }
  1021                 case ECamIndicatorVideoStabiliser: 
  1029                 case ECamIndicatorVideoStabiliser: 
  1022                     {
  1030                     {
  1023                     l.LayoutRect( rect,
  1031                     l.LayoutRect( rect,
  1024                         AknLayoutScalable_Apps::main_video4_pane_g5( variant ) );
  1032                             AknLayoutScalable_Apps::main_video4_pane_g3( variant ) );
  1025                     iIndicators[i]->SetRect( l.Rect() );
  1033                     iIndicators[i]->SetRect( l.Rect() );
  1026                     break;
  1034                     break;
  1027                     }
  1035                     }
  1028 			    case ECamIndicatorFaceTracking: 
  1036                 case ECamIndicatorFaceTracking: 
  1029                     {
  1037                     {
  1030                      l.LayoutRect( rect,
  1038                      l.LayoutRect( rect,
  1031                         AknLayoutScalable_Apps::main_camera4_pane_g6( variant ) );
  1039                        AknLayoutScalable_Apps::main_camera4_pane_g2( variant ) );
  1032                      iIndicators[i]->SetRect( l.Rect() );
  1040                      iIndicators[i]->SetRect( l.Rect() );
  1033                      break;  
  1041                      break;  
  1034                     }
  1042                     }
  1035                 default:
  1043                 default:
  1036                     {
  1044                     {