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
23#ifndef __com_sun_star_awt_WindowAttribute_idl__
24#define __com_sun_star_awt_WindowAttribute_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module awt {
30
31//=============================================================================
32
33/** These values are used to specify the decorations of a window.
34
35	<p><b>IMPORTANT:</b> These constands have to be disjunct with
36	constants in <type>VclWindowPeerAttribute</type>.</p>
37 */
38published constants WindowAttribute
39{
40	//-------------------------------------------------------------------------
41
42	/** specifies that the window is initially visible.
43	 */
44	const long SHOW = 1;
45
46	//-------------------------------------------------------------------------
47
48	/** specifies that the window fills the complete desktop area.
49
50		<p>This applies only to top windows.</p>
51	 */
52	const long FULLSIZE = 2;
53
54	//-------------------------------------------------------------------------
55
56	/** specifies that the window is optimum size.
57
58		<p>This applies only to top windows.</p>
59	 */
60	const long OPTIMUMSIZE = 4;
61
62	//-------------------------------------------------------------------------
63
64	/** specifies that the window is minimum size.
65
66		<p>This applies only to top windows.</p>
67	 */
68	const long MINSIZE = 8;
69
70	//-------------------------------------------------------------------------
71
72	/** specifies that the window has visible borders.
73
74		<p>This applies only to top windows.</p>
75	 */
76	const long BORDER = 16;
77
78	//-------------------------------------------------------------------------
79
80	/** specifies that the size of the window can be changed by the user.
81
82		<p>This applies only to top windows.</p>
83	 */
84	const long SIZEABLE = 32;
85
86	//-------------------------------------------------------------------------
87
88	/** specifies that the window can be moved by the user.
89
90		<p>This applies only to top windows.</p>
91	 */
92	const long MOVEABLE = 64;
93
94	//-------------------------------------------------------------------------
95
96	/** specifies that the window can be closed by the user.
97
98		<p>This applies only to top windows.</p>
99	 */
100	const long CLOSEABLE = 128;
101
102	//-------------------------------------------------------------------------
103
104	/** specifies that the window should support the
105		<type scope="com::sun::star::awt::">XSystemDependentWindowPeer</type>
106        interface.
107
108		<p>This flag may be ignored, but in this case no system-dependent
109		extension works.</p>
110
111		@see XSystemDependentWindowPeer
112		@see com::sun::star::lang::SystemDependent
113
114		@deprecated
115			conflicts with <member>VclWindowPeerAttribute::HSCROLL</member>
116	 */
117	const long SYSTEMDEPENDENT = 256;
118
119	//-------------------------------------------------------------------------
120
121	/** specifies that the window should have no decoration.
122	 */
123    const long NODECORATION = 512;
124
125};
126
127//=============================================================================
128
129}; }; }; };
130
131#endif
132