3 Copyright 1988, 1998 The Open Group
5 Permission to use, copy, modify, distribute, and sell this software and its
6 documentation for any purpose is hereby granted without fee, provided that
7 the above copyright notice appear in all copies and that both that
8 copyright notice and this permission notice appear in supporting
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 Except as contained in this notice, the name of The Open Group shall not be
22 used in advertising or otherwise to promote the sale, use or other dealings
23 in this Software without prior written authorization from The Open Group.
28 * The interfaces described by this header file are for miscellaneous utilities
29 * and are not part of the Xlib standard.
32 #ifndef _XMU_STRCONVERT_H_
33 #define _XMU_STRCONVERT_H_
35 #include <X11/Intrinsic.h>
36 #include <X11/Xfuncproto.h>
40 void XmuCvtFunctionToCallback
48 #define XtNbackingStore "backingStore"
49 #define XtCBackingStore "BackingStore"
50 #define XtRBackingStore "BackingStore"
51 #define XtEnotUseful "notUseful"
52 #define XtEwhenMapped "whenMapped"
53 #define XtEalways "always"
54 #define XtEdefault "default"
55 void XmuCvtStringToBackingStore
63 Boolean XmuCvtBackingStoreToString
70 XtPointer *converter_data
73 void XmuCvtStringToCursor
81 #define XtRColorCursor "ColorCursor"
82 #define XtNpointerColor "pointerColor"
83 #define XtNpointerColorBackground "pointerColorBackground"
84 Boolean XmuCvtStringToColorCursor
91 XtPointer *converter_data
94 typedef int XtGravity;
97 #define XtRGravity "Gravity"
99 #define XtEForget "forget"
100 #define XtENorthWest "northwest"
101 #define XtENorth "north"
102 #define XtENorthEast "northeast"
103 #define XtEWest "west"
104 #define XtECenter "center"
105 #define XtEEast "east"
106 #define XtESouthWest "southwest"
107 #define XtESouth "south"
108 #define XtESouthEast "southeast"
109 #define XtEStatic "static"
110 #define XtEUnmap "unmap"
111 void XmuCvtStringToGravity
119 Boolean XmuCvtGravityToString
126 XtPointer *converter_data
130 XtJustifyLeft, /* justify text to left side of button */
131 XtJustifyCenter, /* justify text in center of button */
132 XtJustifyRight /* justify text to right side of button */
135 #define XtRJustify "Justify"
137 #define XtEleft "left"
138 #define XtEcenter "center"
139 #define XtEright "right"
141 #define XtEbottom "bottom"
142 void XmuCvtStringToJustify
150 Boolean XmuCvtJustifyToString
157 XtPointer *converter_data
160 #define XtRLong "Long"
161 void XmuCvtStringToLong
168 Boolean XmuCvtLongToString
175 XtPointer *converter_data
182 void XmuCvtStringToOrientation
190 Boolean XmuCvtOrientationToString
197 XtPointer *converter_data
200 void XmuCvtStringToBitmap
208 #define XtRShapeStyle "ShapeStyle"
209 #define XtERectangle "Rectangle"
210 #define XtEOval "Oval"
211 #define XtEEllipse "Ellipse"
212 #define XtERoundedRectangle "RoundedRectangle"
214 #define XmuShapeRectangle 1
215 #define XmuShapeOval 2
216 #define XmuShapeEllipse 3
217 #define XmuShapeRoundedRectangle 4
219 Boolean XmuCvtStringToShapeStyle
226 XtPointer *converter_data
229 Boolean XmuCvtShapeStyleToString
236 XtPointer *converter_data
239 Boolean XmuReshapeWidget
247 void XmuCvtStringToWidget
255 Boolean XmuNewCvtStringToWidget
262 XtPointer *converter_data
265 Boolean XmuCvtWidgetToString
272 XtPointer *converter_data
277 #endif /* _XMU_STRCONVERT_H_ */