|
||||
File indexing completed on 2025-01-18 10:14:24
0001 /* 0002 * 0003 Copyright 1990, 1998 The Open Group 0004 0005 Permission to use, copy, modify, distribute, and sell this software and its 0006 documentation for any purpose is hereby granted without fee, provided that 0007 the above copyright notice appear in all copies and that both that 0008 copyright notice and this permission notice appear in supporting 0009 documentation. 0010 0011 The above copyright notice and this permission notice shall be included in 0012 all copies or substantial portions of the Software. 0013 0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0020 0021 Except as contained in this notice, the name of The Open Group shall not be 0022 used in advertising or otherwise to promote the sale, use or other dealings 0023 in this Software without prior written authorization from The Open Group. 0024 */ 0025 0026 #ifndef _Xaw_Reports_h 0027 #define _Xaw_Reports_h 0028 0029 #include <X11/Intrinsic.h> 0030 0031 /* 0032 * XawPannerReport - this structure is used by the reportCallback of the 0033 * Panner, Porthole, Viewport, and Scrollbar widgets to report its position. 0034 * All fields must be filled in, although the changed field may be used as 0035 * a hint as to which fields have been altered since the last report. 0036 */ 0037 typedef struct { 0038 unsigned int changed; /* mask, see below */ 0039 Position slider_x, slider_y; /* location of slider within outer */ 0040 Dimension slider_width, slider_height; /* size of slider */ 0041 Dimension canvas_width, canvas_height; /* size of canvas */ 0042 } XawPannerReport; 0043 0044 #define XawPRSliderX (1 << 0) 0045 #define XawPRSliderY (1 << 1) 0046 #define XawPRSliderWidth (1 << 2) 0047 #define XawPRSliderHeight (1 << 3) 0048 #define XawPRCanvasWidth (1 << 4) 0049 #define XawPRCanvasHeight (1 << 5) 0050 #define XawPRAll (63) /* union of above */ 0051 0052 #define XtNreportCallback "reportCallback" 0053 #define XtCReportCallback "reportCallback" 0054 0055 #endif /* _Xaw_Reports_h */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |