equal
deleted
inserted
replaced
113 } |
113 } |
114 |
114 |
115 iGc->SetPenColor(iTextColor); |
115 iGc->SetPenColor(iTextColor); |
116 iGc->SetBrushColor(iBackColor); |
116 iGc->SetBrushColor(iBackColor); |
117 |
117 |
118 TPtrC temp=iModel->ItemText(aItemIndex); |
118 TPtrC temp = iModel->ItemText(aItemIndex); |
119 |
119 |
120 SetupGc(aItemIndex); |
120 SetupGc(aItemIndex); |
121 if ( transApi ) |
121 if ( transApi ) |
122 { |
122 { |
123 transApi->StopDrawing(); |
123 transApi->StopDrawing(); |
124 } |
124 } |
125 |
125 |
126 // TBool removeicon = (!aItemIsSelected && !ItemMarkReverse()) || (aItemIsSelected && ItemMarkReverse()); |
126 // TBool removeicon = (!aItemIsSelected && !ItemMarkReverse()) || (aItemIsSelected && ItemMarkReverse()); |
127 |
127 |
128 CEasyDialingListBoxData::TExtendedColors colors; |
128 CEasyDialingListBoxData::TExtendedColors colors; |
129 colors.iText=iTextColor; |
129 colors.iText = iTextColor; |
130 colors.iBack=iBackColor; |
130 colors.iBack = iBackColor; |
131 colors.iHighlightedText = iHighlightedTextColor; |
131 colors.iHighlightedText = iHighlightedTextColor; |
132 colors.iHighlightedBack = iHighlightedBackColor; |
132 colors.iHighlightedBack = iHighlightedBackColor; |
133 colors.iMatchingText = iMatchingText; |
133 colors.iMatchingText = iMatchingText; |
134 colors.iMatchingBack = iMatchingBack; |
134 colors.iMatchingBack = iMatchingBack; |
135 |
135 |
209 EAknsCIQsnTextColorsCG24 ); |
209 EAknsCIQsnTextColorsCG24 ); |
210 |
210 |
211 AknsUtils::GetCachedColor( skin, |
211 AknsUtils::GetCachedColor( skin, |
212 iMatchingBack, |
212 iMatchingBack, |
213 KAknsIIDQsnHighlightColors, |
213 KAknsIIDQsnHighlightColors, |
214 EAknsCIQsnHighlightColorsCG2 ); |
214 EAknsCIQsnHighlightColorsCG2 ); |
215 } |
215 } |
216 } |
216 } |
217 |
217 |
218 |
218 |
219 |
219 |
222 // |
222 // |
223 // ----------------------------------------------------------------------------- |
223 // ----------------------------------------------------------------------------- |
224 // |
224 // |
225 void CEasyDialingListBoxItemDrawer::DrawBackgroundAndSeparatorLines( const TRect& aItemTextRect ) const |
225 void CEasyDialingListBoxItemDrawer::DrawBackgroundAndSeparatorLines( const TRect& aItemTextRect ) const |
226 { |
226 { |
227 CCoeControl* control = FormattedCellData()->Control(); |
227 CCoeControl* control = FormattedCellData()->Control(); |
228 |
228 |
229 MAknListBoxTfxInternal* transApi = CAknListLoader::TfxApiInternal( iGc ); |
229 MAknListBoxTfxInternal* transApi = CAknListLoader::TfxApiInternal( iGc ); |
230 |
230 |
231 if ( transApi && !transApi->EffectsDisabled() ) |
231 if ( transApi && !transApi->EffectsDisabled() ) |
232 { |
232 { |
253 cc, |
253 cc, |
254 control, |
254 control, |
255 *Gc(), |
255 *Gc(), |
256 aItemTextRect.iTl, |
256 aItemTextRect.iTl, |
257 aItemTextRect, |
257 aItemTextRect, |
258 KAknsDrawParamDefault ); |
258 KAknsDrawParamDefault ); |
259 } |
259 } |
260 |
260 |
261 if ( !bgDrawn ) |
261 if ( !bgDrawn ) |
262 { |
262 { |
263 iGc->Clear( aItemTextRect ); |
263 iGc->Clear( aItemTextRect ); |