diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-13 10:30:04 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-13 10:30:04 +0900 |
commit | 716f8e04a5bd1bde7d2ed9cae56b59eb7f7f77f1 (patch) | |
tree | b4a0f2b120acd7a43973e943896632798a30ad8e /include/svx/swframeexample.hxx | |
parent | 7d6fea90d34b888e878eb7674e380c1c08522a16 (diff) |
refactor SvxSwFrameExample to use RenderContext
Change-Id: Ice4ffab3bc98b76b7ee90aa4570b2858b01bf906
Diffstat (limited to 'include/svx/swframeexample.hxx')
-rw-r--r-- | include/svx/swframeexample.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx index c816c174010b..5a813c72301b 100644 --- a/include/svx/swframeexample.hxx +++ b/include/svx/swframeexample.hxx @@ -62,11 +62,11 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public vcl::Window Point aRelPos; void InitColors_Impl(); - void InitAllRects_Impl(); + void InitAllRects_Impl(vcl::RenderContext& rRenderContext); void CalcBoundRect_Impl(Rectangle &rRect); - Rectangle DrawInnerFrame_Impl(const Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor); + Rectangle DrawInnerFrame_Impl(vcl::RenderContext& rRenderContext, const Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor); - void DrawRect_Impl(const Rectangle &rRect, const Color &rFillColor, const Color &rLineColor); + void DrawRect_Impl(vcl::RenderContext& rRenderContext, const Rectangle &rRect, const Color &rFillColor, const Color &rLineColor); virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) SAL_OVERRIDE; virtual Size GetOptimalSize() const SAL_OVERRIDE; protected: |