diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-13 16:14:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 07:29:33 +0100 |
commit | d03c6ee8d0e2f5637038cf80b890e97630b60b9e (patch) | |
tree | 38f94ba03eeea169e543dd687830da3f60452a92 /include/vcl | |
parent | e7ed95234244b9f3a2c5c3810984627f05e73384 (diff) |
move transparency adjust code to BitmapEx
part of making Bitmap an internal implementation detail of vcl/
Change-Id: I6978d84c86c3d55b3ebbeacda60fd94b160daa29
Reviewed-on: https://gerrit.libreoffice.org/49667
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/bitmapex.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index 9faf3c8eb41c..ce45c0a6891f 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -441,6 +441,9 @@ public: const Size &rSize ); void setAlphaFrom( sal_uInt8 cIndexFrom, sal_Int8 nAlphaTo ); + + void AdjustTransparency( sal_uInt8 cTrans ); + public: SAL_DLLPRIVATE std::shared_ptr<ImpBitmap> const & ImplGetBitmapImpBitmap() const { return aBitmap.ImplGetImpBitmap(); } |