camerauis/cameraapp/generic/common/src/CamCaptureSetupListItemDrawer.cpp
changeset 2 e8773a61782d
parent 0 1ddebce53859
child 12 8c55c525d5d7
equal deleted inserted replaced
1:f5ec9446e5bf 2:e8773a61782d
     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".
   245     TRgb color;
   245     TRgb color;
   246     TAknsQsnTextColorsIndex index = EAknsCIQsnTextColorsCG7;
   246     TAknsQsnTextColorsIndex index = EAknsCIQsnTextColorsCG7;
   247     // ...text colour index if this item is selected.
   247     // ...text colour index if this item is selected.
   248     if( Flags() & CListItemDrawer::ESingleClickDisabledHighlight )
   248     if( Flags() & CListItemDrawer::ESingleClickDisabledHighlight )
   249         {
   249         {
   250         aItemIsSelected = aItemIsCurrent;
   250         // Single clickable items don't have a highlight
   251         aItemIsCurrent = EFalse;
   251         aItemIsCurrent = EFalse;
   252         }
   252         }
   253 
   253 
   254     if ( aItemIsCurrent )
   254     if ( aItemIsCurrent )
   255 		{
   255         {
   256         index = EAknsCIQsnTextColorsCG10; // highlighted text colour
   256         index = EAknsCIQsnTextColorsCG10; // highlighted text colour
   257         }
   257         }
   258 
   258 
   259     // ...get colour from current skin for text colour index
   259     // ...get colour from current skin for text colour index
   260 	MAknsSkinInstance *skin = AknsUtils::SkinInstance();	   
   260 	MAknsSkinInstance *skin = AknsUtils::SkinInstance();