emailuis/uicomponents/src/fstreeplaintwolineitemvisualizer.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 12 f5907b1a1053
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 *  Description : A visualizer for data items with plain text.
    14 *  Description : A visualizer for data items with plain text.
    15 *  Version     : %version: tr1sido#12 %
    15 *  Version     : %version: tr1sido#14 %
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 //<cmail> removed __FS_ALFRED_SUPPORT flag
    20 //<cmail> removed __FS_ALFRED_SUPPORT flag
   303     
   303     
   304     TInt sizeVariety( 0 );
   304     TInt sizeVariety( 0 );
   305     TInt exSizeVariety( 1 );
   305     TInt exSizeVariety( 1 );
   306     TInt preSizeVariety( 2 );
   306     TInt preSizeVariety( 2 );
   307     TInt flagIconVariety( 0 );
   307     TInt flagIconVariety( 0 );
   308     TInt flagIconRow( 0 );
   308     TInt flagIconRow( 1 );
   309 
   309 
   310     
   310     
   311     CFsLayoutManager::TFsLayoutMetrics firstLineTextParentMetrics = 
   311     CFsLayoutManager::TFsLayoutMetrics firstLineTextParentMetrics = 
   312     CFsLayoutManager::EFsLmListSingleDycRowTextPane;
   312     CFsLayoutManager::EFsLmListSingleDycRowTextPane;
   313     TInt firstLineTextParentVariety = 0;
   313     TInt firstLineTextParentVariety = 0;
  1437         opacity.SetValueNow(1.0f);
  1437         opacity.SetValueNow(1.0f);
  1438         iIconMarked->SetOpacity(opacity);
  1438         iIconMarked->SetOpacity(opacity);
  1439         }
  1439         }
  1440     else
  1440     else
  1441         {
  1441         {
  1442         opacity.SetValueNow(0.0f);
  1442         if (iIconMarked)
  1443         iIconMarked->SetOpacity(opacity);
  1443         	{
       
  1444         	opacity.SetValueNow(0.0f);
       
  1445         	iIconMarked->SetOpacity(opacity);
       
  1446         	}
  1444         }
  1447         }
  1445 
  1448 
  1446     if ( iPreviewPaneTextVisual )
  1449     if ( iPreviewPaneTextVisual )
  1447         {
  1450         {
  1448         if ( IsPreviewPaneOn() && ((iFlags & KFsTreeListItemAlwaysExtended) ||
  1451         if ( IsPreviewPaneOn() && ((iFlags & KFsTreeListItemAlwaysExtended) ||