00001 /* 00002 * $XConsortium: BoxP.h,v 1.18 94/04/17 20:11:56 kaleb Exp $ 00003 */ 00004 00005 00006 /*********************************************************** 00007 00008 Copyright (c) 1987, 1988, 1994 X Consortium 00009 00010 Permission is hereby granted, free of charge, to any person obtaining a copy 00011 of this software and associated documentation files (the "Software"), to deal 00012 in the Software without restriction, including without limitation the rights 00013 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00014 copies of the Software, and to permit persons to whom the Software is 00015 furnished to do so, subject to the following conditions: 00016 00017 The above copyright notice and this permission notice shall be included in 00018 all copies or substantial portions of the Software. 00019 00020 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00021 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00022 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00023 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00024 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00025 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00026 00027 Except as contained in this notice, the name of the X Consortium shall not be 00028 used in advertising or otherwise to promote the sale, use or other dealings 00029 in this Software without prior written authorization from the X Consortium. 00030 00031 00032 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. 00033 00034 All Rights Reserved 00035 00036 Permission to use, copy, modify, and distribute this software and its 00037 documentation for any purpose and without fee is hereby granted, 00038 provided that the above copyright notice appear in all copies and that 00039 both that copyright notice and this permission notice appear in 00040 supporting documentation, and that the name of Digital not be 00041 used in advertising or publicity pertaining to distribution of the 00042 software without specific, written prior permission. 00043 00044 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 00045 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 00046 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 00047 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 00048 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 00049 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 00050 SOFTWARE. 00051 00052 ******************************************************************/ 00053 00054 /* 00055 * BoxP.h - Private definitions for Box widget 00056 * 00057 */ 00058 00059 #ifndef _XawBoxP_h 00060 #define _XawBoxP_h 00061 00062 /*********************************************************************** 00063 * 00064 * Box Widget Private Data 00065 * 00066 ***********************************************************************/ 00067 00068 #include <X11/Xaw3d/Box.h> 00069 #include <X11/Xmu/Converters.h> 00070 00071 /* New fields for the Box widget class record */ 00072 typedef struct {int empty;} BoxClassPart; 00073 00074 /* Full class record declaration */ 00075 typedef struct _BoxClassRec { 00076 CoreClassPart core_class; 00077 CompositeClassPart composite_class; 00078 BoxClassPart box_class; 00079 } BoxClassRec; 00080 00081 extern BoxClassRec boxClassRec; 00082 00083 /* New fields for the Box widget record */ 00084 typedef struct { 00085 /* resources */ 00086 Dimension h_space, v_space; 00087 XtOrientation orientation; 00088 00089 /* private state */ 00090 Dimension preferred_width, preferred_height; 00091 Dimension last_query_width, last_query_height; 00092 XtGeometryMask last_query_mode; 00093 } BoxPart; 00094 00095 00096 /**************************************************************** 00097 * 00098 * Full instance record declaration 00099 * 00100 ****************************************************************/ 00101 00102 typedef struct _BoxRec { 00103 CorePart core; 00104 CompositePart composite; 00105 BoxPart box; 00106 } BoxRec; 00107 00108 #endif /* _XawBoxP_h */
1.5.1