287 TAknLayoutText layoutText; |
287 TAknLayoutText layoutText; |
288 TInt textVariety = ( optIconId == KNone ) ? 2 : 3; |
288 TInt textVariety = ( optIconId == KNone ) ? 2 : 3; |
289 layoutText.LayoutText( aItemRect, AknLayoutScalable_Avkon:: |
289 layoutText.LayoutText( aItemRect, AknLayoutScalable_Avkon:: |
290 list_single_2heading_msg_pane_t1( textVariety ).LayoutLine() ); |
290 list_single_2heading_msg_pane_t1( textVariety ).LayoutLine() ); |
291 |
291 |
292 root->DrawText( aGc, aItemRect, AknLayoutScalable_Avkon:: |
292 if ( Flags() & ESmiley ) |
293 list_single_2heading_msg_pane_t1( textVariety ), *iText, NULL, |
293 { |
294 this, aFocused, ETrue ); |
294 root->DrawSmiley( aGc, aItemRect, AknLayoutScalable_Avkon:: |
295 |
295 list_single_2heading_msg_pane_t1( textVariety), |
|
296 *iText, NULL, aFocused ); |
|
297 } |
|
298 else |
|
299 { |
|
300 root->DrawText( aGc, aItemRect, AknLayoutScalable_Avkon:: |
|
301 list_single_2heading_msg_pane_t1( textVariety ), |
|
302 *iText, NULL, this, aFocused, ETrue ); |
|
303 } |
296 // Optional indication icon. |
304 // Optional indication icon. |
297 TInt optIconVariety = 1; // Sorting group. Marked. |
305 TInt optIconVariety = 1; // Sorting group. Marked. |
298 TRect optIconRect = RectFromLayout( aItemRect, AknLayoutScalable_Avkon:: |
306 TRect optIconRect = RectFromLayout( aItemRect, AknLayoutScalable_Avkon:: |
299 list_single_2heading_msg_pane_g2( optIconVariety ) ); |
307 list_single_2heading_msg_pane_g2( optIconVariety ) ); |
300 if ( optIconId != KNone ) |
308 if ( optIconId != KNone ) |