uifw/eikctl/src/EIKCLBD.CPP
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 4 8ca85d2f0db7
child 15 08e69e956a8c
equal deleted inserted replaced
9:aabf2c525e0f 10:9f56a4e1b8ab
     1 /*
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-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".
  2005 
  2005 
  2006     CEikListBox* list = static_cast<CEikListBox*>( iExtension->iControl );
  2006     CEikListBox* list = static_cast<CEikListBox*>( iExtension->iControl );
  2007     
  2007     
  2008     if ( iExtension->iCurrentRow < list->BottomItemIndex() )
  2008     if ( iExtension->iCurrentRow < list->BottomItemIndex() )
  2009         {
  2009         {
  2010         AknListUtils::DrawSeparator( aGc, aRect, aColors.iText );
  2010         AknListUtils::DrawSeparator( aGc, aRect, aColors.iText, skin );
  2011         }
  2011         }
  2012     DrawHighLight( aGc, aRect, aHighlight, skin );
  2012     DrawHighLight( aGc, aRect, aHighlight, skin );
  2013     
  2013     
  2014     // The column draw loop
  2014     // The column draw loop
  2015     column = 0;
  2015     column = 0;
  2471 
  2471 
  2472     CEikListBox* list = static_cast<CEikListBox*>( iExtension->iControl );
  2472     CEikListBox* list = static_cast<CEikListBox*>( iExtension->iControl );
  2473 
  2473 
  2474     if ( iExtension->iCurrentRow < list->BottomItemIndex() )
  2474     if ( iExtension->iCurrentRow < list->BottomItemIndex() )
  2475         {
  2475         {
  2476         AknListUtils::DrawSeparator( aGc, aRect, aColors.iText );
  2476         AknListUtils::DrawSeparator( aGc, aRect, aColors.iText, skin );
  2477         }
  2477         }
  2478     
  2478     
  2479  // LISTBOX LINES NEED TO BE DRAWN HERE.
  2479  // LISTBOX LINES NEED TO BE DRAWN HERE.
  2480     DrawHighLight( aGc, aRect, aHighlight, skin );
  2480     DrawHighLight( aGc, aRect, aHighlight, skin );
  2481 
  2481