diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2020-05-24 00:40:57 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-02 10:54:19 +0200 |
commit | bb0039ca67f84d8c46e78f4209c17d2923790140 (patch) | |
tree | 3adf6ba8e0a201b0f01c76cb015f1da667b55956 /include | |
parent | e25334e1c1022b4741897a3e659fcbad5cde97c4 (diff) |
tdf#74702 vcl: extract GetButtonBorderSize()
Change-Id: Ibc1818453425cbe5dac3e16bfde9dbe93beb1311
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94725
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 2 | ||||
-rw-r--r-- | include/vcl/print.hxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index fb58781479c4..18c47547d44a 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -535,6 +535,8 @@ public: ///@} +public: + virtual Size GetButtonBorderSize() { return Size(1, 1); }; /** @name Direct OutputDevice drawing functions */ diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 2a27e4c2469f..6e0fd0d15c76 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -240,6 +240,7 @@ public: void DrawGradientEx( OutputDevice* pOut, const tools::Rectangle& rRect, const Gradient& rGradient ); virtual Bitmap GetBitmap( const Point& rSrcPt, const Size& rSize ) const override; + virtual Size GetButtonBorderSize() override; bool IsScreenComp() const override { return false; } |