Kaydet (Commit) 4bdfffd3 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.5.32); FILE MERGED

2005/10/28 14:48:25 cd 1.5.32.1: #i55991# Warning free code changes for gcc
üst ed5ac8b1
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: imagesconfiguration.hxx,v $ * $RCSfile: imagesconfiguration.hxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: rt $ $Date: 2005-09-09 00:52:37 $ * last change: $Author: hr $ $Date: 2006-06-19 11:08:39 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
************************************************************************/ ************************************************************************/
#ifndef __FRAMEWORK_CLASSES_IMAGESCONFIGURATION_HXX_ #ifndef __FRAMEWORK_XML_IMAGESCONFIGURATION_HXX_
#define __FRAMEWORK_CLASSES_IMAGESCONFIGURATION_HXX_ #define __FRAMEWORK_XML_IMAGESCONFIGURATION_HXX_
#ifndef _SVARRAY_HXX #ifndef _SVARRAY_HXX
#include <svtools/svarray.hxx> #include <svtools/svarray.hxx>
...@@ -93,15 +93,16 @@ SV_DECL_PTRARR_DEL( ExternalImageItemListDescriptor, ExternalImageItemDescriptor ...@@ -93,15 +93,16 @@ SV_DECL_PTRARR_DEL( ExternalImageItemListDescriptor, ExternalImageItemDescriptor
struct ImageListItemDescriptor struct ImageListItemDescriptor
{ {
ImageListItemDescriptor() : pImageItemList( 0 ) ImageListItemDescriptor() : nMaskMode( ImageMaskMode_Color ),
, nMaskMode( ImageMaskMode_Color ) {} pImageItemList( 0 ) {}
~ImageListItemDescriptor() { delete pImageItemList; } ~ImageListItemDescriptor() { delete pImageItemList; }
String aURL; // an URL to a bitmap with several images inside String aURL; // an URL to a bitmap with several images inside
Color aMaskColor; // a color used as transparent Color aMaskColor; // a color used as transparent
String aMaskURL; // an URL to an optional bitmap used as a mask String aMaskURL; // an URL to an optional bitmap used as a mask
ImageMaskMode nMaskMode; // an enum to describe the current mask mode ImageMaskMode nMaskMode; // an enum to describe the current mask mode
ImageItemListDescriptor* pImageItemList; // an array of ImageItemDescriptors that describes every image ImageItemListDescriptor* pImageItemList; // an array of ImageItemDescriptors that describes every image
String aHighContrastURL; // an URL to an optional high contrast bitmap with serveral images inside String aHighContrastURL; // an URL to an optional high contrast bitmap with serveral images inside
String aHighContrastMaskURL; // an URL to an optional high contrast bitmap as a mask String aHighContrastMaskURL; // an URL to an optional high contrast bitmap as a mask
}; };
...@@ -112,10 +113,10 @@ SV_DECL_PTRARR_DEL( ImageListDescriptor, ImageListItemDescriptorPtr, 10, 2) ...@@ -112,10 +113,10 @@ SV_DECL_PTRARR_DEL( ImageListDescriptor, ImageListItemDescriptorPtr, 10, 2)
struct ImageListsDescriptor struct ImageListsDescriptor
{ {
ImageListsDescriptor() : pImageList( 0 ), ImageListsDescriptor() : pImageList( 0 ),
pExternalImageList( 0 ) {} pExternalImageList( 0 ) {}
~ImageListsDescriptor() { delete pImageList; delete pExternalImageList; } ~ImageListsDescriptor() { delete pImageList; delete pExternalImageList; }
ImageListDescriptor* pImageList; ImageListDescriptor* pImageList;
ExternalImageItemListDescriptor* pExternalImageList; ExternalImageItemListDescriptor* pExternalImageList;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment