equal
deleted
inserted
replaced
27 #include "HuiCmdBufferBrush.h" // MHuiEffectable |
27 #include "HuiCmdBufferBrush.h" // MHuiEffectable |
28 |
28 |
29 class CHuiFxVisualLayer: public CHuiFxLayer |
29 class CHuiFxVisualLayer: public CHuiFxLayer |
30 { |
30 { |
31 public: |
31 public: |
32 IMPORT_C static CHuiFxVisualLayer* NewL(MHuiEffectable& aVisual); |
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 Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource); |
35 IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource); |
36 IMPORT_C TBool VisualArea( TRect& aRect ); |
36 IMPORT_C TBool VisualArea( TRect& aRect ); |
37 IMPORT_C void AdvanceTime(TReal32 aElapsedTime); |
37 IMPORT_C void AdvanceTime(TReal32 aElapsedTime); |
49 IMPORT_C void SetExtRect( TRect *aExtRect ); |
49 IMPORT_C void SetExtRect( TRect *aExtRect ); |
50 IMPORT_C void SetVisual( CHuiVisual *aVisual ); |
50 IMPORT_C void SetVisual( CHuiVisual *aVisual ); |
51 IMPORT_C void SetVisual( MHuiEffectable *aVisual ); |
51 IMPORT_C void SetVisual( MHuiEffectable *aVisual ); |
52 |
52 |
53 void FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray); |
53 void FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray); |
|
54 void SetFxmlUsesOpaqueHint(TBool aValue); |
|
55 TBool FxmlUsesOpaqueHint() const; |
|
56 |
54 protected: |
57 protected: |
55 IMPORT_C void ConstructL(MHuiEffectable& aVisual); |
58 IMPORT_C void ConstructL(MHuiEffectable* aVisual); |
56 |
59 |
57 void RegisterParameterL(const TDesC& aName, TRgb* aValue); |
60 void RegisterParameterL(const TDesC& aName, TRgb* aValue); |
58 void RegisterParameterL(const TDesC& aName, TReal32* aValue); |
61 void RegisterParameterL(const TDesC& aName, TReal32* aValue); |
59 |
62 |
60 private: |
63 private: |
91 TReal32 iSkewOriginY; |
94 TReal32 iSkewOriginY; |
92 TReal32 iSkewOriginZ; |
95 TReal32 iSkewOriginZ; |
93 |
96 |
94 HBufC* iExtBitmapFile; |
97 HBufC* iExtBitmapFile; |
95 TReal32 iOpacity; |
98 TReal32 iOpacity; |
96 |
99 TBool iOpaqueHint; |
97 }; |
100 }; |
98 |
101 |
99 #endif /*HUIFXVISUALLAYER_*/ |
102 #endif /*HUIFXVISUALLAYER_*/ |