1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#ifndef __com_sun_star_awt_ImageDrawMode_idl__ 23#define __com_sun_star_awt_ImageDrawMode_idl__ 24 25module com { module sun { module star { module awt { 26 27/** defines modes how an image is drawn onto a device 28 29 @see <member scope="com::sun::star::awt">XGraphics2::drawImage</member> 30 @since OpenOffice 4.0 31 */ 32constants ImageDrawMode 33{ 34 /** the image is drawn as is, without any color transformation. 35 */ 36 const short NONE = 0x0000; 37 38 /** the image is drawn as if it represented a feature whose state is disabled. 39 */ 40 const short DISABLE = 0x0001; 41 42 /** the image is drawn as being highlighted. 43 See <member scope="com::sun::star::awt">XStyleSettings::HighlightColor</member>. 44 */ 45 const short HIGHLIGHT = 0x0002; 46 47 /** the image is drawn as being deactivated. 48 See <member scope="com::sun::star::awt">XStyleSettings::DeactiveColor</member>. 49 */ 50 const short DEACTIVE = 0x0004; 51 52 /** the image is drawn semi-transparent. 53 */ 54 const short SEMITRANSPARENT = 0x0010; 55}; 56 57}; }; }; }; 58 59#endif 60