24 #include "fstreeitemvisualizerbase.h" |
24 #include "fstreeitemvisualizerbase.h" |
25 #include "fstreelist.h" |
25 #include "fstreelist.h" |
26 #include "fslayoutmanager.h" |
26 #include "fslayoutmanager.h" |
27 #include "fsalftextstylemanager.h" |
27 #include "fsalftextstylemanager.h" |
28 |
28 |
|
29 // <cmail> SF |
29 #include <alf/alfgradientbrush.h> |
30 #include <alf/alfgradientbrush.h> |
30 #include <alf/alfimagebrush.h> |
31 #include <alf/alfimagebrush.h> |
31 #include <alf/alfanchorlayout.h> |
32 #include <alf/alfanchorlayout.h> |
32 #include <alf/alfcontrol.h> |
33 #include <alf/alfcontrol.h> |
33 #include <alf/alftexture.h> |
34 #include <alf/alftexture.h> |
34 #include <alf/alfimage.h> |
35 #include <alf/alfimage.h> |
35 #include <alf/alfenv.h> |
36 #include <alf/alfenv.h> |
36 #include <alf/alftextstyle.h> |
37 #include <alf/alftextstyle.h> |
37 #include <alf/alftextvisual.h> |
38 #include <alf/alftextvisual.h> |
38 #include <alf/alfmappingfunctions.h> |
39 #include <alf/alfmappingfunctions.h> |
|
40 // </cmail> |
39 |
41 |
40 // --------------------------------------------------------------------------- |
42 // --------------------------------------------------------------------------- |
41 // C++ destructor. |
43 // C++ destructor. |
42 // --------------------------------------------------------------------------- |
44 // --------------------------------------------------------------------------- |
43 // |
45 // |
627 iFlags |= KFsTreeListItemAlwaysExtended; |
631 iFlags |= KFsTreeListItemAlwaysExtended; |
628 } |
632 } |
629 else |
633 else |
630 { |
634 { |
631 iFlags &= ~KFsTreeListItemAlwaysExtended; |
635 iFlags &= ~KFsTreeListItemAlwaysExtended; |
632 } |
|
633 } |
|
634 |
|
635 // --------------------------------------------------------------------------- |
|
636 // From class MFsTreeItemVisualizer. |
|
637 // Sets marking mode on/off. |
|
638 // --------------------------------------------------------------------------- |
|
639 // |
|
640 void CFsTreeItemVisualizerBase::SetMarkingMode( TBool aMarkingMode ) |
|
641 { |
|
642 FUNC_LOG; |
|
643 if ( aMarkingMode ) |
|
644 { |
|
645 iFlags |= KFsTreeListMarkingMode; |
|
646 } |
|
647 else |
|
648 { |
|
649 iFlags &= ~KFsTreeListMarkingMode; |
|
650 } |
636 } |
651 } |
637 } |
652 |
638 |
653 // --------------------------------------------------------------------------- |
639 // --------------------------------------------------------------------------- |
654 // This function returns wether an item is always in extended state. |
640 // This function returns wether an item is always in extended state. |
679 // --------------------------------------------------------------------------- |
665 // --------------------------------------------------------------------------- |
680 // |
666 // |
681 void CFsTreeItemVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
667 void CFsTreeItemVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
682 TBool /*aFocused*/, |
668 TBool /*aFocused*/, |
683 const TUint /*aLevel*/, |
669 const TUint /*aLevel*/, |
684 CAlfTexture*& /*aMarkOnIcon*/, |
670 CAlfTexture*& /*aMarkIcon*/, |
685 CAlfTexture*& /*aMarkOffIcon*/, |
|
686 CAlfTexture*& /*aMenuIcon*/, |
671 CAlfTexture*& /*aMenuIcon*/, |
687 const TUint /*aTimeout*/, |
672 const TUint /*aTimeout*/, |
688 TBool /*aUpdateData*/) |
673 TBool /*aUpdateData*/) |
689 { |
674 { |
690 FUNC_LOG; |
675 FUNC_LOG; |