1d1766043SAndrew Rist/************************************************************** 2*982d8ccdSmseidel * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10*982d8ccdSmseidel * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*982d8ccdSmseidel * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19*982d8ccdSmseidel * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23*982d8ccdSmseidel 24*982d8ccdSmseidel#ifndef __com_sun_star_awt_WindowAttribute_idl__ 25*982d8ccdSmseidel#define __com_sun_star_awt_WindowAttribute_idl__ 26*982d8ccdSmseidel 27*982d8ccdSmseidel 28*982d8ccdSmseidel//============================================================================= 29*982d8ccdSmseidel 30*982d8ccdSmseidel module com { module sun { module star { module awt { 31*982d8ccdSmseidel 32*982d8ccdSmseidel//============================================================================= 33*982d8ccdSmseidel 34cdf0e10cSrcweir/** These values are used to specify the decorations of a window. 35cdf0e10cSrcweir 36*982d8ccdSmseidel <p><b>IMPORTANT:</b> These constants have to be disjunct with 37cdf0e10cSrcweir constants in <type>VclWindowPeerAttribute</type>.</p> 38cdf0e10cSrcweir */ 39cdf0e10cSrcweirpublished constants WindowAttribute 40*982d8ccdSmseidel{ 41*982d8ccdSmseidel //------------------------------------------------------------------------- 42*982d8ccdSmseidel 43cdf0e10cSrcweir /** specifies that the window is initially visible. 44cdf0e10cSrcweir */ 45*982d8ccdSmseidel const long SHOW = 1; 46*982d8ccdSmseidel 47*982d8ccdSmseidel //------------------------------------------------------------------------- 48*982d8ccdSmseidel 49*982d8ccdSmseidel /** specifies that the window fills the complete desktop area. 50*982d8ccdSmseidel 51cdf0e10cSrcweir <p>This applies only to top windows.</p> 52cdf0e10cSrcweir */ 53*982d8ccdSmseidel const long FULLSIZE = 2; 54*982d8ccdSmseidel 55*982d8ccdSmseidel //------------------------------------------------------------------------- 56*982d8ccdSmseidel 57*982d8ccdSmseidel /** specifies that the window is optimum size. 58*982d8ccdSmseidel 59cdf0e10cSrcweir <p>This applies only to top windows.</p> 60cdf0e10cSrcweir */ 61*982d8ccdSmseidel const long OPTIMUMSIZE = 4; 62*982d8ccdSmseidel 63*982d8ccdSmseidel //------------------------------------------------------------------------- 64*982d8ccdSmseidel 65*982d8ccdSmseidel /** specifies that the window is minimum size. 66*982d8ccdSmseidel 67cdf0e10cSrcweir <p>This applies only to top windows.</p> 68cdf0e10cSrcweir */ 69*982d8ccdSmseidel const long MINSIZE = 8; 70*982d8ccdSmseidel 71*982d8ccdSmseidel //------------------------------------------------------------------------- 72*982d8ccdSmseidel 73*982d8ccdSmseidel /** specifies that the window has visible borders. 74*982d8ccdSmseidel 75cdf0e10cSrcweir <p>This applies only to top windows.</p> 76cdf0e10cSrcweir */ 77*982d8ccdSmseidel const long BORDER = 16; 78cdf0e10cSrcweir 79*982d8ccdSmseidel //------------------------------------------------------------------------- 80*982d8ccdSmseidel 81*982d8ccdSmseidel /** specifies that the size of the window can be changed by the user. 82*982d8ccdSmseidel 83*982d8ccdSmseidel <p>This applies only to top windows.</p> 84cdf0e10cSrcweir */ 85*982d8ccdSmseidel const long SIZEABLE = 32; 86*982d8ccdSmseidel 87*982d8ccdSmseidel //------------------------------------------------------------------------- 88*982d8ccdSmseidel 89*982d8ccdSmseidel /** specifies that the window can be moved by the user. 90cdf0e10cSrcweir 91*982d8ccdSmseidel <p>This applies only to top windows.</p> 92cdf0e10cSrcweir */ 93*982d8ccdSmseidel const long MOVEABLE = 64; 94*982d8ccdSmseidel 95*982d8ccdSmseidel //------------------------------------------------------------------------- 96*982d8ccdSmseidel 97*982d8ccdSmseidel /** specifies that the window can be closed by the user. 98cdf0e10cSrcweir 99*982d8ccdSmseidel <p>This applies only to top windows.</p> 100cdf0e10cSrcweir */ 101*982d8ccdSmseidel const long CLOSEABLE = 128; 102*982d8ccdSmseidel 103*982d8ccdSmseidel //------------------------------------------------------------------------- 104*982d8ccdSmseidel 105*982d8ccdSmseidel /** specifies that the window should support the 106cdf0e10cSrcweir <type scope="com::sun::star::awt::">XSystemDependentWindowPeer</type> 107*982d8ccdSmseidel interface. 108*982d8ccdSmseidel 109*982d8ccdSmseidel <p>This flag may be ignored, but in this case no system-dependent 110cdf0e10cSrcweir extension works.</p> 111*982d8ccdSmseidel 112*982d8ccdSmseidel @see XSystemDependentWindowPeer 113cdf0e10cSrcweir @see com::sun::star::lang::SystemDependent 114cdf0e10cSrcweir 115cdf0e10cSrcweir @deprecated 116cdf0e10cSrcweir conflicts with <member>VclWindowPeerAttribute::HSCROLL</member> 117cdf0e10cSrcweir */ 118*982d8ccdSmseidel const long SYSTEMDEPENDENT = 256; 119*982d8ccdSmseidel 120*982d8ccdSmseidel //------------------------------------------------------------------------- 121*982d8ccdSmseidel 122*982d8ccdSmseidel /** specifies that the window should have no decoration. 123cdf0e10cSrcweir */ 124*982d8ccdSmseidel const long NODECORATION = 512; 125*982d8ccdSmseidel 126*982d8ccdSmseidel}; 127*982d8ccdSmseidel 128*982d8ccdSmseidel//============================================================================= 129*982d8ccdSmseidel 130*982d8ccdSmseidel}; }; }; }; 131*982d8ccdSmseidel 132cdf0e10cSrcweir#endif 133