2
* @OPENGROUP_COPYRIGHT@
4
* Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
5
* Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
6
* ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
7
* the full copyright text.
9
* This software is subject to an open license. It may only be
10
* used on, with or for operating systems which are themselves open
11
* source systems. You must contact The Open Group for a license
12
* allowing distribution and sublicensing of this software on, with,
13
* or for operating systems which are not Open Source programs.
15
* See http://www.opengroup.org/openmotif/license for full
16
* details of the license agreement. Any use, reproduction, or
17
* distribution of the program constitutes recipient's acceptance of
20
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
21
* PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
22
* KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
23
* WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
24
* OR FITNESS FOR A PARTICULAR PURPOSE
26
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
27
* NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
28
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
* DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
30
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32
* ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
33
* EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
34
* POSSIBILITY OF SUCH DAMAGES.
40
/* $XConsortium: GeoUtilsI.h /main/5 1995/07/13 17:28:18 drk $ */
41
#ifndef _XmGeoUtilsI_h
42
#define _XmGeoUtilsI_h
50
/******** Private Function Declarations for GeoUtils.c ********/
52
extern XtGeometryResult _XmHandleQueryGeometry(
54
XtWidgetGeometry *intended,
55
XtWidgetGeometry *desired,
56
#if NeedWidePrototypes
60
#endif /* NeedWidePrototypes */
61
XmGeoCreateProc createMatrix) ;
62
extern XtGeometryResult _XmHandleGeometryManager(
65
XtWidgetGeometry *desired,
66
XtWidgetGeometry *allowed,
67
#if NeedWidePrototypes
71
#endif /* NeedWidePrototypes */
72
XmGeoMatrix *cachePtr,
73
XmGeoCreateProc createMatrix) ;
74
extern void _XmHandleSizeUpdate(
76
#if NeedWidePrototypes
80
#endif /* NeedWidePrototypes */
81
XmGeoCreateProc createMatrix) ;
82
extern XmGeoMatrix _XmGeoMatrixAlloc(
84
unsigned int numBoxes,
85
unsigned int extSize) ;
86
extern void _XmGeoMatrixFree(
87
XmGeoMatrix geo_spec) ;
88
extern Boolean _XmGeoSetupKid(
91
extern void _XmGeoMatrixGet(
94
extern void _XmGeoMatrixSet(
95
XmGeoMatrix geoSpec) ;
96
extern void _XmGeoAdjustBoxes(
97
XmGeoMatrix geoSpec) ;
98
extern void _XmGeoGetDimensions(
99
XmGeoMatrix geoSpec) ;
100
extern void _XmGeoArrangeBoxes(
102
#if NeedWidePrototypes
108
#endif /* NeedWidePrototypes */
111
extern Dimension _XmGeoBoxesSameWidth(
112
XmKidGeometry rowPtr,
113
#if NeedWidePrototypes
117
#endif /* NeedWidePrototypes */
118
extern Dimension _XmGeoBoxesSameHeight(
119
XmKidGeometry rowPtr,
120
#if NeedWidePrototypes
124
#endif /* NeedWidePrototypes */
125
extern void _XmSeparatorFix(
128
XmGeoMajorLayout layoutPtr,
129
XmKidGeometry rowPtr) ;
130
extern void _XmMenuBarFix(
133
XmGeoMajorLayout layoutPtr,
134
XmKidGeometry rowPtr) ;
135
extern void _XmGeoLoadValues(
139
XtWidgetGeometry *request,
140
XtWidgetGeometry *geoResult) ;
141
extern int _XmGeoCount_kids(
142
register CompositeWidget c) ;
143
extern XmKidGeometry _XmGetKidGeo(
146
XtWidgetGeometry *request,
148
#if NeedWidePrototypes
152
#endif /* NeedWidePrototypes */
153
int uniform_width_margins,
154
int uniform_height_margins,
157
extern void _XmGeoClearRectObjAreas(
159
XWindowChanges *old) ;
160
extern void _XmSetKidGeo(
163
extern Boolean _XmGeometryEqual(
165
XtWidgetGeometry *geoA,
166
XtWidgetGeometry *geoB) ;
167
extern Boolean _XmGeoReplyYes(
169
XtWidgetGeometry *desired,
170
XtWidgetGeometry *response) ;
171
extern XtGeometryResult _XmMakeGeometryRequest(
173
XtWidgetGeometry *geom) ;
175
/******** End Private Function Declarations ********/
178
} /* Close scope of 'extern "C"' declaration which encloses file. */
181
#endif /* _XmGeoUtilsI_h */
182
/* DON'T ADD ANYTHING AFTER THIS #endif */