~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to lib/Xm/GeoUtilsI.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * @OPENGROUP_COPYRIGHT@
 
3
 * COPYRIGHT NOTICE
 
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.
 
8
 * 
 
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.
 
14
 * 
 
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
 
18
 * this agreement.
 
19
 * 
 
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
 
25
 * 
 
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.
 
35
 * 
 
36
 */
 
37
/*
 
38
 * HISTORY
 
39
 */
 
40
/* $XConsortium: GeoUtilsI.h /main/5 1995/07/13 17:28:18 drk $ */
 
41
#ifndef _XmGeoUtilsI_h
 
42
#define _XmGeoUtilsI_h
 
43
 
 
44
#include <Xm/XmP.h>
 
45
 
 
46
#ifdef __cplusplus
 
47
extern "C" {
 
48
#endif
 
49
 
 
50
/********    Private Function Declarations for GeoUtils.c    ********/
 
51
 
 
52
extern XtGeometryResult _XmHandleQueryGeometry( 
 
53
                        Widget wid,
 
54
                        XtWidgetGeometry *intended,
 
55
                        XtWidgetGeometry *desired,
 
56
#if NeedWidePrototypes
 
57
                        unsigned int policy,
 
58
#else
 
59
                        unsigned char policy,
 
60
#endif /* NeedWidePrototypes */
 
61
                        XmGeoCreateProc createMatrix) ;
 
62
extern XtGeometryResult _XmHandleGeometryManager( 
 
63
                        Widget wid,
 
64
                        Widget instigator,
 
65
                        XtWidgetGeometry *desired,
 
66
                        XtWidgetGeometry *allowed,
 
67
#if NeedWidePrototypes
 
68
                        unsigned int policy,
 
69
#else
 
70
                        unsigned char policy,
 
71
#endif /* NeedWidePrototypes */
 
72
                        XmGeoMatrix *cachePtr,
 
73
                        XmGeoCreateProc createMatrix) ;
 
74
extern void _XmHandleSizeUpdate( 
 
75
                        Widget wid,
 
76
#if NeedWidePrototypes
 
77
                        unsigned int policy,
 
78
#else
 
79
                        unsigned char policy,
 
80
#endif /* NeedWidePrototypes */
 
81
                        XmGeoCreateProc createMatrix) ;
 
82
extern XmGeoMatrix _XmGeoMatrixAlloc( 
 
83
                        unsigned int numRows,
 
84
                        unsigned int numBoxes,
 
85
                        unsigned int extSize) ;
 
86
extern void _XmGeoMatrixFree( 
 
87
                        XmGeoMatrix geo_spec) ;
 
88
extern Boolean _XmGeoSetupKid( 
 
89
                        XmKidGeometry geo,
 
90
                        Widget kidWid) ;
 
91
extern void _XmGeoMatrixGet( 
 
92
                        XmGeoMatrix geoSpec,
 
93
                        int geoType) ;
 
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( 
 
101
                        XmGeoMatrix geoSpec,
 
102
#if NeedWidePrototypes
 
103
                        int x,
 
104
                        int y,
 
105
#else
 
106
                        Position x,
 
107
                        Position y,
 
108
#endif /* NeedWidePrototypes */
 
109
                        Dimension *pW,
 
110
                        Dimension *pH) ;
 
111
extern Dimension _XmGeoBoxesSameWidth( 
 
112
                        XmKidGeometry rowPtr,
 
113
#if NeedWidePrototypes
 
114
                        int width) ;
 
115
#else
 
116
                        Dimension width) ;
 
117
#endif /* NeedWidePrototypes */
 
118
extern Dimension _XmGeoBoxesSameHeight( 
 
119
                        XmKidGeometry rowPtr,
 
120
#if NeedWidePrototypes
 
121
                        int height) ;
 
122
#else
 
123
                        Dimension height) ;
 
124
#endif /* NeedWidePrototypes */
 
125
extern void _XmSeparatorFix( 
 
126
                        XmGeoMatrix geoSpec,
 
127
                        int action,
 
128
                        XmGeoMajorLayout layoutPtr,
 
129
                        XmKidGeometry rowPtr) ;
 
130
extern void _XmMenuBarFix( 
 
131
                        XmGeoMatrix geoSpec,
 
132
                        int action,
 
133
                        XmGeoMajorLayout layoutPtr,
 
134
                        XmKidGeometry rowPtr) ;
 
135
extern void _XmGeoLoadValues( 
 
136
                        Widget wid,
 
137
                        int geoType,
 
138
                        Widget instigator,
 
139
                        XtWidgetGeometry *request,
 
140
                        XtWidgetGeometry *geoResult) ;
 
141
extern int _XmGeoCount_kids( 
 
142
                        register CompositeWidget c) ;
 
143
extern XmKidGeometry _XmGetKidGeo( 
 
144
                        Widget wid,
 
145
                        Widget instigator,
 
146
                        XtWidgetGeometry *request,
 
147
                        int uniform_border,
 
148
#if NeedWidePrototypes
 
149
                        int border,
 
150
#else
 
151
                        Dimension border,
 
152
#endif /* NeedWidePrototypes */
 
153
                        int uniform_width_margins,
 
154
                        int uniform_height_margins,
 
155
                        Widget help,
 
156
                        int geo_type) ;
 
157
extern void _XmGeoClearRectObjAreas( 
 
158
                        RectObj r,
 
159
                        XWindowChanges *old) ;
 
160
extern void _XmSetKidGeo( 
 
161
                        XmKidGeometry kg,
 
162
                        Widget instigator) ;
 
163
extern Boolean _XmGeometryEqual( 
 
164
                        Widget wid,
 
165
                        XtWidgetGeometry *geoA,
 
166
                        XtWidgetGeometry *geoB) ;
 
167
extern Boolean _XmGeoReplyYes( 
 
168
                        Widget wid,
 
169
                        XtWidgetGeometry *desired,
 
170
                        XtWidgetGeometry *response) ;
 
171
extern XtGeometryResult _XmMakeGeometryRequest( 
 
172
                        Widget w,
 
173
                        XtWidgetGeometry *geom) ;
 
174
 
 
175
/********    End Private Function Declarations    ********/
 
176
 
 
177
#ifdef __cplusplus
 
178
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
179
#endif
 
180
 
 
181
#endif /* _XmGeoUtilsI_h */
 
182
/* DON'T ADD ANYTHING AFTER THIS #endif */