gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / libXaw5 / src / Reports.h
blob0b193c9db0dcee62da6ac85a79fb27a83302b810
1 /*
2 * $XConsortium: Reports.h,v 1.4 94/04/17 20:12:39 jim Exp $
4 Copyright (c) 1990 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
28 #ifndef _Xaw_Reports_h
29 #define _Xaw_Reports_h
32 * XawPannerReport - this structure is used by the reportCallback of the
33 * Panner, Porthole, Viewport, and Scrollbar widgets to report its position.
34 * All fields must be filled in, although the changed field may be used as
35 * a hint as to which fields have been altered since the last report.
37 typedef struct {
38 unsigned int changed; /* mask, see below */
39 Position slider_x, slider_y; /* location of slider within outer */
40 Dimension slider_width, slider_height; /* size of slider */
41 Dimension canvas_width, canvas_height; /* size of canvas */
42 } XawPannerReport;
44 #define XawPRSliderX (1 << 0)
45 #define XawPRSliderY (1 << 1)
46 #define XawPRSliderWidth (1 << 2)
47 #define XawPRSliderHeight (1 << 3)
48 #define XawPRCanvasWidth (1 << 4)
49 #define XawPRCanvasHeight (1 << 5)
50 #define XawPRAll (63) /* union of above */
52 #define XtNreportCallback "reportCallback"
53 #define XtCReportCallback "reportCallback"
55 #endif /* _Xaw_Reports_h */