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