equal
deleted
inserted
replaced
224 colors.iText=iTextColor; |
224 colors.iText=iTextColor; |
225 colors.iBack=iBackColor; |
225 colors.iBack=iBackColor; |
226 colors.iHighlightedText=iHighlightedTextColor; |
226 colors.iHighlightedText=iHighlightedTextColor; |
227 colors.iHighlightedBack=iHighlightedBackColor; |
227 colors.iHighlightedBack=iHighlightedBackColor; |
228 |
228 |
229 DrawBackgroundAndSeparatorLines( aItemTextRect ); |
229 DrawBackgroundAndSeparatorLines( aItemTextRect, |
|
230 aItemIndex != FormattedCellData()->ListBox()->BottomItemIndex() ); |
230 |
231 |
231 TBool highlightShown = ETrue; |
232 TBool highlightShown = ETrue; |
232 |
233 |
233 if (FormattedCellData()->RespectFocus() && !aViewIsEmphasized) |
234 if (FormattedCellData()->RespectFocus() && !aViewIsEmphasized) |
234 { |
235 { |
1342 |
1343 |
1343 EXPORT_C void CFormattedCellListBoxItemDrawer::CFormattedCellListBoxItemDrawer_Reserved() |
1344 EXPORT_C void CFormattedCellListBoxItemDrawer::CFormattedCellListBoxItemDrawer_Reserved() |
1344 { |
1345 { |
1345 } |
1346 } |
1346 |
1347 |
1347 void CFormattedCellListBoxItemDrawer::DrawBackgroundAndSeparatorLines( const TRect& aItemTextRect ) const |
1348 void CFormattedCellListBoxItemDrawer::DrawBackgroundAndSeparatorLines( |
|
1349 const TRect& aItemTextRect, TBool aDrawSeparator ) const |
1348 { |
1350 { |
1349 MAknsSkinInstance *skin = AknsUtils::SkinInstance(); |
1351 MAknsSkinInstance *skin = AknsUtils::SkinInstance(); |
1350 CCoeControl* control = FormattedCellData()->Control(); |
1352 CCoeControl* control = FormattedCellData()->Control(); |
1351 MAknsControlContext *cc = AknsDrawUtils::ControlContext( control ); |
1353 MAknsControlContext *cc = AknsDrawUtils::ControlContext( control ); |
1352 |
1354 |
1412 if ( transApi ) |
1414 if ( transApi ) |
1413 { |
1415 { |
1414 transApi->StopDrawing(); |
1416 transApi->StopDrawing(); |
1415 } |
1417 } |
1416 #endif // RD_UI_TRANSITION_EFFECTS_LIST |
1418 #endif // RD_UI_TRANSITION_EFFECTS_LIST |
|
1419 |
|
1420 if ( aDrawSeparator && |
|
1421 static_cast<CEikListBox*>( control )->ItemsInSingleLine() == 1 ) |
|
1422 { |
|
1423 AknListUtils::DrawSeparator( *iGc, aItemTextRect, iTextColor ); |
|
1424 } |
1417 } |
1425 } |
1418 } |
1426 } |
1419 |
1427 |
1420 // End of File |
1428 // End of File |