emailuis/uicomponents/inc/fstreeitemvisualizer.h
branchRCL_3
changeset 80 726fba06891a
parent 73 c8382f7b54ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
    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;
       
    70 
    69 
    71 
    70 
    72 const TInt KFsDefaultIndentation = 20;
    71 const TInt KFsDefaultIndentation = 20;
    73 
    72 
    74 
    73 
   266      * 
   265      * 
   267      * @param aTexture New background texture.
   266      * @param aTexture New background texture.
   268      */
   267      */
   269     virtual void SetBackgroundTexture( const CAlfTexture& aTexture ) = 0;
   268     virtual void SetBackgroundTexture( const CAlfTexture& aTexture ) = 0;
   270 
   269 
       
   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>
   287     
   288     
   288     /**
   289     /**
   289      * Returns background texture if it's set.
   290      * Returns background texture if it's set.
   290      * 
   291      * 
   291      * @param aTexture Out parameter. Contains pointer to a texture.
   292      * @param aTexture Out parameter. Contains pointer to a texture.
   390      * visual content.
   391      * visual content.
   391      */
   392      */
   392     virtual void UpdateL( const MFsTreeItemData& aData,
   393     virtual void UpdateL( const MFsTreeItemData& aData,
   393                         TBool aFocused,
   394                         TBool aFocused,
   394                         const TUint aLevel,
   395                         const TUint aLevel,
   395                         CAlfTexture*& aMarkOnIcon,
   396                         CAlfTexture*& aMarkIcon,
   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;
       
   454     
   452     
   455     /**
   453     /**
   456      * This function returns wether an item is always in extended state.
   454      * This function returns wether an item is always in extended state.
   457      * 
   455      * 
   458      * @return ETrue if item is always in extended state.
   456      * @return ETrue if item is always in extended state.