emailuis/uicomponents/src/fstreenodevisualizerbase.cpp
branchRCL_3
changeset 73 c8382f7b54ef
parent 64 3533d4323edc
child 80 726fba06891a
--- a/emailuis/uicomponents/src/fstreenodevisualizerbase.cpp	Tue Sep 14 20:48:24 2010 +0300
+++ b/emailuis/uicomponents/src/fstreenodevisualizerbase.cpp	Wed Sep 15 11:52:37 2010 +0300
@@ -26,7 +26,6 @@
 #include "fslayoutmanager.h"
 #include "fsalftextstylemanager.h"
 
-// <cmail> SF
 #include <alf/alfgradientbrush.h>
 #include <alf/alfimagebrush.h>
 #include <alf/alfanchorlayout.h>
@@ -37,7 +36,6 @@
 #include <alf/alftextstyle.h>
 #include <alf/alftextvisual.h>
 #include <alf/alfmappingfunctions.h>
-// </cmail>
 
 // ---------------------------------------------------------------------------
 // C++ destructor.
@@ -534,7 +532,6 @@
     return retVal;
     }
 
-// <cmail>
 // ---------------------------------------------------------------------------
 // From MFsTreeItemVisualizer.
 // Sets item background brush.
@@ -564,7 +561,6 @@
 
     return retVal;
     }
-// </cmail>
 
 // ---------------------------------------------------------------------------
 // From MFsTreeItemVisualizer.
@@ -626,6 +622,23 @@
     }
 
 // ---------------------------------------------------------------------------
+// 
+// ---------------------------------------------------------------------------
+//
+void CFsTreeNodeVisualizerBase::SetMarkingMode( TBool aMarkingMode )
+    {
+    FUNC_LOG;
+    if ( aMarkingMode )
+        {
+        iFlags |= KFsTreeListMarkingMode;
+        }
+    else
+        {
+        aMarkingMode &= ~KFsTreeListMarkingMode;
+        }
+    }
+
+// ---------------------------------------------------------------------------
 //  This function returns wether an item is always in extended state.
 // ---------------------------------------------------------------------------
 //
@@ -656,7 +669,8 @@
 void CFsTreeNodeVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/,
                                           TBool /*aFocused*/,
                                           const TUint /*aLevel*/,
-                                          CAlfTexture*& /*aMarkIcon*/,
+                                          CAlfTexture*& /*aMarkIconOn*/,
+                                          CAlfTexture*& /*aMarkIconOff*/,										  
                                           CAlfTexture*& /*aMenuIcon*/,
                                           const TUint /*aTimeout*/,
                                           TBool /*aUpdateData*/)