uiacceltk/hitchcock/coretoolkit/inc/HuiFxLayer.h
branchRCL_3
changeset 20 31fccae4f8a7
parent 19 e5af45d51884
equal deleted inserted replaced
19:e5af45d51884 20:31fccae4f8a7
    30     {
    30     {
    31 public:
    31 public:
    32     IMPORT_C virtual ~CHuiFxLayer();
    32     IMPORT_C virtual ~CHuiFxLayer();
    33 
    33 
    34     IMPORT_C virtual TBool PrepareDrawL(CHuiFxEngine& aEngine);
    34     IMPORT_C virtual TBool PrepareDrawL(CHuiFxEngine& aEngine);
       
    35     IMPORT_C virtual void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
    35     virtual void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface) = 0;
    36     virtual void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface) = 0;
    36     IMPORT_C virtual TBool VisualArea(TRect& aRect);
    37     IMPORT_C virtual TBool VisualArea(TRect& aRect);
    37     IMPORT_C virtual TBool Margin( TMargins &m );
    38     IMPORT_C virtual TBool Margin( TMargins &m );
    38     IMPORT_C virtual void AdvanceTime(TReal32 aElapsedTime);
    39     IMPORT_C virtual void AdvanceTime(TReal32 aElapsedTime);
    39     IMPORT_C virtual TBool Changed() const;
    40     IMPORT_C virtual TBool Changed() const;
    74     // Internal flag to tell wheter margin is enabled
    75     // Internal flag to tell wheter margin is enabled
    75     void EnableMargin(TBool aEnable);
    76     void EnableMargin(TBool aEnable);
    76     virtual void EnableMarginApplyChildren(TBool aEnable);
    77     virtual void EnableMarginApplyChildren(TBool aEnable);
    77     TBool IsMarginEnabled() const;
    78     TBool IsMarginEnabled() const;
    78     
    79     
       
    80     // Internal
       
    81     virtual void SetVisualContentState(TBool aChanged, TBool aOpaque);
       
    82     
    79     // Internal flag to tell wheter transparency is enabled
    83     // Internal flag to tell wheter transparency is enabled
    80     virtual TBool IsSemitransparent() const;
    84     virtual TBool IsSemitransparent() const;
    81     
    85     
    82     virtual void FxmlVisualInputs(RArray<THuiFxVisualSrcType> & /*aArray*/) { }
    86     virtual void FxmlVisualInputs(RArray<THuiFxVisualSrcType> & /*aArray*/) { }
    83     
    87