1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_awt_WindowAttribute_idl__
20 #define __com_sun_star_awt_WindowAttribute_idl__
24 module com
{ module sun
{ module star
{ module awt
{
27 /** These values are used to specify the decorations of a window.
29 <p><b>IMPORTANT:</b> These constants have to be disjunct with
30 constants in VclWindowPeerAttribute.</p>
32 published constants WindowAttribute
35 /** specifies that the window is initially visible.
40 /** specifies that the window fills the complete desktop area.
42 <p>This applies only to top windows.</p>
44 const long FULLSIZE
= 2;
47 /** specifies that the window is optimum size.
49 <p>This applies only to top windows.</p>
51 const long OPTIMUMSIZE
= 4;
54 /** specifies that the window is minimum size.
56 <p>This applies only to top windows.</p>
58 const long MINSIZE
= 8;
61 /** specifies that the window has visible borders.
63 <p>This applies only to top windows.</p>
65 const long BORDER
= 16;
68 /** specifies that the size of the window can be changed by the user.
70 <p>This applies only to top windows.</p>
72 const long SIZEABLE
= 32;
75 /** specifies that the window can be moved by the user.
77 <p>This applies only to top windows.</p>
79 const long MOVEABLE
= 64;
82 /** specifies that the window can be closed by the user.
84 <p>This applies only to top windows.</p>
86 const long CLOSEABLE
= 128;
89 /** specifies that the window should support the
90 com::sun::star::awt::XSystemDependentWindowPeer
93 <p>This flag may be ignored, but in this case no system-dependent
96 @see XSystemDependentWindowPeer
97 @see com::sun::star::lang::SystemDependent
100 conflicts with VclWindowPeerAttribute::HSCROLL
102 const long SYSTEMDEPENDENT
= 256;
105 /** specifies that the window should have no decoration.
107 const long NODECORATION
= 512;
116 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */