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 |
|
30 #include <alf/alfgradientbrush.h> |
29 #include <alf/alfgradientbrush.h> |
31 #include <alf/alfimagebrush.h> |
30 #include <alf/alfimagebrush.h> |
32 #include <alf/alfanchorlayout.h> |
31 #include <alf/alfanchorlayout.h> |
33 #include <alf/alfcontrol.h> |
32 #include <alf/alfcontrol.h> |
34 #include <alf/alftexture.h> |
33 #include <alf/alftexture.h> |
35 #include <alf/alfimage.h> |
34 #include <alf/alfimage.h> |
36 #include <alf/alfenv.h> |
35 #include <alf/alfenv.h> |
37 #include <alf/alftextstyle.h> |
36 #include <alf/alftextstyle.h> |
38 #include <alf/alftextvisual.h> |
37 #include <alf/alftextvisual.h> |
39 #include <alf/alfmappingfunctions.h> |
38 #include <alf/alfmappingfunctions.h> |
40 // </cmail> |
|
41 |
39 |
42 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
43 // C++ destructor. |
41 // C++ destructor. |
44 // --------------------------------------------------------------------------- |
42 // --------------------------------------------------------------------------- |
45 // |
43 // |
620 iFlags |= KFsTreeListItemAlwaysExtended; |
616 iFlags |= KFsTreeListItemAlwaysExtended; |
621 } |
617 } |
622 else |
618 else |
623 { |
619 { |
624 iFlags &= ~KFsTreeListItemAlwaysExtended; |
620 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; |
625 } |
638 } |
626 } |
639 } |
627 |
640 |
628 // --------------------------------------------------------------------------- |
641 // --------------------------------------------------------------------------- |
629 // This function returns wether an item is always in extended state. |
642 // This function returns wether an item is always in extended state. |
654 // --------------------------------------------------------------------------- |
667 // --------------------------------------------------------------------------- |
655 // |
668 // |
656 void CFsTreeNodeVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
669 void CFsTreeNodeVisualizerBase::UpdateL( const MFsTreeItemData& /*aData*/, |
657 TBool /*aFocused*/, |
670 TBool /*aFocused*/, |
658 const TUint /*aLevel*/, |
671 const TUint /*aLevel*/, |
659 CAlfTexture*& /*aMarkIcon*/, |
672 CAlfTexture*& /*aMarkIconOn*/, |
|
673 CAlfTexture*& /*aMarkIconOff*/, |
660 CAlfTexture*& /*aMenuIcon*/, |
674 CAlfTexture*& /*aMenuIcon*/, |
661 const TUint /*aTimeout*/, |
675 const TUint /*aTimeout*/, |
662 TBool /*aUpdateData*/) |
676 TBool /*aUpdateData*/) |
663 { |
677 { |
664 FUNC_LOG; |
678 FUNC_LOG; |