Kaydet (Commit) c81f2027 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

rendercontext: Make borderwindow painting via rendercontext.

Change-Id: I51bce6c3af7484d1e5dd42190f14511ba88e1679
üst 918886e4
...@@ -228,7 +228,7 @@ public: ...@@ -228,7 +228,7 @@ public:
virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const = 0; sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const = 0;
virtual long CalcTitleWidth() 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; virtual Rectangle GetMenuRect() const;
static void ImplInitTitle( ImplBorderFrameData* pData ); static void ImplInitTitle( ImplBorderFrameData* pData );
...@@ -249,7 +249,7 @@ public: ...@@ -249,7 +249,7 @@ public:
virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE;
virtual long CalcTitleWidth() 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 class ImplSmallBorderWindowView : public ImplBorderWindowView
...@@ -271,7 +271,7 @@ public: ...@@ -271,7 +271,7 @@ public:
virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE;
virtual long CalcTitleWidth() 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 class ImplStdBorderWindowView : public ImplBorderWindowView
...@@ -294,7 +294,7 @@ public: ...@@ -294,7 +294,7 @@ public:
virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder, virtual void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE; sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const SAL_OVERRIDE;
virtual long CalcTitleWidth() 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 #endif // INCLUDED_VCL_INC_BRDWIN_HXX
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment