equal
deleted
inserted
replaced
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". |
970 #endif |
970 #endif |
971 } |
971 } |
972 |
972 |
973 if ( !drawingInitiated ) |
973 if ( !drawingInitiated ) |
974 { |
974 { |
975 TRect rect( ItemPos(aItemIndex), ItemSize(aItemIndex) ); |
975 TRect rect( ItemPos(aItemIndex), iItemDrawer->ItemCellSize() ); |
976 rect.Intersection( iViewRect ); |
976 rect.Intersection( iViewRect ); |
977 iWin->Invalidate( rect ); |
977 iWin->Invalidate( rect ); |
978 iWin->BeginRedraw( rect ); |
978 iWin->BeginRedraw( rect ); |
979 } |
979 } |
980 } |
980 } |