camerauis/cameraapp/generic/common/src/CamCaptureSetupListBox.cpp
branchRCL_3
changeset 16 d486e5e3cc9a
parent 12 8c55c525d5d7
child 27 53c8aa5d97a3
equal deleted inserted replaced
12:8c55c525d5d7 16:d486e5e3cc9a
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 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".
    68              								      aShootingModeListBox,
    68              								      aShootingModeListBox,
    69                                                   aLocationSettingListBox,
    69                                                   aLocationSettingListBox,
    70                                                   Rect()
    70                                                   Rect()
    71              								      );
    71              								      );
    72     CCamCaptureSetupListItemDrawer* itemDrawer = 
    72     CCamCaptureSetupListItemDrawer* itemDrawer = 
    73                                 CCamCaptureSetupListItemDrawer::NewL( *model, iSkinnedBackGround );
    73         CCamCaptureSetupListItemDrawer::NewL( *model, iSkinnedBackGround || aLocationSettingListBox );
    74     //ME:END
       
    75 
       
    76                                 
    74                                 
    77     itemDrawer->SetParentControl( aParent );
    75     itemDrawer->SetParentControl( aParent );
    78     // CEikListBox takes ownership before anything can leave.
    76     // CEikListBox takes ownership before anything can leave.
    79     // Do not need the model or drawer on the stack when call ConstructL,
    77     // Do not need the model or drawer on the stack when call ConstructL,
    80     // because CEikListBox assigns objects as member variables before
    78     // because CEikListBox assigns objects as member variables before