uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h
branchRCL_3
changeset 13 3a60ebea00d0
parent 9 3ac8bf5c5014
child 17 c9d868f1e20c
equal deleted inserted replaced
12:f93c875b566e 13:3a60ebea00d0
   100 public:
   100 public:
   101     IMPORT_C virtual ~CHuiFxEffect();
   101     IMPORT_C virtual ~CHuiFxEffect();
   102     IMPORT_C static CHuiFxEffect* NewL(CHuiFxEngine& aEngine);
   102     IMPORT_C static CHuiFxEffect* NewL(CHuiFxEngine& aEngine);
   103     IMPORT_C void AddLayerL(const CHuiFxLayer* aLayer); // takes ownership
   103     IMPORT_C void AddLayerL(const CHuiFxLayer* aLayer); // takes ownership
   104     IMPORT_C void AdvanceTime(TReal32 aElapsedTime);
   104     IMPORT_C void AdvanceTime(TReal32 aElapsedTime);
   105     IMPORT_C TBool Draw(CHuiGc& aGc, const TRect& aDisplayRect);
   105     IMPORT_C TBool Draw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aHasSurface);
   106     IMPORT_C CHuiFxEngine& Engine() const;
   106     IMPORT_C CHuiFxEngine& Engine() const;
   107     IMPORT_C TBool VisualArea(TRect& aRect) const;
   107     IMPORT_C TBool VisualArea(TRect& aRect) const;
   108     IMPORT_C TBool Changed();
   108     IMPORT_C TBool Changed();
   109     IMPORT_C void SetEffectEndObserver( MAlfGfxEffectObserver* aEffectEndObserver, TInt aHandle );
   109     IMPORT_C void SetEffectEndObserver( MAlfGfxEffectObserver* aEffectEndObserver, TInt aHandle );
   110 
   110 
   166      *  @param  aClipRegion If region contains rects, final composition to display is clipped according to
   166      *  @param  aClipRegion If region contains rects, final composition to display is clipped according to
   167      *          defined region.          
   167      *          defined region.          
   168      *                   
   168      *                   
   169      *  @return ETrue if drawing was done, otherwise EFalse   
   169      *  @return ETrue if drawing was done, otherwise EFalse   
   170      */
   170      */
   171     TBool CachedDraw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aRefreshCachedRenderTarget, TBool aOpaque, const TRegion& aClipRegion, TInt aAlpha = 255);
   171     TBool CachedDraw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aRefreshCachedRenderTarget, TBool aOpaque, const TRegion& aClipRegion, TBool aHasSurface, TInt aAlpha = 255);
   172     TBool CachedDraw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aRefreshCachedRenderTarget, TBool aOpaque);
   172     TBool CachedDraw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aRefreshCachedRenderTarget, TBool aOpaque);
   173 
   173 
   174     void FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray);
   174     void FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray);
   175     
   175     
   176 	TBool FxmlUsesOpaqueHint() const;
   176 	TBool FxmlUsesOpaqueHint() const;