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); |
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 protected: |
54 protected: |
55 IMPORT_C void ConstructL(MHuiEffectable& aVisual); |
55 IMPORT_C void ConstructL(MHuiEffectable* aVisual); |
56 |
56 |
57 void RegisterParameterL(const TDesC& aName, TRgb* aValue); |
57 void RegisterParameterL(const TDesC& aName, TRgb* aValue); |
58 void RegisterParameterL(const TDesC& aName, TReal32* aValue); |
58 void RegisterParameterL(const TDesC& aName, TReal32* aValue); |
59 |
59 |
60 private: |
60 private: |