24 #include "fstreenodevisualizerbase.h" |
24 #include "fstreenodevisualizerbase.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 // |
616 iFlags |= KFsTreeListItemAlwaysExtended; |
620 iFlags |= KFsTreeListItemAlwaysExtended; |
617 } |
621 } |
618 else |
622 else |
619 { |
623 { |
620 iFlags &= ~KFsTreeListItemAlwaysExtended; |
624 iFlags &= ~KFsTreeListItemAlwaysExtended; |
621 } |
|
622 } |
|
623 |
|
624 // --------------------------------------------------------------------------- |
|
625 // |
|
626 // --------------------------------------------------------------------------- |
|
627 // |
|
628 void CFsTreeNodeVisualizerBase::SetMarkingMode( TBool aMarkingMode ) |
|
629 { |
|
630 FUNC_LOG; |
|
631 if ( aMarkingMode ) |
|
632 { |
|
633 iFlags |= KFsTreeListMarkingMode; |
|
634 } |
|
635 else |
|
636 { |
|
637 aMarkingMode &= ~KFsTreeListMarkingMode; |
|
638 } |
625 } |
639 } |
626 } |
640 |
627 |
641 // --------------------------------------------------------------------------- |
628 // --------------------------------------------------------------------------- |
642 // This function returns wether an item is always in extended state. |
629 // This function returns wether an item is always in extended state. |
667 // --------------------------------------------------------------------------- |
654 // --------------------------------------------------------------------------- |
668 // |
655 // |
669 void CFsTreeNodeVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
656 void CFsTreeNodeVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
670 TBool /*aFocused*/, |
657 TBool /*aFocused*/, |
671 const TUint /*aLevel*/, |
658 const TUint /*aLevel*/, |
672 CAlfTexture*& /*aMarkIconOn*/, |
659 CAlfTexture*& /*aMarkIcon*/, |
673 CAlfTexture*& /*aMarkIconOff*/, |
|
674 CAlfTexture*& /*aMenuIcon*/, |
660 CAlfTexture*& /*aMenuIcon*/, |
675 const TUint /*aTimeout*/, |
661 const TUint /*aTimeout*/, |
676 TBool /*aUpdateData*/) |
662 TBool /*aUpdateData*/) |
677 { |
663 { |
678 FUNC_LOG; |
664 FUNC_LOG; |