uifw/AvKon/aknhlist/src/aknsinglecolumnstylesubtitlerow.cpp
branchRCL_3
changeset 15 08e69e956a8c
parent 0 2f259fa3e83a
child 55 aecbbf00d063
equal deleted inserted replaced
10:9f56a4e1b8ab 15:08e69e956a8c
   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 )