1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2/* 3 * This file is part of the LibreOffice project. 4 * 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/. 8 * 9 * This file incorporates work covered by the following license notice: 10 * 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 . 18 */ 19#ifndef __com_sun_star_awt_WindowAttribute_idl__ 20#define __com_sun_star_awt_WindowAttribute_idl__ 21 22 23 24 module com { module sun { module star { module awt { 25 26 27/** These values are used to specify the decorations of a window. 28 29 <p><b>IMPORTANT:</b> These constants have to be disjunct with 30 constants in VclWindowPeerAttribute.</p> 31 */ 32published constants WindowAttribute 33{ 34 35 /** specifies that the window is initially visible. 36 */ 37 const long SHOW = 1; 38 39 40 /** specifies that the window fills the complete desktop area. 41 42 <p>This applies only to top windows.</p> 43 */ 44 const long FULLSIZE = 2; 45 46 47 /** specifies that the window is optimum size. 48 49 <p>This applies only to top windows.</p> 50 */ 51 const long OPTIMUMSIZE = 4; 52 53 54 /** specifies that the window is minimum size. 55 56 <p>This applies only to top windows.</p> 57 */ 58 const long MINSIZE = 8; 59 60 61 /** specifies that the window has visible borders. 62 63 <p>This applies only to top windows.</p> 64 */ 65 const long BORDER = 16; 66 67 68 /** specifies that the size of the window can be changed by the user. 69 70 <p>This applies only to top windows.</p> 71 */ 72 const long SIZEABLE = 32; 73 74 75 /** specifies that the window can be moved by the user. 76 77 <p>This applies only to top windows.</p> 78 */ 79 const long MOVEABLE = 64; 80 81 82 /** specifies that the window can be closed by the user. 83 84 <p>This applies only to top windows.</p> 85 */ 86 const long CLOSEABLE = 128; 87 88 89 /** specifies that the window should support the 90 com::sun::star::awt::XSystemDependentWindowPeer 91 interface. 92 93 <p>This flag may be ignored, but in this case no system-dependent 94 extension works.</p> 95 96 @see XSystemDependentWindowPeer 97 @see com::sun::star::lang::SystemDependent 98 99 @deprecated 100 conflicts with VclWindowPeerAttribute::HSCROLL 101 */ 102 const long SYSTEMDEPENDENT = 256; 103 104 105 /** specifies that the window should have no decoration. 106 */ 107 const long NODECORATION = 512; 108 109}; 110 111 112}; }; }; }; 113 114#endif 115 116/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 117