summaryrefslogtreecommitdiff
path: root/include/svx/swframeexample.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-13 10:30:04 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-13 10:30:04 +0900
commit716f8e04a5bd1bde7d2ed9cae56b59eb7f7f77f1 (patch)
treeb4a0f2b120acd7a43973e943896632798a30ad8e /include/svx/swframeexample.hxx
parent7d6fea90d34b888e878eb7674e380c1c08522a16 (diff)
refactor SvxSwFrameExample to use RenderContext
Change-Id: Ice4ffab3bc98b76b7ee90aa4570b2858b01bf906
Diffstat (limited to 'include/svx/swframeexample.hxx')
-rw-r--r--include/svx/swframeexample.hxx6
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: