equal
deleted
inserted
replaced
30 { |
30 { |
31 public: |
31 public: |
32 IMPORT_C static CHuiFxVisualLayer* NewL(MHuiEffectable* aVisual); // param mandatory |
32 IMPORT_C static CHuiFxVisualLayer* NewL(MHuiEffectable* aVisual); // param mandatory |
33 IMPORT_C ~CHuiFxVisualLayer(); |
33 IMPORT_C ~CHuiFxVisualLayer(); |
34 IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine); |
34 IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine); |
|
35 IMPORT_C void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine); |
35 IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface); |
36 IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface); |
36 IMPORT_C TBool VisualArea( TRect& aRect ); |
37 IMPORT_C TBool VisualArea( TRect& aRect ); |
37 IMPORT_C void AdvanceTime(TReal32 aElapsedTime); |
38 IMPORT_C void AdvanceTime(TReal32 aElapsedTime); |
38 IMPORT_C TBool Changed() const; |
39 IMPORT_C TBool Changed() const; |
39 IMPORT_C TBool Margin(TMargins &m); |
40 IMPORT_C TBool Margin(TMargins &m); |
41 IMPORT_C MHuiFxParameter* Parameter(const TDesC& aName); |
42 IMPORT_C MHuiFxParameter* Parameter(const TDesC& aName); |
42 void SetSourceType( const THuiFxVisualSrcType aSrcType ); |
43 void SetSourceType( const THuiFxVisualSrcType aSrcType ); |
43 THuiFxVisualSrcType SourceType() const; |
44 THuiFxVisualSrcType SourceType() const; |
44 void SetExtBitmapFileL( TDesC& aFilename ); |
45 void SetExtBitmapFileL( TDesC& aFilename ); |
45 TBool IsSemitransparent() const; |
46 TBool IsSemitransparent() const; |
|
47 |
|
48 void SetVisualContentState(TBool aChanged, TBool aOpaque); |
46 |
49 |
47 public: // effect cache |
50 public: // effect cache |
48 IMPORT_C CHuiFxVisualLayer *CloneL() const; |
51 IMPORT_C CHuiFxVisualLayer *CloneL() const; |
49 IMPORT_C void SetExtRect( TRect *aExtRect ); |
52 IMPORT_C void SetExtRect( TRect *aExtRect ); |
50 IMPORT_C void SetVisual( CHuiVisual *aVisual ); |
53 IMPORT_C void SetVisual( CHuiVisual *aVisual ); |
95 TReal32 iSkewOriginZ; |
98 TReal32 iSkewOriginZ; |
96 |
99 |
97 HBufC* iExtBitmapFile; |
100 HBufC* iExtBitmapFile; |
98 TReal32 iOpacity; |
101 TReal32 iOpacity; |
99 TBool iOpaqueHint; |
102 TBool iOpaqueHint; |
|
103 |
|
104 CHuiFxEngine* iEngine; // not own |
|
105 CHuiFxRenderbuffer* iRenderBuffer; // owned |
|
106 TBool iVisualContentChanged; |
|
107 TBool iVisualContentOpaque; |
100 }; |
108 }; |
101 |
109 |
102 #endif /*HUIFXVISUALLAYER_*/ |
110 #endif /*HUIFXVISUALLAYER_*/ |