rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1DialogP.h
blob1b2f8fd98b5e539fdca2528659e155f3f55a01cb
1 /* $XConsortium: DialogP.h,v 1.12 89/08/25 18:35:37 kit Exp $ */
4 /***********************************************************
5 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
6 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
8 All Rights Reserved
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted,
12 provided that the above copyright notice appear in all copies and that
13 both that copyright notice and this permission notice appear in
14 supporting documentation, and that the names of Digital or MIT not be
15 used in advertising or publicity pertaining to distribution of the
16 software without specific, written prior permission.
18 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
19 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
20 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
21 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
23 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
24 SOFTWARE.
26 ******************************************************************/
28 /* Private definitions for Dialog widget */
30 #ifndef _DialogP_h
31 #define _DialogP_h
33 #include <./Xaw3_1Dialog.h>
34 #include <./Xaw3_1FormP.h>
36 typedef struct {int empty;} DialogClassPart;
38 typedef struct _DialogClassRec {
39 CoreClassPart core_class;
40 CompositeClassPart composite_class;
41 ConstraintClassPart constraint_class;
42 FormClassPart form_class;
43 DialogClassPart dialog_class;
44 } DialogClassRec;
46 extern DialogClassRec dialogClassRec;
48 typedef struct _DialogPart {
49 /* resources */
50 String label; /* description of the dialog */
51 String value; /* for the user response */
52 Pixmap icon; /* icon bitmap */
53 /* private data */
54 Widget iconW; /* widget to display the icon */
55 Widget labelW; /* widget to display description*/
56 Widget valueW; /* user response TextWidget */
57 } DialogPart;
59 typedef struct _DialogRec {
60 CorePart core;
61 CompositePart composite;
62 ConstraintPart constraint;
63 FormPart form;
64 DialogPart dialog;
65 } DialogRec;
67 typedef struct {int empty;} DialogConstraintsPart;
69 typedef struct _DialogConstraintsRec {
70 FormConstraintsPart form;
71 DialogConstraintsPart dialog;
72 } DialogConstraintsRec, *DialogConstraints;
74 #endif /* _DialogP_h */