equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef FSTREEITEMVISUALIZERBASE_H_ |
19 #ifndef FSTREEITEMVISUALIZERBASE_H_ |
20 #define FSTREEITEMVISUALIZERBASE_H_ |
20 #define FSTREEITEMVISUALIZERBASE_H_ |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 //<cmail> removed __FS_ALFRED_SUPPORT flag |
|
24 //#include <fsconfig.h> |
|
25 //</cmail> removed __FS_ALFRED_SUPPORT flag |
|
26 // <cmail> SF |
|
27 #include <alf/alfeventhandler.h> |
23 #include <alf/alfeventhandler.h> |
28 // </cmail> |
|
29 #include "fstreeitemvisualizer.h" |
24 #include "fstreeitemvisualizer.h" |
30 #include "fslayoutmanager.h" |
25 #include "fslayoutmanager.h" |
31 |
26 |
32 class TRgb; |
27 class TRgb; |
33 |
28 |
311 * |
306 * |
312 * @param aTexture New background texture. |
307 * @param aTexture New background texture. |
313 */ |
308 */ |
314 virtual void SetBackgroundTexture( const CAlfTexture& aTexture ); |
309 virtual void SetBackgroundTexture( const CAlfTexture& aTexture ); |
315 |
310 |
316 // <cmail> |
|
317 /** |
311 /** |
318 * From MFsTreeItemVisualizer. |
312 * From MFsTreeItemVisualizer. |
319 * Sets item background brush. Ownership not transfered. |
313 * Sets item background brush. Ownership not transfered. |
320 * |
314 * |
321 * @param aBrush New background brush. |
315 * @param aBrush New background brush. |
329 * @param aBrush Out parameter. Contains pointer to a background brush. |
323 * @param aBrush Out parameter. Contains pointer to a background brush. |
330 * |
324 * |
331 * @return ETrue if background brush is set, EFalse otherwise. |
325 * @return ETrue if background brush is set, EFalse otherwise. |
332 */ |
326 */ |
333 virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ); |
327 virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ); |
334 // </cmail> |
|
335 |
328 |
336 /** |
329 /** |
337 * From MFsTreeItemVisualizer. |
330 * From MFsTreeItemVisualizer. |
338 * Returns background texture if it's set. |
331 * Returns background texture if it's set. |
339 * |
332 * |
365 * This functions sets wether an item should always be in extended state. |
358 * This functions sets wether an item should always be in extended state. |
366 * |
359 * |
367 * @param ETrue if item should always be in extended state. |
360 * @param ETrue if item should always be in extended state. |
368 */ |
361 */ |
369 virtual void SetAlwaysExtended( TBool aAlwaysExtended ); |
362 virtual void SetAlwaysExtended( TBool aAlwaysExtended ); |
|
363 |
|
364 virtual void SetMarkingMode( TBool aMarkingMode ); |
370 |
365 |
371 /** |
366 /** |
372 * This function returns wether an item is always in extended state. |
367 * This function returns wether an item is always in extended state. |
373 * |
368 * |
374 * @return ETrue if item is always in extended state. |
369 * @return ETrue if item is always in extended state. |
439 * |
434 * |
440 */ |
435 */ |
441 virtual void UpdateL( const MFsTreeItemData& aData, |
436 virtual void UpdateL( const MFsTreeItemData& aData, |
442 TBool aFocused, |
437 TBool aFocused, |
443 const TUint aLevel, |
438 const TUint aLevel, |
444 CAlfTexture*& aMarkIcon, |
439 CAlfTexture*& aMarkOnIcon, |
|
440 CAlfTexture*& aMarkOffIcon, |
445 CAlfTexture*& aMenuIcon, |
441 CAlfTexture*& aMenuIcon, |
446 const TUint aTimeout = 0, |
442 const TUint aTimeout = 0, |
447 TBool aUpdateData = ETrue); |
443 TBool aUpdateData = ETrue); |
448 |
444 |
449 /** |
445 /** |
558 enum TFsItemBackgroundState |
554 enum TFsItemBackgroundState |
559 { |
555 { |
560 EFsItemBackgroundNone, |
556 EFsItemBackgroundNone, |
561 EFsItemBackgroundColor, |
557 EFsItemBackgroundColor, |
562 EFsItemBackgroundTexture, |
558 EFsItemBackgroundTexture, |
563 // <cmail> this feature is waiting for title divider bg graphics |
|
564 EFsItemBackgroundBrush |
559 EFsItemBackgroundBrush |
565 // </cmail> |
|
566 }; |
560 }; |
567 |
561 |
568 protected: |
562 protected: |
569 |
563 |
570 /* |
564 /* |