diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-05-22 13:24:07 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-22 15:08:43 +0200 |
commit | c81f202788124631fb3a321c3f47a6c44692a26e (patch) | |
tree | 4b1100fa644e3c5c431f8ae4f2853fa0c5a2b138 /vcl/inc/brdwin.hxx | |
parent | 918886e43d3579f1b24375c15c6e911aaf8dc8eb (diff) |
rendercontext: Make borderwindow painting via rendercontext.
Change-Id: I51bce6c3af7484d1e5dd42190f14511ba88e1679
Diffstat (limited to 'vcl/inc/brdwin.hxx')
-rw-r--r-- | vcl/inc/brdwin.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index e118024e9a67..de911ff39c0d 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -228,7 +228,7 @@ public: virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const = 0; virtual long CalcTitleWidth() const = 0; - virtual void DrawWindow( sal_uInt16 nDrawFlags, OutputDevice* pOutDev = NULL, const Point* pOffset = NULL ) = 0; + virtual void DrawWindow(vcl::RenderContext& rRenderContext, sal_uInt16 nDrawFlags, const Point* pOffset = NULL) = 0; virtual Rectangle GetMenuRect() const; static void ImplInitTitle( ImplBorderFrameData* pData ); @@ -249,7 +249,7 @@ public: virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; virtual long CalcTitleWidth() const SAL_OVERRIDE; - virtual void DrawWindow( sal_uInt16 nDrawFlags, OutputDevice* pOutDev, const Point* pOffset ) SAL_OVERRIDE; + virtual void DrawWindow(vcl::RenderContext& rRenderContext, sal_uInt16 nDrawFlags, const Point* pOffset) SAL_OVERRIDE; }; class ImplSmallBorderWindowView : public ImplBorderWindowView @@ -271,7 +271,7 @@ public: virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; virtual long CalcTitleWidth() const SAL_OVERRIDE; - virtual void DrawWindow( sal_uInt16 nDrawFlags, OutputDevice* pOutDev, const Point* pOffset ) SAL_OVERRIDE; + virtual void DrawWindow(vcl::RenderContext& rRenderContext, sal_uInt16 nDrawFlags, const Point* pOffset) SAL_OVERRIDE; }; class ImplStdBorderWindowView : public ImplBorderWindowView @@ -294,7 +294,7 @@ public: virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; virtual long CalcTitleWidth() const SAL_OVERRIDE; - virtual void DrawWindow( sal_uInt16 nDrawFlags, OutputDevice* pOutDev, const Point* pOffset ) SAL_OVERRIDE; + virtual void DrawWindow(vcl::RenderContext& rRenderContext, sal_uInt16 nDrawFlags, const Point* pOffset) SAL_OVERRIDE; }; #endif // INCLUDED_VCL_INC_BRDWIN_HXX |