summaryrefslogtreecommitdiff
path: root/include/vcl/ImageTree.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-11-26 13:24:03 +0000
committerMichael Meeks <michael.meeks@collabora.com>2018-11-27 13:16:38 +0100
commitbc8e23fc946380751447ab24587b1631eb56ef19 (patch)
tree90334349e2696111af048bab4436d790fb68b96d /include/vcl/ImageTree.hxx
parenta71ea5cefffc4169237310d72f2d6e96c8bbf63d (diff)
Add explicit API scaling via ImageTree API.
Also add image scale to in-memory cache lookup. Change-Id: I1e84b922d4a9ab2f1723c5cb8a72f295c6940504 Reviewed-on: https://gerrit.libreoffice.org/64043 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/ImageTree.hxx')
-rw-r--r--include/vcl/ImageTree.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/ImageTree.hxx b/include/vcl/ImageTree.hxx
index 6598c34c09e9..4b49a31f30b9 100644
--- a/include/vcl/ImageTree.hxx
+++ b/include/vcl/ImageTree.hxx
@@ -64,6 +64,12 @@ public:
BitmapEx & bitmap, bool localized,
const ImageLoadFlags eFlags = ImageLoadFlags::NONE);
+ VCL_DLLPUBLIC bool loadImage(
+ OUString const & name, OUString const & style,
+ BitmapEx & bitmap, bool localized,
+ sal_Int32 nScalePercentage,
+ const ImageLoadFlags eFlags = ImageLoadFlags::NONE);
+
VCL_DLLPUBLIC css::uno::Reference<css::container::XNameAccess> const & getNameAccess();