swi-prolog: update to 9.2.9
[oi-userland.git] / components / x11 / libXaw5 / src / X11 / DialogP.h
blob04820881952e71de3b0ed1fbf301781ee7e15ee8
1 /* $XConsortium: DialogP.h,v 1.13 94/04/17 20:12:05 kit Exp $ */
4 /***********************************************************
6 Copyright (c) 1987, 1988 X Consortium
8 Permission is hereby granted, free of charge, to any person obtaining a copy
9 of this software and associated documentation files (the "Software"), to deal
10 in the Software without restriction, including without limitation the rights
11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 copies of the Software, and to permit persons to whom the Software is
13 furnished to do so, subject to the following conditions:
15 The above copyright notice and this permission notice shall be included in
16 all copies or substantial portions of the Software.
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 Except as contained in this notice, the name of the X Consortium shall not be
26 used in advertising or otherwise to promote the sale, use or other dealings
27 in this Software without prior written authorization from the X Consortium.
30 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
32 All Rights Reserved
34 Permission to use, copy, modify, and distribute this software and its
35 documentation for any purpose and without fee is hereby granted,
36 provided that the above copyright notice appear in all copies and that
37 both that copyright notice and this permission notice appear in
38 supporting documentation, and that the name of Digital not be
39 used in advertising or publicity pertaining to distribution of the
40 software without specific, written prior permission.
42 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
43 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
44 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
46 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
47 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
48 SOFTWARE.
50 ******************************************************************/
52 /* Private definitions for Dialog widget */
54 #ifndef _DialogP_h
55 #define _DialogP_h
57 #include <X11/Xaw/Dialog.h>
58 #include <X11/Xaw/FormP.h>
60 typedef struct {int empty;} DialogClassPart;
62 typedef struct _DialogClassRec {
63 CoreClassPart core_class;
64 CompositeClassPart composite_class;
65 ConstraintClassPart constraint_class;
66 FormClassPart form_class;
67 DialogClassPart dialog_class;
68 } DialogClassRec;
70 extern DialogClassRec dialogClassRec;
72 typedef struct _DialogPart {
73 /* resources */
74 String label; /* description of the dialog */
75 String value; /* for the user response */
76 Pixmap icon; /* icon bitmap */
77 /* private data */
78 Widget iconW; /* widget to display the icon */
79 Widget labelW; /* widget to display description*/
80 Widget valueW; /* user response TextWidget */
81 } DialogPart;
83 typedef struct _DialogRec {
84 CorePart core;
85 CompositePart composite;
86 ConstraintPart constraint;
87 FormPart form;
88 DialogPart dialog;
89 } DialogRec;
91 typedef struct {int empty;} DialogConstraintsPart;
93 typedef struct _DialogConstraintsRec {
94 FormConstraintsPart form;
95 DialogConstraintsPart dialog;
96 } DialogConstraintsRec, *DialogConstraints;
98 #endif /* _DialogP_h */