397 THuiRealPoint ConvertPoint(const THuiRealPoint& aPointInUnits) const; |
397 THuiRealPoint ConvertPoint(const THuiRealPoint& aPointInUnits) const; |
398 void ExpandRect(TRect& aRectToExpand, const TRect& aNewRect) const; |
398 void ExpandRect(TRect& aRectToExpand, const TRect& aNewRect) const; |
399 |
399 |
400 public: |
400 public: |
401 IMPORT_C void StoreRenderBufferL(); |
401 IMPORT_C void StoreRenderBufferL(); |
402 void DrawStoredVisualRenderBuffer() const; |
402 void DrawStoredVisualRenderBuffer(TInt aCanvasDrawMode) const; |
403 void DrawStoredFullScreenRenderBuffer(CHuiGc& aGc) const; |
403 void DrawStoredFullScreenRenderBuffer(TInt aCanvasDrawMode, CHuiGc& aGc) const; |
404 IMPORT_C void FreeRenderBuffer(); |
404 IMPORT_C void FreeRenderBuffer(); |
405 |
405 |
|
406 protected: |
|
407 virtual void VisualExtension(const TUid& aExtensionUid, TAny** aExtensionParams); |
|
408 |
406 private: |
409 private: |
407 |
410 |
408 THuiCanvasPaintedArea CanvasPaintedArea(TInt aIndex) const; |
411 THuiCanvasPaintedArea CanvasPaintedArea(TInt aIndex) const; |
409 |
412 |
410 void DrawChildren(CHuiGc& aGc) const; |
413 void DrawChildren(CHuiGc& aGc) const; |
411 void DrawCanvasChildren(CHuiGc& aGc, TInt aIncludeCanvasFlags, TInt aExcludeCanvasFlags) const; |
414 void DrawCanvasChildren(CHuiGc& aGc, TInt aIncludeCanvasFlags, TInt aExcludeCanvasFlags) const; |
412 TBool ChildTreeChanged(TInt aExcludeCanvasFlags) const; |
415 TBool ChildTreeChanged(TInt aExcludeCanvasFlags) const; |
413 |
416 |
|
417 static TBool RecursiveChildTreeChanged(CHuiVisual* aVisual, TInt aExcludeCanvasFlags); |
|
418 static TBool RecursiveIsExternalContentDrawingEnabled(CHuiVisual* aVisual); |
|
419 static TBool RecursiveHasCommandBuffers(CHuiVisual* aVisual); |
|
420 |
414 private: |
421 private: |
415 |
422 |
416 struct THuiCanvasVisualData; |
423 struct THuiCanvasVisualData; |
417 THuiCanvasVisualData* iCanvasVisualData; |
424 THuiCanvasVisualData* iCanvasVisualData; |
418 |
425 |