rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1BoxP.h
blob843443aee80b2255e8a79b0255ffd4c5d640f8f6
1 /*
2 * $XConsortium: BoxP.h,v 1.16 89/11/06 10:51:28 swick Exp $
3 */
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
10 All Rights Reserved
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the names of Digital or MIT not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26 SOFTWARE.
28 ******************************************************************/
30 /*
31 * BoxP.h - Private definitions for Box widget
35 #ifndef _XawBoxP_h
36 #define _XawBoxP_h
38 /***********************************************************************
40 * Box Widget Private Data
42 ***********************************************************************/
44 #include <./Xaw3_1Box.h>
45 #include <X11/CompositeP.h>
46 #include <X11/Xmu/Converters.h>
48 /* New fields for the Box widget class record */
49 typedef struct {int empty;} BoxClassPart;
51 /* Full class record declaration */
52 typedef struct _BoxClassRec {
53 CoreClassPart core_class;
54 CompositeClassPart composite_class;
55 BoxClassPart box_class;
56 } BoxClassRec;
58 extern BoxClassRec boxClassRec;
60 /* New fields for the Box widget record */
61 typedef struct {
62 /* resources */
63 Dimension h_space, v_space;
64 XtOrientation orientation;
66 /* private state */
67 Dimension preferred_width, preferred_height;
68 Dimension last_query_width, last_query_height;
69 XtGeometryMask last_query_mode;
70 } BoxPart;
73 /****************************************************************
75 * Full instance record declaration
77 ****************************************************************/
79 typedef struct _BoxRec {
80 CorePart core;
81 CompositePart composite;
82 BoxPart box;
83 } BoxRec;
85 #endif /* _XawBoxP_h */