diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-17 03:45:23 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-17 03:45:23 +1000 |
commit | 948c4654f683e93b757f96e8859e9e91b45298a4 (patch) | |
tree | 9096d0352a384e7032ff80cd92207452f7e0cc88 /include | |
parent | bc3625fce46e3e4529b2eb7daabc5c66d7b1cbcc (diff) |
fdo#74702 Seperate ImplDrawGradientWallpaper and rename
I have made ImplDrawGradientWallpaper a virtual protected function as
Window needs to handle this differently to Printer and VirtualDevice
instances. I have also renamed it to DrawGradientWallpaper.
Change-Id: I529ed0a757cfcebb6fe06f3738219ec43272f657
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 3 | ||||
-rw-r--r-- | include/vcl/window.hxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 3034fb37b529..c428c8199b31 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -768,7 +768,6 @@ public: SAL_DLLPRIVATE void ImplDrawWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); SAL_DLLPRIVATE void ImplDrawColorWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); SAL_DLLPRIVATE void ImplDrawBitmapWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); - SAL_DLLPRIVATE void ImplDrawGradientWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); ///@} /** @name Bitmap functions @@ -891,6 +890,8 @@ protected: virtual void EmulateDrawTransparent( const PolyPolygon& rPolyPoly, sal_uInt16 nTransparencePercent ); void DrawInvisiblePolygon( const PolyPolygon& rPolyPoly ); + virtual void DrawGradientWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); + private: typedef void ( OutputDevice::* FontUpdateHandler_t )( bool ); diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 786cd0d694cd..f71ae689c1a7 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -583,6 +583,8 @@ protected: virtual void ClipToPaintRegion( Rectangle& rDstRect ) SAL_OVERRIDE; virtual bool UsePolyPolygonForComplexGradient() SAL_OVERRIDE; + virtual void DrawGradientWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ) SAL_OVERRIDE; + public: bool HasMirroredGraphics() const SAL_OVERRIDE; |