LibreOffice LibreOffice 5.3 SDK API Reference

XWindowPeer.idl
Go to the documentation of this file.
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_XWindowPeer_idl__
20 #define __com_sun_star_awt_XWindowPeer_idl__
21
22 #include <com/sun/star/lang/XComponent.idl>
23
24 #include <com/sun/star/util/Color.idl>
25 #include <com/sun/star/awt/Rectangle.idl>
26
27
28 module com { module sun { module star { module awt {
29
30 published interface XToolkit;
31 published interface XPointer;
32
33
36 published interface XWindowPeer: com::sun::star::lang::XComponent
37 {
38
41 XToolkit getToolkit();
42
43
46 void setPointer( [in] XPointer Pointer );
47
48
51 void setBackground( [in] com::sun::star::util::Color Color );
52
53
59 void invalidate( [in] short Flags );
60
61
68 void invalidateRect( [in] Rectangle Rect, [in] short Flags );
69
70 };
71
72
73 }; }; }; };
74
75 #endif
76
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition: Rectangle.idl:29
com::sun::star::awt::XToolkit
specifies a factory interface for the window toolkit.
Definition: XToolkit.idl:45
com::sun::star::rendering::Color
sequence< ColorComponent > Color
Shorthand for the device-dependent color components, and easier to read.
Definition: Color.idl:28
com::sun::star::lang::XComponent
allows to exclicitly free resources and break cyclic references.
Definition: XComponent.idl:42
com
Definition: Ambiguous.idl:22
com::sun::star::awt::XPointer
gives access to the type of mouse pointer.
Definition: XPointer.idl:31
com::sun::star::awt::XWindowPeer
gives access to the actual window implementation on the device.
Definition: XWindowPeer.idl:36
XComponent.idl
Rectangle.idl
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Color.idl
com::sun::star::awt::Pointer
Definition: Pointer.idl:31