xref: /aoo42x/main/offapi/com/sun/star/awt/WindowEvent.idl (revision 982d8ccd)
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_WindowEvent_idl__
24#define __com_sun_star_awt_WindowEvent_idl__
25
26#ifndef __com_sun_star_lang_EventObject_idl__
27#include <com/sun/star/lang/EventObject.idl>
28#endif
29
30
31//=============================================================================
32
33 module com { module sun { module star { module awt {
34
35//=============================================================================
36
37/** specifies a window event.
38 */
39published struct WindowEvent: com::sun::star::lang::EventObject
40{
41	//-------------------------------------------------------------------------
42
43	/** specifies the outer x position of the window.
44	 */
45	long X;
46
47	//-------------------------------------------------------------------------
48
49	/** specifies the outer y position of the window.
50	 */
51	long Y;
52
53	//-------------------------------------------------------------------------
54
55	/** specifies the outer (total) width of the window.
56	 */
57	long Width;
58
59	//-------------------------------------------------------------------------
60
61	/** specifies the outer (total) height of the window.
62	 */
63	long Height;
64
65	//-------------------------------------------------------------------------
66
67	/** specifies the inset from the left.
68
69		<p>The inset is the distance between the outer and the inner window,
70		that means the left inset is the width of the left border.</p>
71	 */
72	long LeftInset;
73
74	//-------------------------------------------------------------------------
75
76	/** specifies the inset from the top.
77
78		<p>The inset is the distance between the outer and the inner window,
79		that means the top inset is the height of the top border.</p>
80	 */
81	long TopInset;
82
83	//-------------------------------------------------------------------------
84
85	/** specifies the inset from the right.
86
87		<p>The inset is the distance between the outer and the inner window,
88		that means the right inset is the width of the right border.</p>
89	 */
90	long RightInset;
91
92	//-------------------------------------------------------------------------
93
94	/** specifies the inset from the bottom.
95
96		<p>The inset is the distance between the outer and the inner window,
97		that means the bottom inset is the height of the bottom border.</p>
98	 */
99	long BottomInset;
100
101};
102
103//=============================================================================
104
105}; }; }; };
106
107#endif
108