emailuis/uicomponents/inc/fstreeitemvisualizer.h
branchRCL_3
changeset 73 c8382f7b54ef
parent 64 3533d4323edc
child 80 726fba06891a
equal deleted inserted replaced
70:968773a0b6ef 73:c8382f7b54ef
    64 const TUint32 KFsTreeListItemTextShadow =       0x0200;
    64 const TUint32 KFsTreeListItemTextShadow =       0x0200;
    65 const TUint32 KFsTreeListItemAlwaysExtended =   0x0400;
    65 const TUint32 KFsTreeListItemAlwaysExtended =   0x0400;
    66 const TUint32 KFsTreeListItemManagedLayout =    0x0800;
    66 const TUint32 KFsTreeListItemManagedLayout =    0x0800;
    67 const TUint32 KFsTreeListItemHasMenu =          0x1000;
    67 const TUint32 KFsTreeListItemHasMenu =          0x1000;
    68 const TUint32 KFsTreeListItemTextBold =         0x2000;
    68 const TUint32 KFsTreeListItemTextBold =         0x2000;
       
    69 const TUint32 KFsTreeListMarkingMode =          0x4000;
    69 
    70 
    70 
    71 
    71 const TInt KFsDefaultIndentation = 20;
    72 const TInt KFsDefaultIndentation = 20;
    72 
    73 
    73 
    74 
   265      * 
   266      * 
   266      * @param aTexture New background texture.
   267      * @param aTexture New background texture.
   267      */
   268      */
   268     virtual void SetBackgroundTexture( const CAlfTexture& aTexture ) = 0;
   269     virtual void SetBackgroundTexture( const CAlfTexture& aTexture ) = 0;
   269 
   270 
   270     // <cmail>
       
   271     /**
   271     /**
   272      * Sets item background brush. Ownership not transfered.
   272      * Sets item background brush. Ownership not transfered.
   273      * 
   273      * 
   274      * @param aBrush New background brush.
   274      * @param aBrush New background brush.
   275      */
   275      */
   282      * Ownerhship is transferred to the caller.
   282      * Ownerhship is transferred to the caller.
   283      *
   283      *
   284      * @return ETrue if background brush is set, EFalse otherwise.
   284      * @return ETrue if background brush is set, EFalse otherwise.
   285      */
   285      */
   286     virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ) = 0;
   286     virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ) = 0;
   287     // </cmail>
       
   288     
   287     
   289     /**
   288     /**
   290      * Returns background texture if it's set.
   289      * Returns background texture if it's set.
   291      * 
   290      * 
   292      * @param aTexture Out parameter. Contains pointer to a texture.
   291      * @param aTexture Out parameter. Contains pointer to a texture.
   391      * visual content.
   390      * visual content.
   392      */
   391      */
   393     virtual void UpdateL( const MFsTreeItemData& aData,
   392     virtual void UpdateL( const MFsTreeItemData& aData,
   394                         TBool aFocused,
   393                         TBool aFocused,
   395                         const TUint aLevel,
   394                         const TUint aLevel,
   396                         CAlfTexture*& aMarkIcon,
   395                         CAlfTexture*& aMarkOnIcon,
       
   396                         CAlfTexture*& aMarkOffIcon,
   397                         CAlfTexture*& aMenuIcon,
   397                         CAlfTexture*& aMenuIcon,
   398                         const TUint aTimeout = 0,
   398                         const TUint aTimeout = 0,
   399                         TBool aUpdateData = ETrue) = 0;
   399                         TBool aUpdateData = ETrue) = 0;
   400 
   400 
   401     /**
   401     /**
   447      * This functions sets wether an item should always be in extended state.
   447      * This functions sets wether an item should always be in extended state.
   448      * 
   448      * 
   449      * @param ETrue if item should always be in extended state.
   449      * @param ETrue if item should always be in extended state.
   450      */
   450      */
   451     virtual void SetAlwaysExtended( TBool aAlwaysExtended ) = 0;
   451     virtual void SetAlwaysExtended( TBool aAlwaysExtended ) = 0;
       
   452 
       
   453     virtual void SetMarkingMode( TBool aMarkingMode ) = 0;
   452     
   454     
   453     /**
   455     /**
   454      * This function returns wether an item is always in extended state.
   456      * This function returns wether an item is always in extended state.
   455      * 
   457      * 
   456      * @return ETrue if item is always in extended state.
   458      * @return ETrue if item is always in extended state.