summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-11-10 12:15:17 +0000
committerMichael Meeks <michael.meeks@collabora.com>2014-11-10 12:17:36 +0000
commit7fd1ed8603bf21d54847339ba2c55019ec5e8b6c (patch)
tree595f00010cd3ab57272a1b2128da795dcc8e77c0 /include
parentsw: disable failing c&p test on headless build (diff)
downloadcore-7fd1ed8603bf21d54847339ba2c55019ec5e8b6c.tar.gz
core-7fd1ed8603bf21d54847339ba2c55019ec5e8b6c.zip
vcl: add BitmapEx load from icon theme constructor.
Change-Id: I3dbad69664b7417928a6be10ac561307dd94f67b
Diffstat (limited to 'include')
-rw-r--r--include/vcl/bitmapex.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index dc875ff02c59..1603f6f030c4 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -46,6 +46,7 @@ public:
BitmapEx();
BitmapEx( const ResId& rResId );
+ BitmapEx( const OUString& rIconName );
BitmapEx( const BitmapEx& rBitmapEx );
BitmapEx( const BitmapEx& rBitmapEx, Point aSrc, Size aSize );
BitmapEx( const Bitmap& rBmp );
@@ -460,6 +461,7 @@ public:
private:
friend class ImpGraphic;
friend bool VCL_DLLPUBLIC WriteDIBBitmapEx(const BitmapEx& rSource, SvStream& rOStm);
+ void loadFromIconTheme( const OUString& rIconName );
Bitmap aBitmap;
Bitmap aMask;