Add fork support
[MacVim.git] / src / gui_gtk_vms.h
blob4109e2d1fcac9e21f5e996c987a3631b0fb5f54a
1 /* vi:set ts=8 sts=4 sw=4:
3 * VIM - Vi IMproved by Bram Moolenaar
5 * Do ":help uganda" in Vim to read copying and usage conditions.
6 * Do ":help credits" in Vim to see a list of people who contributed.
8 * File MOTIF_REDEFINES.H originally delivers together with
9 * OpenVMS Porting Library
10 * http://www.openvms.compaq.com/openvms/products/ips/porting.html
12 * This file has been modified for Vim development.
13 * Original file contains just defines that GTK for OpenVMS uses,
14 * but not all functions that DECW library has. Therefore it has been expanded
15 * with necessary defines for Vim on OpenVMS with GTK GUI.
17 * Zoltan Arpadffy <arpadffy@polarhome.com>
21 *************************************************************************
22 * *
23 * Copyright 2000 Compaq Computer Corporation *
24 * *
25 * COMPAQ Registered in U.S. Patent and Trademark Office. *
26 * *
27 *************************************************************************
28 * IMPORTANT: Carefully read the License Terms below before *
29 * proceeding. By use of these materials you agree to these terms. *
30 * If you do not agree to these terms, you may not use this software or *
31 * the accompanying documentation. *
32 *************************************************************************
33 * LICENSE TERMS *
34 * 1. GRANT *
35 * Compaq Computer Corporation ("COMPAQ") grants you the right to use, *
36 * modify, and distribute the following source code (the "Software") *
37 * on any number of computers. You may use the Software as part of *
38 * creating a software program or product intended for commercial or *
39 * non-commercial distribution in machine-readable source code, binary, *
40 * or executable formats. You may distribute the Software as *
41 * machine-readable source code provided this license is not removed *
42 * from the Software and any modifications are conspicuously indicated. *
43 * 2. COPYRIGHT *
44 * The Software is owned by COMPAQ and its suppliers and is protected by *
45 * copyright laws and international treaties. Your use of the Software *
46 * and associated documentation is subject to the applicable copyright *
47 * laws and the express rights and restrictions of these terms. *
48 * 3. RESTRICTIONS *
49 * You may not remove any copyright, trademark, or other proprietary *
50 * notices from the Software or the associated documentation. *
51 * You are responsible for compliance with all applicable export or *
52 * re-export control laws and regulations if you export the Software. *
53 * This license is governed by and is to be construed under the laws *
54 * of the State of Texas. *
55 * *
56 * DISCLAIMER OF WARRANTY AND LIABILITY *
57 * Compaq shall not be liable for technical or editorial errors or *
58 * omissions contained herein. The information contained herein is *
59 * subject to change without notice. *
60 * *
61 * THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. *
62 * THE ENTIRE RISK ARISING OUT OF THE USE OF THIS SOFTWARE REMAINS WITH *
63 * RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR ANY DIRECT, *
64 * CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES *
65 * WHATSOEVER (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS *
66 * PROFITS, BUSINESS INTERRUPTION, OR LOSS OF BUSINESS INFORMATION), *
67 * EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES *
68 * AND WHETHER IN AN ACTION OF CONTRACT OR TORT INCLUDING NEGLIGENCE. *
69 * *
70 * If you have any questions concerning this license, please contact: *
71 * Compaq Computer Corporation, Software Business Practices, ZKO1-2/D22, *
72 * 110 Spit Brook Road, Nashua, NH. 03062-2698. *
73 * *
74 *************************************************************************
77 /* INTRINSIC.H omits proto if XtFree is defined */
78 /* VMS_BEGIN_C_PLUS_PLUS */
79 extern void XtFree(char*);
80 extern void XTFREE(char*);
81 /* VMS_END_C_PLUS_PLUS */
83 #define _XRegisterFilterByType _XREGISTERFILTERBYTYPE
85 #define XAllocClassHint XALLOCCLASSHINT
86 #define XAllocColor XALLOCCOLOR
87 #define XAllocColorCells XALLOCCOLORCELLS
88 #define XAllocSizeHints XALLOCSIZEHINTS
89 #define XAllocWMHints XALLOCWMHINTS
90 #define XAutoRepeatOff XAUTOREPEATOFF
91 #define XAutoRepeatOn XAUTOREPEATON
92 #define XBaseFontNameListOfFontSet XBASEFONTNAMELISTOFFONTSET
93 #define XBell XBELL
94 #define XBitmapPad XBITMAPPAD
95 #define XChangeActivePointerGrab XCHANGEACTIVEPOINTERGRAB
96 #define XChangeGC XCHANGEGC
97 #define XChangeProperty XCHANGEPROPERTY
98 #define XChangeWindowAttributes XCHANGEWINDOWATTRIBUTES
99 #define XCheckIfEvent XCHECKIFEVENT
100 #define XCheckMaskEvent XCHECKMASKEVENT
101 #define XCheckTypedEvent XCHECKTYPEDEVENT
102 #define XCheckTypedWindowEvent XCHECKTYPEDWINDOWEVENT
103 #define XCheckWindowEvent XCHECKWINDOWEVENT
104 #define XClearArea XCLEARAREA
105 #define XClearWindow XCLEARWINDOW
106 #define XClipBox XCLIPBOX
107 #define XCloseDisplay XCLOSEDISPLAY
108 #define XCloseIM XCLOSEIM
109 #define XConfigureWindow XCONFIGUREWINDOW
110 #define XConvertSelection XCONVERTSELECTION
111 #define XCopyArea XCOPYAREA
112 #define XCopyGC XCOPYGC
113 #define XCopyPlane XCOPYPLANE
114 #define XCreateBitmapFromData XCREATEBITMAPFROMDATA
115 #define XCreateColormap XCREATECOLORMAP
116 #define XCreateFontCursor XCREATEFONTCURSOR
117 #define XCreateFontSet XCREATEFONTSET
118 #define XCreateGC XCREATEGC
119 #define XCreateIC XCREATEIC
120 #define XCreateImage XCREATEIMAGE
121 #define XCreatePixmap XCREATEPIXMAP
122 #define XCreatePixmapCursor XCREATEPIXMAPCURSOR
123 #define XCreatePixmapFromBitmapData XCREATEPIXMAPFROMBITMAPDATA
124 #define XCreateRegion XCREATEREGION
125 #define XCreateSimpleWindow XCREATESIMPLEWINDOW
126 #define XCreateWindow XCREATEWINDOW
127 #define XDefaultRootWindow XDEFAULTROOTWINDOW
128 #define XDefaultScreenOfDisplay XDEFAULTSCREENOFDISPLAY
129 #define XDefineCursor XDEFINECURSOR
130 #define XDeleteProperty XDELETEPROPERTY
131 #define XDestroyIC XDESTROYIC
132 #define XDestroyRegion XDESTROYREGION
133 #define XDestroyWindow XDESTROYWINDOW
134 #define XDisplayName XDISPLAYNAME
135 #define XDisplayOfScreen XDISPLAYOFSCREEN
136 #define XDisplayString XDISPLAYSTRING
137 #define XDrawArc XDRAWARC
138 #define XDrawImageString XDRAWIMAGESTRING
139 #define XDrawImageString16 XDRAWIMAGESTRING16
140 #define XDrawLine XDRAWLINE
141 #define XDrawLines XDRAWLINES
142 #define XDrawPoint XDRAWPOINT
143 #define XDrawPoints XDRAWPOINTS
144 #define XDrawRectangle XDRAWRECTANGLE
145 #define XDrawSegments XDRAWSEGMENTS
146 #define XDrawString XDRAWSTRING
147 #define XDrawString16 XDRAWSTRING16
148 #define XEmptyRegion XEMPTYREGION
149 #define XEqualRegion XEQUALREGION
150 #define XEventsQueued XEVENTSQUEUED
151 #define XExtentsOfFontSet XEXTENTSOFFONTSET
152 #define XFetchBuffer XFETCHBUFFER
153 #define XFillArc XFILLARC
154 #define XFillPolygon XFILLPOLYGON
155 #define XFillRectangle XFILLRECTANGLE
156 #define XFillRectangles XFILLRECTANGLES
157 #define XFilterEvent XFILTEREVENT
158 #define XFlush XFLUSH
159 #define XFontsOfFontSet XFONTSOFFONTSET
160 #define XFree XFREE
161 #define XFreeColormap XFREECOLORMAP
162 #define XFreeColors XFREECOLORS
163 #define XFreeCursor XFREECURSOR
164 #define XFreeFont XFREEFONT
165 #define XFreeFontInfo XFREEFONTINFO
166 #define XFreeFontNames XFREEFONTNAMES
167 #define XFreeFontSet XFREEFONTSET
168 #define XFreeGC XFREEGC
169 #define XFreeModifiermap XFREEMODIFIERMAP
170 #define XFreePixmap XFREEPIXMAP
171 #define XFreeStringList XFREESTRINGLIST
172 #define XGetAtomName XGETATOMNAME
173 #define XGetDefault XGETDEFAULT
174 #define XGetErrorDatabaseText XGETERRORDATABASETEXT
175 #define XGetErrorText XGETERRORTEXT
176 #define XGetFontProperty XGETFONTPROPERTY
177 #define XGetGCValues XGETGCVALUES
178 #define XGetGeometry XGETGEOMETRY
179 #define XGetIconSizes XGETICONSIZES
180 #define XGetICValues XGETICVALUES
181 #define XGetIMValues XGETIMVALUES
182 #define XGetImage XGETIMAGE
183 #define XGetKeyboardControl XGETKEYBOARDCONTROL
184 #define XGetModifierMapping XGETMODIFIERMAPPING
185 #define XGetMotionEvents XGETMOTIONEVENTS
186 #define XGetNormalHints XGETNORMALHINTS
187 #define XGetSelectionOwner XGETSELECTIONOWNER
188 #define XGetSubImage XGETSUBIMAGE
189 #define XGetVisualInfo XGETVISUALINFO
190 #define XGetWMColormapWindows XGETWMCOLORMAPWINDOWS
191 #define XGetWMIconName XGETWMICONNAME
192 #define XGetWMProtocols XGETWMPROTOCOLS
193 #define XGetWMHints XGETWMHINTS
194 #define XGetWMName XGETWMNAME
195 #define XGetWMNormalHints XGETWMNORMALHINTS
196 #define XGetWindowAttributes XGETWINDOWATTRIBUTES
197 #define XGetWindowProperty XGETWINDOWPROPERTY
198 #define XGrabKeyboard XGRABKEYBOARD
199 #define XGrabPointer XGRABPOINTER
200 #define XGrabServer XGRABSERVER
201 #define XHeightOfScreen XHEIGHTOFSCREEN
202 #define XIconifyWindow XICONIFYWINDOW
203 #define XIfEvent XIFEVENT
204 #define XInternAtom XINTERNATOM
205 #define XIntersectRegion XINTERSECTREGION
206 #define XKeycodeToKeysym XKEYCODETOKEYSYM
207 #define XKeysymToKeycode XKEYSYMTOKEYCODE
208 #define XKeysymToString XKEYSYMTOSTRING
209 #define XListFonts XLISTFONTS
210 #define XListFontsWithInfo XLISTFONTSWITHINFO
211 #define XListPixmapFormats XLISTPIXMAPFORMATS
212 #define XListProperties XLISTPROPERTIES
213 #define XLoadQueryFont XLOADQUERYFONT
214 #define XLookupString XLOOKUPSTRING
215 #define XLowerWindow XLOWERWINDOW
216 #define XMapRaised XMAPRAISED
217 #define XMapWindow XMAPWINDOW
218 #define XMatchVisualInfo XMATCHVISUALINFO
219 #define XMoveResizeWindow XMOVERESIZEWINDOW
220 #define XMoveWindow XMOVEWINDOW
221 #define XNextEvent XNEXTEVENT
222 #define XOffsetRegion XOFFSETREGION
223 #define XOpenDisplay XOPENDISPLAY
224 #define XOpenIM XOPENIM
225 #define XParseColor XPARSECOLOR
226 #define XParseGeometry XPARSEGEOMETRY
227 #define XPeekEvent XPEEKEVENT
228 #define XPending XPENDING
229 #define XPointInRegion XPOINTINREGION
230 #define XPolygonRegion XPOLYGONREGION
231 #define XPutBackEvent XPUTBACKEVENT
232 #define XPutImage XPUTIMAGE
233 #define XRootWindow XROOTWINDOW
234 #define XQueryColor XQUERYCOLOR
235 #define XQueryColors XQUERYCOLORS
236 #define XQueryExtension XQUERYEXTENSION
237 #define XQueryPointer XQUERYPOINTER
238 #define XQueryTree XQUERYTREE
239 #define XRaiseWindow XRAISEWINDOW
240 #define XReconfigureWMWindow XRECONFIGUREWMWINDOW
241 #define XRectInRegion XRECTINREGION
242 #define XRefreshKeyboardMapping XREFRESHKEYBOARDMAPPING
243 #define XReparentWindow XREPARENTWINDOW
244 #define XResizeWindow XRESIZEWINDOW
245 #define XRestackWindows XRESTACKWINDOWS
246 #define XRootWindowOfScreen XROOTWINDOWOFSCREEN
247 #define XScreenNumberOfScreen XSCREENNUMBEROFSCREEN
248 #define XSelectAsyncEvent XSELECTASYNCEVENT
249 #define XSelectAsyncInput XSELECTASYNCINPUT
250 #define XSelectInput XSELECTINPUT
251 #define XSendEvent XSENDEVENT
252 #define XServerVendor XSERVERVENDOR
253 #define XSetBackground XSETBACKGROUND
254 #define XSetClassHint XSETCLASSHINT
255 #define XSetClipMask XSETCLIPMASK
256 #define XSetClipOrigin XSETCLIPORIGIN
257 #define XSetClipRectangles XSETCLIPRECTANGLES
258 #define XSetCloseDownMode XSETCLOSEDOWNMODE
259 #define XSetCommand XSETCOMMAND
260 #define XSetDashes XSETDASHES
261 #define XSetErrorHandler XSETERRORHANDLER
262 #define XSetFillStyle XSETFILLSTYLE
263 #define XSetFont XSETFONT
264 #define XSetForeground XSETFOREGROUND
265 #define XSetFunction XSETFUNCTION
266 #define XSetGraphicsExposures XSETGRAPHICSEXPOSURES
267 #define XSetICFocus XSETICFOCUS
268 #define XSetICValues XSETICVALUES
269 #define XSetIOErrorHandler XSETIOERRORHANDLER
270 #define XSetInputFocus XSETINPUTFOCUS
271 #define XSetLineAttributes XSETLINEATTRIBUTES
272 #define XSetLocaleModifiers XSETLOCALEMODIFIERS
273 #define XSetNormalHints XSETNORMALHINTS
274 #define XSetRegion XSETREGION
275 #define XSetSelectionOwner XSETSELECTIONOWNER
276 #define XSetStipple XSETSTIPPLE
277 #define XSetSubwindowMode XSETSUBWINDOWMODE
278 #define XSetTSOrigin XSETTSORIGIN
279 #define XSetTile XSETTILE
280 #define XSetTransientForHint XSETTRANSIENTFORHINT
281 #define XSetWMColormapWindows XSETWMCOLORMAPWINDOWS
282 #define XSetWMHints XSETWMHINTS
283 #define XSetWMIconName XSETWMICONNAME
284 #define XSetWMName XSETWMNAME
285 #define XSetWMNormalHints XSETWMNORMALHINTS
286 #define XSetWMProperties XSETWMPROPERTIES
287 #define XSetWMProtocols XSETWMPROTOCOLS
288 #define XSetWindowBackground XSETWINDOWBACKGROUND
289 #define XSetWindowBackgroundPixmap XSETWINDOWBACKGROUNDPIXMAP
290 #define XSetWindowColormap XSETWINDOWCOLORMAP
291 #define XShapeCombineMask XSHAPECOMBINEMASK
292 #define XShapeCombineRectangles XSHAPECOMBINERECTANGLES
293 #define XShapeGetRectangles XSHAPEGETRECTANGLES
294 #define XShrinkRegion XSHRINKREGION
295 #define XStoreBuffer XSTOREBUFFER
296 #define XStoreColor XSTORECOLOR
297 #define XStoreColors XSTORECOLORS
298 #define XStoreName XSTORENAME
299 #define XStringToKeysym XSTRINGTOKEYSYM
300 #define XSubtractRegion XSUBTRACTREGION
301 #define XSupportsLocale XSUPPORTSLOCALE
302 #define XSync XSYNC
303 #define XSynchronize XSYNCHRONIZE
304 #define XTextExtents XTEXTEXTENTS
305 #define XTextExtents16 XTEXTEXTENTS16
306 #define XTextWidth XTEXTWIDTH
307 #define XTextWidth16 XTEXTWIDTH16
308 #define XTranslateCoordinates XTRANSLATECOORDINATES
309 #define XUndefineCursor XUNDEFINECURSOR
310 #define XUngrabKeyboard XUNGRABKEYBOARD
311 #define XUngrabPointer XUNGRABPOINTER
312 #define XUngrabServer XUNGRABSERVER
313 #define XUnionRectWithRegion XUNIONRECTWITHREGION
314 #define XUnionRegion XUNIONREGION
315 #define XUnmapWindow XUNMAPWINDOW
316 #define _XUnregisterFilter _XUNREGISTERFILTER
317 #define XUnsetICFocus XUNSETICFOCUS
318 #define XVaCreateNestedList XVACREATENESTEDLIST
319 #define XVisualIDFromVisual XVISUALIDFROMVISUAL
320 #define XWarpPointer XWARPPOINTER
321 #define XWidthOfScreen XWIDTHOFSCREEN
322 #define XWindowEvent XWINDOWEVENT
323 #define XWithdrawWindow XWITHDRAWWINDOW
324 #define XXorRegion XXORREGION
325 #define XmAddProtocolCallback XMADDPROTOCOLCALLBACK
326 #define XmAddProtocols XMADDPROTOCOLS
327 #define XmChangeColor XMCHANGECOLOR
328 #define XmClipboardCopy XMCLIPBOARDCOPY
329 #define XmClipboardEndCopy XMCLIPBOARDENDCOPY
330 #define XmClipboardInquireLength XMCLIPBOARDINQUIRELENGTH
331 #define XmClipboardLock XMCLIPBOARDLOCK
332 #define XmClipboardRetrieve XMCLIPBOARDRETRIEVE
333 #define XmClipboardStartCopy XMCLIPBOARDSTARTCOPY
334 #define XmClipboardUnlock XMCLIPBOARDUNLOCK
335 #define XmCreateArrowButton XMCREATEARROWBUTTON
336 #define XmCreateArrowButtonGadget XMCREATEARROWBUTTONGADGET
337 #define XmCreateCascadeButton XMCREATECASCADEBUTTON
338 #define XmCreateDialogShell XMCREATEDIALOGSHELL
339 #define XmCreateDragIcon XMCREATEDRAGICON
340 #define XmCreateDrawingArea XMCREATEDRAWINGAREA
341 #define XmCreateDrawnButton XMCREATEDRAWNBUTTON
342 #define XmCreateFileSelectionBox XMCREATEFILESELECTIONBOX
343 #define XmCreateFileSelectionDialog XMCREATEFILESELECTIONDIALOG
344 #define XmCreateForm XMCREATEFORM
345 #define XmCreateFormDialog XMCREATEFORMDIALOG
346 #define XmCreateFrame XMCREATEFRAME
347 #define XmCreateInformationDialog XMCREATEINFORMATIONDIALOG
348 #define XmCreateLabelGadget XMCREATELABELGADGET
349 #define XmCreateMainWindow XMCREATEMAINWINDOW
350 #define XmCreateMenuBar XMCREATEMENUBAR
351 #define XmCreateMessageBox XMCREATEMESSAGEBOX
352 #define XmCreateMessageDialog XMCREATEMESSAGEDIALOG
353 #define XmCreateOptionMenu XMCREATEOPTIONMENU
354 #define XmCreatePanedWindow XMCREATEPANEDWINDOW
355 #define XmCreatePopupMenu XMCREATEPOPUPMENU
356 #define XmCreatePromptDialog XMCREATEPROMPTDIALOG
357 #define XmCreatePulldownMenu XMCREATEPULLDOWNMENU
358 #define XmCreatePushButton XMCREATEPUSHBUTTON
359 #define XmCreatePushButtonGadget XMCREATEPUSHBUTTONGADGET
360 #define XmCreateQuestionDialog XMCREATEQUESTIONDIALOG
361 #define XmCreateRadioBox XMCREATERADIOBOX
362 #define XmCreateRowColumn XMCREATEROWCOLUMN
363 #define XmCreateScale XMCREATESCALE
364 #define XmCreateScrollBar XMCREATESCROLLBAR
365 #define XmCreateScrolledList XMCREATESCROLLEDLIST
366 #define XmCreateScrolledText XMCREATESCROLLEDTEXT
367 #define XmCreateScrolledWindow XMCREATESCROLLEDWINDOW
368 #define XmCreateSelectionDialog XMCREATESELECTIONDIALOG
369 #define XmCreateSeparator XMCREATESEPARATOR
370 #define XmCreateSeparatorGadget XMCREATESEPARATORGADGET
371 #define XmCreateTemplateDialog XMCREATETEMPLATEDIALOG
372 #define XmCreateText XMCREATETEXT
373 #define XmCreateTextField XMCREATETEXTFIELD
374 #define XmCreateToggleButton XMCREATETOGGLEBUTTON
375 #define XmCreateToggleButtonGadget XMCREATETOGGLEBUTTONGADGET
376 #define XmDragStart XMDRAGSTART
377 #define XmDropSiteRegister XMDROPSITEREGISTER
378 #define XmDropSiteUnregister XMDROPSITEUNREGISTER
379 #define XmDropSiteUpdate XMDROPSITEUPDATE
380 #define XmDropTransferStart XMDROPTRANSFERSTART
381 #define XmFileSelectionBoxGetChild XMFILESELECTIONBOXGETCHILD
382 #define XmFileSelectionDoSearch XMFILESELECTIONDOSEARCH
383 #define XmFontListAppendEntry XMFONTLISTAPPENDENTRY
384 #define XmFontListCopy XMFONTLISTCOPY
385 #define XmFontListCreate XMFONTLISTCREATE
386 #define XmFontListEntryCreate XMFONTLISTENTRYCREATE
387 #define XmFontListEntryFree XMFONTLISTENTRYFREE
388 #define XmFontListEntryGetFont XMFONTLISTENTRYGETFONT
389 #define XmFontListEntryGetTag XMFONTLISTENTRYGETTAG
390 #define XmFontListEntryLoad XMFONTLISTENTRYLOAD
391 #define XmFontListFree XMFONTLISTFREE
392 #define XmFontListFreeFontContext XMFONTLISTFREEFONTCONTEXT
393 #define XmFontListGetNextFont XMFONTLISTGETNEXTFONT
394 #define XmFontListInitFontContext XMFONTLISTINITFONTCONTEXT
395 #define XmFontListNextEntry XMFONTLISTNEXTENTRY
396 #define XmGetColors XMGETCOLORS
397 #define XmGetFocusWidget XMGETFOCUSWIDGET
398 #define XmGetMenuCursor XMGETMENUCURSOR
399 #define XmGetPixmapByDepth XMGETPIXMAPBYDEPTH
400 #define XmGetTearOffControl XMGETTEAROFFCONTROL
401 #define XmGetXmDisplay XMGETXMDISPLAY
402 #define XmImMbLookupString XMIMMBLOOKUPSTRING
403 #define XmImRegister XMIMREGISTER
404 #define XmImSetFocusValues XMIMSETFOCUSVALUES
405 #define XmImSetValues XMIMSETVALUES
406 #define XmImUnregister XMIMUNREGISTER
407 #define XmImUnsetFocus XMIMUNSETFOCUS
408 #define XmInternAtom XMINTERNATOM
409 #define XmIsMotifWMRunning XMISMOTIFWMRUNNING
410 #define XmListAddItem XMLISTADDITEM
411 #define XmListAddItemUnselected XMLISTADDITEMUNSELECTED
412 #define XmListAddItemsUnselected XMLISTADDITEMSUNSELECTED
413 #define XmListDeleteAllItems XMLISTDELETEALLITEMS
414 #define XmListDeleteItemsPos XMLISTDELETEITEMSPOS
415 #define XmListDeletePos XMLISTDELETEPOS
416 #define XmListDeselectAllItems XMLISTDESELECTALLITEMS
417 #define XmListDeselectPos XMLISTDESELECTPOS
418 #define XmListGetKbdItemPos XMLISTGETKBDITEMPOS
419 #define XmListGetMatchPos XMLISTGETMATCHPOS
420 #define XmListGetSelectedPos XMLISTGETSELECTEDPOS
421 #define XmListPosSelected XMLISTPOSSELECTED
422 #define XmListSelectItem XMLISTSELECTITEM
423 #define XmListSelectPos XMLISTSELECTPOS
424 #define XmListSetBottomPos XMLISTSETBOTTOMPOS
425 #define XmListSetItem XMLISTSETITEM
426 #define XmListSetKbdItemPos XMLISTSETKBDITEMPOS
427 #define XmListSetPos XMLISTSETPOS
428 #define XmMainWindowSetAreas XMMAINWINDOWSETAREAS
429 #define XmMenuPosition XMMENUPOSITION
430 #define XmMessageBoxGetChild XMMESSAGEBOXGETCHILD
431 #define XmOptionButtonGadget XMOPTIONBUTTONGADGET
432 #define XmOptionLabelGadget XMOPTIONLABELGADGET
433 #define XmProcessTraversal XMPROCESSTRAVERSAL
434 #define XmQmotif XMQMOTIF
435 #define XmRemoveProtocolCallback XMREMOVEPROTOCOLCALLBACK
436 #define XmRepTypeGetId XMREPTYPEGETID
437 #define XmRepTypeGetRecord XMREPTYPEGETRECORD
438 #define XmRepTypeRegister XMREPTYPEREGISTER
439 #define XmRepTypeValidValue XMREPTYPEVALIDVALUE
440 #define XmScrollBarSetValues XMSCROLLBARSETVALUES
441 #define XmScrolledWindowSetAreas XMSCROLLEDWINDOWSETAREAS
442 #define XmSelectionBoxGetChild XMSELECTIONBOXGETCHILD
443 #define XmStringByteCompare XMSTRINGBYTECOMPARE
444 #define XmStringCompare XMSTRINGCOMPARE
445 #define XmStringConcat XMSTRINGCONCAT
446 #define XmStringCopy XMSTRINGCOPY
447 #define XmStringCreate XMSTRINGCREATE
448 #define XmStringCreateLocalized XMSTRINGCREATELOCALIZED
449 #define XmStringCreateLtoR XMSTRINGCREATELTOR
450 #define XmStringCreateSimple XMSTRINGCREATESIMPLE
451 #define XmStringDraw XMSTRINGDRAW
452 #define XmStringDrawUnderline XMSTRINGDRAWUNDERLINE
453 #define XmStringExtent XMSTRINGEXTENT
454 #define XmStringFree XMSTRINGFREE
455 #define XmStringFreeContext XMSTRINGFREECONTEXT
456 #define XmStringGetLtoR XMSTRINGGETLTOR
457 #define XmStringGetNextComponent XMSTRINGGETNEXTCOMPONENT
458 #define XmStringGetNextSegment XMSTRINGGETNEXTSEGMENT
459 #define XmStringInitContext XMSTRINGINITCONTEXT
460 #define XmStringLength XMSTRINGLENGTH
461 #define XmStringLtoRCreate XMSTRINGLTORCREATE
462 #define XmStringNConcat XMSTRINGNCONCAT
463 #define XmStringSegmentCreate XMSTRINGSEGMENTCREATE
464 #define XmStringWidth XMSTRINGWIDTH
465 #define XmTextClearSelection XMTEXTCLEARSELECTION
466 #define XmTextFieldGetEditable XMTEXTFIELDGETEDITABLE
467 #define XmTextFieldGetInsertionPosition XMTEXTFIELDGETINSERTIONPOSITION
468 #define XmTextFieldGetLastPosition XMTEXTFIELDGETLASTPOSITION
469 #define XmTextFieldGetSelection XMTEXTFIELDGETSELECTION
470 #define XmTextFieldGetString XMTEXTFIELDGETSTRING
471 #define XmTextFieldInsert XMTEXTFIELDINSERT
472 #define XmTextFieldRemove XMTEXTFIELDREMOVE
473 #define XmTextFieldSetSelection XMTEXTFIELDSETSELECTION
474 #define XmTextFieldSetString XMTEXTFIELDSETSTRING
475 #define XmTextGetCursorPosition XMTEXTGETCURSORPOSITION
476 #define XmTextGetInsertionPosition XMTEXTGETINSERTIONPOSITION
477 #define XmTextGetLastPosition XMTEXTGETLASTPOSITION
478 #define XmTextGetMaxLength XMTEXTGETMAXLENGTH
479 #define XmTextGetSelection XMTEXTGETSELECTION
480 #define XmTextGetSelectionPosition XMTEXTGETSELECTIONPOSITION
481 #define XmTextGetString XMTEXTGETSTRING
482 #define XmTextInsert XMTEXTINSERT
483 #define XmTextRemove XMTEXTREMOVE
484 #define XmTextReplace XMTEXTREPLACE
485 #define XmTextSetCursorPosition XMTEXTSETCURSORPOSITION
486 #define XmTextSetHighlight XMTEXTSETHIGHLIGHT
487 #define XmTextSetInsertionPosition XMTEXTSETINSERTIONPOSITION
488 #define XmTextSetSelection XMTEXTSETSELECTION
489 #define XmTextSetString XMTEXTSETSTRING
490 #define XmToggleButtonGadgetGetState XMTOGGLEBUTTONGADGETGETSTATE
491 #define XmToggleButtonGadgetSetState XMTOGGLEBUTTONGADGETSETSTATE
492 #define XmToggleButtonGetState XMTOGGLEBUTTONGETSTATE
493 #define XmToggleButtonSetState XMTOGGLEBUTTONSETSTATE
494 #define XmUpdateDisplay XMUPDATEDISPLAY
495 #define XmVaCreateSimpleRadioBox XMVACREATESIMPLERADIOBOX
496 #define XmbDrawString XMBDRAWSTRING
497 #define XmbLookupString XMBLOOKUPSTRING
498 #define XmbResetIC XMBRESETIC
499 #define XmbSetWMProperties XMBSETWMPROPERTIES
500 #define XmbTextEscapement XMBTEXTESCAPEMENT
501 #define XmbTextExtents XMBTEXTEXTENTS
502 #define XmbTextListToTextProperty XMBTEXTLISTTOTEXTPROPERTY
503 #define XmbTextPropertyToTextList XMBTEXTPROPERTYTOTEXTLIST
504 #define XmuClientWindow XMUCLIENTWINDOW
505 #define XmuPrintDefaultErrorMessage XMUPRINTDEFAULTERRORMESSAGE
506 #define XrmGetDatabase XRMGETDATABASE
507 #define XrmGetResource XRMGETRESOURCE
508 #define XrmPutStringResource XRMPUTSTRINGRESOURCE
509 #define XrmQuarkToString XRMQUARKTOSTRING
510 #define XrmStringToQuark XRMSTRINGTOQUARK
511 #define XtAddCallback XTADDCALLBACK
512 #define XtAddCallbacks XTADDCALLBACKS
513 #define XtAddEventHandler XTADDEVENTHANDLER
514 #define XtAddGrab XTADDGRAB
515 #define XtAllocateGC XTALLOCATEGC
516 #define XtAppAddActions XTAPPADDACTIONS
517 #define XtAppAddInput XTAPPADDINPUT
518 #define XtAppAddTimeOut XTAPPADDTIMEOUT
519 #define XtAppCreateShell XTAPPCREATESHELL
520 #define XtAppInitialize XTAPPINITIALIZE
521 #define XtAppNextEvent XTAPPNEXTEVENT
522 #define XtAppPeekEvent XTAPPPEEKEVENT
523 #define XtAppPending XTAPPPENDING
524 #define XtAppProcessEvent XTAPPPROCESSEVENT
525 #define XtAppSetErrorHandler XTAPPSETERRORHANDLER
526 #define XtAppSetFallbackResources XTAPPSETFALLBACKRESOURCES
527 #define XtAppSetWarningHandler XTAPPSETWARNINGHANDLER
528 #define XtAppSetWarningMsgHandler XTAPPSETWARNINGMSGHANDLER
529 #define XtAppWarning XTAPPWARNING
530 #define XtCallActionProc XTCALLACTIONPROC
531 #define XtCallCallbackList XTCALLCALLBACKLIST
532 #define XtCallCallbacks XTCALLCALLBACKS
533 #define XtConfigureWidget XTCONFIGUREWIDGET
534 #define XtConvertAndStore XTCONVERTANDSTORE
535 #define XtCreateApplicationContext XTCREATEAPPLICATIONCONTEXT
536 #define XtCreateManagedWidget XTCREATEMANAGEDWIDGET
537 #define XtCreatePopupShell XTCREATEPOPUPSHELL
538 #define XtCreateWidget XTCREATEWIDGET
539 #define XtDatabase XTDATABASE
540 #define XtDestroyWidget XTDESTROYWIDGET
541 #define XtDisownSelection XTDISOWNSELECTION
542 #define XtDispatchEvent XTDISPATCHEVENT
543 #define XtDisplayOfObject XTDISPLAYOFOBJECT
544 #define XtDisplayStringConvWarning XTDISPLAYSTRINGCONVWARNING
545 #define XtDisplayToApplicationContext XTDISPLAYTOAPPLICATIONCONTEXT
546 #define XtFree XTFREE
547 #define XtGetActionKeysym XTGETACTIONKEYSYM
548 #define XtGetActionList XTGETACTIONLIST
549 #define XtGetApplicationNameAndClass XTGETAPPLICATIONNAMEANDCLASS
550 #define XtGetApplicationResources XTGETAPPLICATIONRESOURCES
551 #define XtGetGC XTGETGC
552 #define XtGetMultiClickTime XTGETMULTICLICKTIME
553 #define XtGetSelectionValue XTGETSELECTIONVALUE
554 #define XtGetSelectionValues XTGETSELECTIONVALUES
555 #define XtGetSubresources XTGETSUBRESOURCES
556 #define XtGetValues XTGETVALUES
557 #define XtGrabKeyboard XTGRABKEYBOARD
558 #define XtGrabPointer XTGRABPOINTER
559 #define XtHasCallbacks XTHASCALLBACKS
560 #define XtInitializeWidgetClass XTINITIALIZEWIDGETCLASS
561 #define XtInsertEventHandler XTINSERTEVENTHANDLER
562 #define XtIsManaged XTISMANAGED
563 #define XtIsObject XTISOBJECT
564 #define XtIsSensitive XTISSENSITIVE
565 #define XtIsSubclass XTISSUBCLASS
566 #define XtLastTimestampProcessed XTLASTTIMESTAMPPROCESSED
567 #define XtMakeGeometryRequest XTMAKEGEOMETRYREQUEST
568 #define XtMakeResizeRequest XTMAKERESIZEREQUEST
569 #define XtMalloc XTMALLOC
570 #define XtManageChild XTMANAGECHILD
571 #define XtManageChildren XTMANAGECHILDREN
572 #define XtMergeArgLists XTMERGEARGLISTS
573 #define XtMoveWidget XTMOVEWIDGET
574 #define XtName XTNAME
575 #define XtNameToWidget XTNAMETOWIDGET
576 #define XtOpenDisplay XTOPENDISPLAY
577 #define XtOverrideTranslations XTOVERRIDETRANSLATIONS
578 #define XtOwnSelection XTOWNSELECTION
579 #define XtParent XTPARENT
580 #define XtParseTranslationTable XTPARSETRANSLATIONTABLE
581 #define XtPopdown XTPOPDOWN
582 #define XtPopup XTPOPUP
583 #define XtQueryGeometry XTQUERYGEOMETRY
584 #define XtRealizeWidget XTREALIZEWIDGET
585 #define XtRealloc XTREALLOC
586 #define XtReleaseGC XTRELEASEGC
587 #define XtRemoveAllCallbacks XTREMOVEALLCALLBACKS
588 #define XtRemoveCallback XTREMOVECALLBACK
589 #define XtRemoveEventHandler XTREMOVEEVENTHANDLER
590 #define XtRemoveGrab XTREMOVEGRAB
591 #define XtRemoveInput XTREMOVEINPUT
592 #define XtRemoveTimeOut XTREMOVETIMEOUT
593 #define XtResizeWidget XTRESIZEWIDGET
594 #define XtResolvePathname XTRESOLVEPATHNAME
595 #define XtSetKeyboardFocus XTSETKEYBOARDFOCUS
596 #define XtSetMappedWhenManaged XTSETMAPPEDWHENMANAGED
597 #define XtSetSensitive XTSETSENSITIVE
598 #define XtSetTypeConverter XTSETTYPECONVERTER
599 #define XtSetValues XTSETVALUES
600 #define XtShellStrings XTSHELLSTRINGS
601 #define XtStrings XTSTRINGS
602 #define XtToolkitInitialize XTTOOLKITINITIALIZE
603 #define XtTranslateCoords XTTRANSLATECOORDS
604 #define XtTranslateKeycode XTTRANSLATEKEYCODE
605 #define XtUngrabKeyboard XTUNGRABKEYBOARD
606 #define XtUngrabPointer XTUNGRABPOINTER
607 #define XtUnmanageChild XTUNMANAGECHILD
608 #define XtUnmanageChildren XTUNMANAGECHILDREN
609 #define XtUnrealizeWidget XTUNREALIZEWIDGET
610 #define XtVaAppCreateShell XTVAAPPCREATESHELL
611 #define XtVaCreateManagedWidget XTVACREATEMANAGEDWIDGET
612 #define XtVaCreatePopupShell XTVACREATEPOPUPSHELL
613 #define XtVaCreateWidget XTVACREATEWIDGET
614 #define XtVaGetValues XTVAGETVALUES
615 #define XtVaSetValues XTVASETVALUES
616 #define XtWarning XTWARNING
617 #define XtWidgetToApplicationContext XTWIDGETTOAPPLICATIONCONTEXT
618 #define XtWindow XTWINDOW
619 #define XtWindowOfObject XTWINDOWOFOBJECT
620 #define XtWindowToWidget XTWINDOWTOWIDGET
621 #define XwcDrawString XWCDRAWSTRING
622 #define XwcFreeStringList XWCFREESTRINGLIST
623 #define XwcTextEscapement XWCTEXTESCAPEMENT
624 #define XwcTextExtents XWCTEXTEXTENTS
625 #define XwcTextListToTextProperty XWCTEXTLISTTOTEXTPROPERTY
626 #define XwcTextPropertyToTextList XWCTEXTPROPERTYTOTEXTLIST
627 #define _XmBottomShadowColorDefault _XMBOTTOMSHADOWCOLORDEFAULT
628 #define _XmClearBorder _XMCLEARBORDER
629 #define _XmConfigureObject _XMCONFIGUREOBJECT
630 #define _XmDestroyParentCallback _XMDESTROYPARENTCALLBACK
631 #define _XmDrawArrow _XMDRAWARROW
632 #define _XmDrawShadows _XMDRAWSHADOWS
633 #define _XmFontListGetDefaultFont _XMFONTLISTGETDEFAULTFONT
634 #define _XmFromHorizontalPixels _XMFROMHORIZONTALPIXELS
635 #define _XmFromVerticalPixels _XMFROMVERTICALPIXELS
636 #define _XmGetClassExtensionPtr _XMGETCLASSEXTENSIONPTR
637 #define _XmGetDefaultFontList _XMGETDEFAULTFONTLIST
638 #define _XmGetTextualDragIcon _XMGETTEXTUALDRAGICON
639 #define _XmGetWidgetExtData _XMGETWIDGETEXTDATA
640 #define _XmGrabKeyboard _XMGRABKEYBOARD
641 #define _XmGrabPointer _XMGRABPOINTER
642 #define _XmInheritClass _XMINHERITCLASS
643 #define _XmInputInGadget _XMINPUTINGADGET
644 #define _XmMakeGeometryRequest _XMMAKEGEOMETRYREQUEST
645 #define _XmMenuPopDown _XMMENUPOPDOWN
646 #define _XmMoveObject _XMMOVEOBJECT
647 #define _XmNavigChangeManaged _XMNAVIGCHANGEMANAGED
648 #define _XmOSBuildFileList _XMOSBUILDFILELIST
649 #define _XmOSFileCompare _XMOSFILECOMPARE
650 #define _XmOSFindPatternPart _XMOSFINDPATTERNPART
651 #define _XmOSQualifyFileSpec _XMOSQUALIFYFILESPEC
652 #define _XmPostPopupMenu _XMPOSTPOPUPMENU
653 #define _XmPrimitiveEnter _XMPRIMITIVEENTER
654 #define _XmPrimitiveLeave _XMPRIMITIVELEAVE
655 #define _XmRedisplayGadgets _XMREDISPLAYGADGETS
656 #define _XmShellIsExclusive _XMSHELLISEXCLUSIVE
657 #define _XmStringDraw _XMSTRINGDRAW
658 #define _XmStringGetTextConcat _XMSTRINGGETTEXTCONCAT
659 #define _XmStrings _XMSTRINGS
660 #define _XmToHorizontalPixels _XMTOHORIZONTALPIXELS
661 #define _XmToVerticalPixels _XMTOVERTICALPIXELS
662 #define _XmTopShadowColorDefault _XMTOPSHADOWCOLORDEFAULT
663 #define _Xm_fastPtr _XM_FASTPTR
664 #define _XtCheckSubclassFlag _XTCHECKSUBCLASSFLAG
665 #define _XtInherit _XTINHERIT
666 #define _XtInheritTranslations _XTINHERITTRANSLATIONS
667 #define applicationShellWidgetClass APPLICATIONSHELLWIDGETCLASS
668 #define compositeWidgetClass COMPOSITEWIDGETCLASS
669 #define overrideShellWidgetClass OVERRIDESHELLWIDGETCLASS
670 #define shellWidgetClass SHELLWIDGETCLASS
671 #define topLevelShellClassRec TOPLEVELSHELLCLASSREC
672 #define topLevelShellWidgetClass TOPLEVELSHELLWIDGETCLASS
673 #define transientShellWidgetClass TRANSIENTSHELLWIDGETCLASS
674 #define vendorShellClassRec VENDORSHELLCLASSREC
675 #define vendorShellWidgetClass VENDORSHELLWIDGETCLASS
676 #define wmShellWidgetClass WMSHELLWIDGETCLASS
677 #define xmArrowButtonWidgetClass XMARROWBUTTONWIDGETCLASS
678 #define xmCascadeButtonClassRec XMCASCADEBUTTONCLASSREC
679 #define xmCascadeButtonGadgetClass XMCASCADEBUTTONGADGETCLASS
680 #define xmCascadeButtonWidgetClass XMCASCADEBUTTONWIDGETCLASS
681 #define xmDialogShellWidgetClass XMDIALOGSHELLWIDGETCLASS
682 #define xmDrawingAreaWidgetClass XMDRAWINGAREAWIDGETCLASS
683 #define xmDrawnButtonWidgetClass XMDRAWNBUTTONWIDGETCLASS
684 #define xmFileSelectionBoxWidgetClass XMFILESELECTIONBOXWIDGETCLASS
685 #define xmFormWidgetClass XMFORMWIDGETCLASS
686 #define xmFrameWidgetClass XMFRAMEWIDGETCLASS
687 #define xmGadgetClass XMGADGETCLASS
688 #define xmLabelGadgetClass XMLABELGADGETCLASS
689 #define xmLabelWidgetClass XMLABELWIDGETCLASS
690 #define xmListWidgetClass XMLISTWIDGETCLASS
691 #define xmMainWindowWidgetClass XMMAINWINDOWWIDGETCLASS
692 #define xmManagerClassRec XMMANAGERCLASSREC
693 #define xmManagerWidgetClass XMMANAGERWIDGETCLASS
694 #define xmMenuShellWidgetClass XMMENUSHELLWIDGETCLASS
695 #define xmMessageBoxWidgetClass XMMESSAGEBOXWIDGETCLASS
696 #define xmPrimitiveClassRec XMPRIMITIVECLASSREC
697 #define xmPrimitiveWidgetClass XMPRIMITIVEWIDGETCLASS
698 #define xmPushButtonClassRec XMPUSHBUTTONCLASSREC
699 #define xmPushButtonGadgetClass XMPUSHBUTTONGADGETCLASS
700 #define xmPushButtonWidgetClass XMPUSHBUTTONWIDGETCLASS
701 #define xmRowColumnWidgetClass XMROWCOLUMNWIDGETCLASS
702 #define xmSashWidgetClass XMSASHWIDGETCLASS
703 #define xmScrollBarWidgetClass XMSCROLLBARWIDGETCLASS
704 #define xmScrolledWindowClassRec XMSCROLLEDWINDOWCLASSREC
705 #define xmScrolledWindowWidgetClass XMSCROLLEDWINDOWWIDGETCLASS
706 #define xmSeparatorGadgetClass XMSEPARATORGADGETCLASS
707 #define xmSeparatorWidgetClass XMSEPARATORWIDGETCLASS
708 #define xmTextFieldWidgetClass XMTEXTFIELDWIDGETCLASS
709 #define xmTextWidgetClass XMTEXTWIDGETCLASS
710 #define xmToggleButtonGadgetClass XMTOGGLEBUTTONGADGETCLASS
711 #define xmToggleButtonWidgetClass XMTOGGLEBUTTONWIDGETCLASS
714 ** XtRegisterDrawable and XtUnregisterDrawable don't exist until R6.
715 ** So we have to fake it for R5 and earlier. It would be real nice to
716 ** include X11.h here and then test for R6 by checking
717 ** XlibSpecificationRelease. But including X11.h defines the symbol "None"
718 ** and there's Mozilla code in gfx/src/gtk that defines an enum element
719 ** named None. So for now hard code this is R5....
721 #ifndef VMS_X11R6
722 /* R5 or earlier */
723 #define _XtRegisterWindow _XTREGISTERWINDOW
724 #define _XtUnregisterWindow _XTUNREGISTERWINDOW
725 /* original code is fixed so we don't need this now */
726 #if 0
727 #define XtRegisterDrawable(display,drawable,widget) \
728 { extern void _XtRegisterWindow(Window,Widget); \
729 _XtRegisterWindow(drawable,widget); \
731 #define XtUnregisterDrawable(display,drawable) \
732 { extern void _XtUnregisterWindow(Window,Widget); \
733 _XtUnregisterWindow(drawable,XtWindowToWidget(display,drawable)); \
735 #endif
736 #else
737 /* R6 or later */
738 #define XtRegisterDrawable XTREGISTERDRAWABLE
739 #define XtUnregisterDrawable XTUNREGISTERDRAWABLE
740 #endif