summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 11:42:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 11:42:21 +0000
commitee13d97e781430e22895c6e1faca95a379f982b2 (patch)
tree727ef470e0a35dc12852143c6f6f602d2f85acd9 /svx
parenta5f6ebf44d40233b0d0e171d1ef62223a3fc83d8 (diff)
INTEGRATION: CWS jmf5 (1.32.58); FILE MERGED
2005/02/24 11:05:02 ka 1.32.58.1: #i43341#: support for alpha icons
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galmisc.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 30d195403df1..5d353610d6d5 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: galmisc.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: rt $ $Date: 2005-01-11 13:00:41 $
+ * last change: $Author: vg $ $Date: 2005-03-23 12:42:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -715,3 +715,13 @@ void GalleryTransferable::StartDrag( Window* pWindow, sal_Int8 nDragSourceAction
TransferableHelper::StartDrag( pWindow, nDragSourceActions, nDragPointer, nDragImage );
}
}
+
+BitmapEx GalleryResGetBitmapEx( ULONG nId )
+{
+ BitmapEx aBmpEx( GAL_RESID( nId ) );
+
+ if( !aBmpEx.IsTransparent() )
+ aBmpEx = BitmapEx( aBmpEx.GetBitmap(), COL_LIGHTMAGENTA );
+
+ return aBmpEx;
+}