equal
deleted
inserted
replaced
20 #ifndef FSTREENODEVISUALIZERBASE_H_ |
20 #ifndef FSTREENODEVISUALIZERBASE_H_ |
21 #define FSTREENODEVISUALIZERBASE_H_ |
21 #define FSTREENODEVISUALIZERBASE_H_ |
22 |
22 |
23 |
23 |
24 #include <e32base.h> |
24 #include <e32base.h> |
25 //<cmail> removed __FS_ALFRED_SUPPORT flag |
|
26 //#include <fsconfig.h> |
|
27 //</cmail> removed __FS_ALFRED_SUPPORT flag |
|
28 #include <gdi.h> |
25 #include <gdi.h> |
29 // <cmail> SF |
|
30 #include <alf/alfeventhandler.h> |
26 #include <alf/alfeventhandler.h> |
31 // </cmail> |
|
32 #include "fstreenodevisualizer.h" |
27 #include "fstreenodevisualizer.h" |
33 |
28 |
34 class CAlfLayout; |
29 class CAlfLayout; |
35 class CAlfTexture; |
30 class CAlfTexture; |
36 class CAlfBrush; |
31 class CAlfBrush; |
308 * |
303 * |
309 * @param aTexture New background texture. |
304 * @param aTexture New background texture. |
310 */ |
305 */ |
311 virtual void SetBackgroundTexture( const CAlfTexture& aTexture ); |
306 virtual void SetBackgroundTexture( const CAlfTexture& aTexture ); |
312 |
307 |
313 // <cmail> |
|
314 /** |
308 /** |
315 * From MFsTreeItemVisualizer. |
309 * From MFsTreeItemVisualizer. |
316 * Sets item background brush. Ownership not transfered. |
310 * Sets item background brush. Ownership not transfered. |
317 * |
311 * |
318 * @param aBrush New background brush. |
312 * @param aBrush New background brush. |
326 * @param aBrush Out parameter. Contains pointer to a background brush. |
320 * @param aBrush Out parameter. Contains pointer to a background brush. |
327 * |
321 * |
328 * @return ETrue if background brush is set, EFalse otherwise. |
322 * @return ETrue if background brush is set, EFalse otherwise. |
329 */ |
323 */ |
330 virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ); |
324 virtual TBool GetBackgroundBrush( CAlfBrush*& aBrush ); |
331 // </cmail> |
|
332 |
325 |
333 /** |
326 /** |
334 * From MFsTreeItemVisualizer. |
327 * From MFsTreeItemVisualizer. |
335 * Returns background texture if it's set. |
328 * Returns background texture if it's set. |
336 * |
329 * |
362 * This functions sets wether an item should always be in extended state. |
355 * This functions sets wether an item should always be in extended state. |
363 * |
356 * |
364 * @param ETrue if item should always be in extended state. |
357 * @param ETrue if item should always be in extended state. |
365 */ |
358 */ |
366 virtual void SetAlwaysExtended( TBool aAlwaysExtended ); |
359 virtual void SetAlwaysExtended( TBool aAlwaysExtended ); |
|
360 |
|
361 virtual void SetMarkingMode( TBool aMarkingMode ); |
367 |
362 |
368 /** |
363 /** |
369 * This function returns wether an item is always in extended state. |
364 * This function returns wether an item is always in extended state. |
370 * |
365 * |
371 * @return ETrue if item is always in extended state. |
366 * @return ETrue if item is always in extended state. |
437 * |
432 * |
438 */ |
433 */ |
439 virtual void UpdateL( const MFsTreeItemData& aData, |
434 virtual void UpdateL( const MFsTreeItemData& aData, |
440 TBool aFocused, |
435 TBool aFocused, |
441 const TUint aLevel, |
436 const TUint aLevel, |
442 CAlfTexture*& aMarkIcon, |
437 CAlfTexture*& aMarkOnIcon, |
|
438 CAlfTexture*& aMarkOffIcon, |
443 CAlfTexture*& aMenuIcon, |
439 CAlfTexture*& aMenuIcon, |
444 const TUint aTimeout = 0, |
440 const TUint aTimeout = 0, |
445 TBool aUpdateData = ETrue); |
441 TBool aUpdateData = ETrue); |
446 |
442 |
447 /** |
443 /** |
567 enum TFsNodeBackgroundState |
563 enum TFsNodeBackgroundState |
568 { |
564 { |
569 EFsNodeBackgroundNone, |
565 EFsNodeBackgroundNone, |
570 EFsNodeBackgroundColor, |
566 EFsNodeBackgroundColor, |
571 EFsNodeBackgroundTexture, |
567 EFsNodeBackgroundTexture, |
572 // <cmail> this feature is waiting for title divider bg graphics |
|
573 EFsNodeBackgroundBrush |
568 EFsNodeBackgroundBrush |
574 // </cmail> |
|
575 }; |
569 }; |
576 |
570 |
577 protected: |
571 protected: |
578 |
572 |
579 /* |
573 /* |