PageRenderTime 52ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/Master/tlpkg/tlperl/lib/Tk/pTk/Xlib.m

https://bitbucket.org/preining/tex-live
Objective C | 661 lines | 518 code | 143 blank | 0 comment | 2 complexity | dceeec5a9cc50268dd516c0c77b7dfce MD5 | raw file
  1. #ifndef _XLIB_VM
  2. #define _XLIB_VM
  3. #include "Xlib_f.h"
  4. #ifndef NO_VTABLES
  5. #if (defined(__WIN32__) || defined(__PM__)) && !defined(DO_X_EXCLUDE)
  6. # define DO_X_EXCLUDE
  7. #endif
  8. #ifndef DO_X_EXCLUDE
  9. #ifndef XAllocClassHint
  10. # define XAllocClassHint (*XlibVptr->V_XAllocClassHint)
  11. #endif
  12. #endif /* !DO_X_EXCLUDE */
  13. #ifndef XAllocColor
  14. # define XAllocColor (*XlibVptr->V_XAllocColor)
  15. #endif
  16. #ifndef DO_X_EXCLUDE
  17. #ifndef XAllocNamedColor
  18. # define XAllocNamedColor (*XlibVptr->V_XAllocNamedColor)
  19. #endif
  20. #endif /* !DO_X_EXCLUDE */
  21. #ifndef DO_X_EXCLUDE
  22. #ifndef XAllocSizeHints
  23. # define XAllocSizeHints (*XlibVptr->V_XAllocSizeHints)
  24. #endif
  25. #endif /* !DO_X_EXCLUDE */
  26. #ifndef XBell
  27. # define XBell (*XlibVptr->V_XBell)
  28. #endif
  29. #ifndef XChangeGC
  30. # define XChangeGC (*XlibVptr->V_XChangeGC)
  31. #endif
  32. #ifndef XChangeProperty
  33. # define XChangeProperty (*XlibVptr->V_XChangeProperty)
  34. #endif
  35. #ifndef XChangeWindowAttributes
  36. # define XChangeWindowAttributes (*XlibVptr->V_XChangeWindowAttributes)
  37. #endif
  38. #ifndef DO_X_EXCLUDE
  39. #ifndef XCheckIfEvent
  40. # define XCheckIfEvent (*XlibVptr->V_XCheckIfEvent)
  41. #endif
  42. #endif /* !DO_X_EXCLUDE */
  43. #ifndef DO_X_EXCLUDE
  44. #ifndef XCheckWindowEvent
  45. # define XCheckWindowEvent (*XlibVptr->V_XCheckWindowEvent)
  46. #endif
  47. #endif /* !DO_X_EXCLUDE */
  48. #ifndef XClearWindow
  49. # define XClearWindow (*XlibVptr->V_XClearWindow)
  50. #endif
  51. #ifndef DO_X_EXCLUDE
  52. #ifndef XClipBox
  53. # define XClipBox (*XlibVptr->V_XClipBox)
  54. #endif
  55. #endif /* !DO_X_EXCLUDE */
  56. #ifndef XConfigureWindow
  57. # define XConfigureWindow (*XlibVptr->V_XConfigureWindow)
  58. #endif
  59. #ifndef DO_X_EXCLUDE
  60. #ifndef XConvertSelection
  61. # define XConvertSelection (*XlibVptr->V_XConvertSelection)
  62. #endif
  63. #endif /* !DO_X_EXCLUDE */
  64. #ifndef XCopyArea
  65. # define XCopyArea (*XlibVptr->V_XCopyArea)
  66. #endif
  67. #ifndef XCopyPlane
  68. # define XCopyPlane (*XlibVptr->V_XCopyPlane)
  69. #endif
  70. #ifndef XCreateBitmapFromData
  71. # define XCreateBitmapFromData (*XlibVptr->V_XCreateBitmapFromData)
  72. #endif
  73. #ifndef XCreateColormap
  74. # define XCreateColormap (*XlibVptr->V_XCreateColormap)
  75. #endif
  76. #ifndef XCreateGC
  77. # define XCreateGC (*XlibVptr->V_XCreateGC)
  78. #endif
  79. #ifndef XCreateGlyphCursor
  80. # define XCreateGlyphCursor (*XlibVptr->V_XCreateGlyphCursor)
  81. #endif
  82. #ifndef XCreateImage
  83. # define XCreateImage (*XlibVptr->V_XCreateImage)
  84. #endif
  85. #ifndef XCreatePixmapCursor
  86. # define XCreatePixmapCursor (*XlibVptr->V_XCreatePixmapCursor)
  87. #endif
  88. #ifndef DO_X_EXCLUDE
  89. #ifndef XCreateRegion
  90. # define XCreateRegion (*XlibVptr->V_XCreateRegion)
  91. #endif
  92. #endif /* !DO_X_EXCLUDE */
  93. #ifndef DO_X_EXCLUDE
  94. #ifndef XCreateWindow
  95. # define XCreateWindow (*XlibVptr->V_XCreateWindow)
  96. #endif
  97. #endif /* !DO_X_EXCLUDE */
  98. #ifndef DO_X_EXCLUDE
  99. #ifndef XDefaultColormap
  100. # define XDefaultColormap (*XlibVptr->V_XDefaultColormap)
  101. #endif
  102. #endif /* !DO_X_EXCLUDE */
  103. #ifndef DO_X_EXCLUDE
  104. #ifndef XDefaultDepth
  105. # define XDefaultDepth (*XlibVptr->V_XDefaultDepth)
  106. #endif
  107. #endif /* !DO_X_EXCLUDE */
  108. #ifndef DO_X_EXCLUDE
  109. #ifndef XDefaultScreen
  110. # define XDefaultScreen (*XlibVptr->V_XDefaultScreen)
  111. #endif
  112. #endif /* !DO_X_EXCLUDE */
  113. #ifndef DO_X_EXCLUDE
  114. #ifndef XDefaultVisual
  115. # define XDefaultVisual (*XlibVptr->V_XDefaultVisual)
  116. #endif
  117. #endif /* !DO_X_EXCLUDE */
  118. #ifndef XDefineCursor
  119. # define XDefineCursor (*XlibVptr->V_XDefineCursor)
  120. #endif
  121. #ifndef XDeleteProperty
  122. # define XDeleteProperty (*XlibVptr->V_XDeleteProperty)
  123. #endif
  124. #ifndef DO_X_EXCLUDE
  125. #ifndef XDestroyRegion
  126. # define XDestroyRegion (*XlibVptr->V_XDestroyRegion)
  127. #endif
  128. #endif /* !DO_X_EXCLUDE */
  129. #ifndef XDestroyWindow
  130. # define XDestroyWindow (*XlibVptr->V_XDestroyWindow)
  131. #endif
  132. #ifndef XDrawArc
  133. # define XDrawArc (*XlibVptr->V_XDrawArc)
  134. #endif
  135. #ifndef DO_X_EXCLUDE
  136. #ifndef XDrawImageString
  137. # define XDrawImageString (*XlibVptr->V_XDrawImageString)
  138. #endif
  139. #endif /* !DO_X_EXCLUDE */
  140. #ifndef XDrawLine
  141. # define XDrawLine (*XlibVptr->V_XDrawLine)
  142. #endif
  143. #ifndef XDrawLines
  144. # define XDrawLines (*XlibVptr->V_XDrawLines)
  145. #endif
  146. #ifndef XDrawPoints
  147. # define XDrawPoints (*XlibVptr->V_XDrawPoints)
  148. #endif
  149. #ifndef XDrawRectangle
  150. # define XDrawRectangle (*XlibVptr->V_XDrawRectangle)
  151. #endif
  152. #ifndef DO_X_EXCLUDE
  153. #ifndef XDrawString
  154. # define XDrawString (*XlibVptr->V_XDrawString)
  155. #endif
  156. #endif /* !DO_X_EXCLUDE */
  157. #ifndef DO_X_EXCLUDE
  158. #ifndef XEventsQueued
  159. # define XEventsQueued (*XlibVptr->V_XEventsQueued)
  160. #endif
  161. #endif /* !DO_X_EXCLUDE */
  162. #ifndef XFillArc
  163. # define XFillArc (*XlibVptr->V_XFillArc)
  164. #endif
  165. #ifndef XFillPolygon
  166. # define XFillPolygon (*XlibVptr->V_XFillPolygon)
  167. #endif
  168. #ifndef XFillRectangle
  169. # define XFillRectangle (*XlibVptr->V_XFillRectangle)
  170. #endif
  171. #ifndef XFillRectangles
  172. # define XFillRectangles (*XlibVptr->V_XFillRectangles)
  173. #endif
  174. #ifndef XFlush
  175. # define XFlush (*XlibVptr->V_XFlush)
  176. #endif
  177. #ifndef XFree
  178. # define XFree (*XlibVptr->V_XFree)
  179. #endif
  180. #ifndef XFreeColormap
  181. # define XFreeColormap (*XlibVptr->V_XFreeColormap)
  182. #endif
  183. #ifndef XFreeColors
  184. # define XFreeColors (*XlibVptr->V_XFreeColors)
  185. #endif
  186. #ifndef XFreeCursor
  187. # define XFreeCursor (*XlibVptr->V_XFreeCursor)
  188. #endif
  189. #ifndef DO_X_EXCLUDE
  190. #ifndef XFreeFont
  191. # define XFreeFont (*XlibVptr->V_XFreeFont)
  192. #endif
  193. #endif /* !DO_X_EXCLUDE */
  194. #ifndef DO_X_EXCLUDE
  195. #ifndef XFreeFontNames
  196. # define XFreeFontNames (*XlibVptr->V_XFreeFontNames)
  197. #endif
  198. #endif /* !DO_X_EXCLUDE */
  199. #ifndef XFreeGC
  200. # define XFreeGC (*XlibVptr->V_XFreeGC)
  201. #endif
  202. #ifndef XFreeModifiermap
  203. # define XFreeModifiermap (*XlibVptr->V_XFreeModifiermap)
  204. #endif
  205. #ifndef XGContextFromGC
  206. # define XGContextFromGC (*XlibVptr->V_XGContextFromGC)
  207. #endif
  208. #ifndef XGetAtomName
  209. # define XGetAtomName (*XlibVptr->V_XGetAtomName)
  210. #endif
  211. #ifndef DO_X_EXCLUDE
  212. #ifndef XGetFontProperty
  213. # define XGetFontProperty (*XlibVptr->V_XGetFontProperty)
  214. #endif
  215. #endif /* !DO_X_EXCLUDE */
  216. #ifndef XGetGeometry
  217. # define XGetGeometry (*XlibVptr->V_XGetGeometry)
  218. #endif
  219. #ifndef XGetImage
  220. # define XGetImage (*XlibVptr->V_XGetImage)
  221. #endif
  222. #ifndef XGetInputFocus
  223. # define XGetInputFocus (*XlibVptr->V_XGetInputFocus)
  224. #endif
  225. #ifndef XGetModifierMapping
  226. # define XGetModifierMapping (*XlibVptr->V_XGetModifierMapping)
  227. #endif
  228. #ifndef DO_X_EXCLUDE
  229. #ifndef XGetSelectionOwner
  230. # define XGetSelectionOwner (*XlibVptr->V_XGetSelectionOwner)
  231. #endif
  232. #endif /* !DO_X_EXCLUDE */
  233. #ifndef XGetVisualInfo
  234. # define XGetVisualInfo (*XlibVptr->V_XGetVisualInfo)
  235. #endif
  236. #ifndef XGetWMColormapWindows
  237. # define XGetWMColormapWindows (*XlibVptr->V_XGetWMColormapWindows)
  238. #endif
  239. #ifndef XGetWindowAttributes
  240. # define XGetWindowAttributes (*XlibVptr->V_XGetWindowAttributes)
  241. #endif
  242. #ifndef XGetWindowProperty
  243. # define XGetWindowProperty (*XlibVptr->V_XGetWindowProperty)
  244. #endif
  245. #ifndef XGrabKeyboard
  246. # define XGrabKeyboard (*XlibVptr->V_XGrabKeyboard)
  247. #endif
  248. #ifndef XGrabPointer
  249. # define XGrabPointer (*XlibVptr->V_XGrabPointer)
  250. #endif
  251. #ifndef XGrabServer
  252. # define XGrabServer (*XlibVptr->V_XGrabServer)
  253. #endif
  254. #ifndef XIconifyWindow
  255. # define XIconifyWindow (*XlibVptr->V_XIconifyWindow)
  256. #endif
  257. #ifndef XInternAtom
  258. # define XInternAtom (*XlibVptr->V_XInternAtom)
  259. #endif
  260. #ifndef DO_X_EXCLUDE
  261. #ifndef XIntersectRegion
  262. # define XIntersectRegion (*XlibVptr->V_XIntersectRegion)
  263. #endif
  264. #endif /* !DO_X_EXCLUDE */
  265. #ifndef XKeycodeToKeysym
  266. # define XKeycodeToKeysym (*XlibVptr->V_XKeycodeToKeysym)
  267. #endif
  268. #ifndef XKeysymToString
  269. # define XKeysymToString (*XlibVptr->V_XKeysymToString)
  270. #endif
  271. #ifndef DO_X_EXCLUDE
  272. #ifndef XListFonts
  273. # define XListFonts (*XlibVptr->V_XListFonts)
  274. #endif
  275. #endif /* !DO_X_EXCLUDE */
  276. #ifndef XListHosts
  277. # define XListHosts (*XlibVptr->V_XListHosts)
  278. #endif
  279. #ifndef DO_X_EXCLUDE
  280. #ifndef XListProperties
  281. # define XListProperties (*XlibVptr->V_XListProperties)
  282. #endif
  283. #endif /* !DO_X_EXCLUDE */
  284. #ifndef DO_X_EXCLUDE
  285. #ifndef XLoadFont
  286. # define XLoadFont (*XlibVptr->V_XLoadFont)
  287. #endif
  288. #endif /* !DO_X_EXCLUDE */
  289. #ifndef DO_X_EXCLUDE
  290. #ifndef XLoadQueryFont
  291. # define XLoadQueryFont (*XlibVptr->V_XLoadQueryFont)
  292. #endif
  293. #endif /* !DO_X_EXCLUDE */
  294. #ifndef XLookupColor
  295. # define XLookupColor (*XlibVptr->V_XLookupColor)
  296. #endif
  297. #ifndef XLookupString
  298. # define XLookupString (*XlibVptr->V_XLookupString)
  299. #endif
  300. #ifndef XLowerWindow
  301. # define XLowerWindow (*XlibVptr->V_XLowerWindow)
  302. #endif
  303. #ifndef XMapWindow
  304. # define XMapWindow (*XlibVptr->V_XMapWindow)
  305. #endif
  306. #ifndef XMoveResizeWindow
  307. # define XMoveResizeWindow (*XlibVptr->V_XMoveResizeWindow)
  308. #endif
  309. #ifndef XMoveWindow
  310. # define XMoveWindow (*XlibVptr->V_XMoveWindow)
  311. #endif
  312. #ifndef XNextEvent
  313. # define XNextEvent (*XlibVptr->V_XNextEvent)
  314. #endif
  315. #ifndef XNoOp
  316. # define XNoOp (*XlibVptr->V_XNoOp)
  317. #endif
  318. #ifndef DO_X_EXCLUDE
  319. #ifndef XOpenDisplay
  320. # define XOpenDisplay (*XlibVptr->V_XOpenDisplay)
  321. #endif
  322. #endif /* !DO_X_EXCLUDE */
  323. #ifndef XParseColor
  324. # define XParseColor (*XlibVptr->V_XParseColor)
  325. #endif
  326. #ifndef XPutBackEvent
  327. # define XPutBackEvent (*XlibVptr->V_XPutBackEvent)
  328. #endif
  329. #ifndef DO_X_EXCLUDE
  330. #ifndef XPutImage
  331. # define XPutImage (*XlibVptr->V_XPutImage)
  332. #endif
  333. #endif /* !DO_X_EXCLUDE */
  334. #ifndef XQueryColors
  335. # define XQueryColors (*XlibVptr->V_XQueryColors)
  336. #endif
  337. #ifndef XQueryPointer
  338. # define XQueryPointer (*XlibVptr->V_XQueryPointer)
  339. #endif
  340. #ifndef XQueryTree
  341. # define XQueryTree (*XlibVptr->V_XQueryTree)
  342. #endif
  343. #ifndef XRaiseWindow
  344. # define XRaiseWindow (*XlibVptr->V_XRaiseWindow)
  345. #endif
  346. #ifndef DO_X_EXCLUDE
  347. #ifndef XReadBitmapFile
  348. # define XReadBitmapFile (*XlibVptr->V_XReadBitmapFile)
  349. #endif
  350. #endif /* !DO_X_EXCLUDE */
  351. #ifndef XRectInRegion
  352. # define XRectInRegion (*XlibVptr->V_XRectInRegion)
  353. #endif
  354. #ifndef XRefreshKeyboardMapping
  355. # define XRefreshKeyboardMapping (*XlibVptr->V_XRefreshKeyboardMapping)
  356. #endif
  357. #ifndef XResizeWindow
  358. # define XResizeWindow (*XlibVptr->V_XResizeWindow)
  359. #endif
  360. #ifndef XRootWindow
  361. # define XRootWindow (*XlibVptr->V_XRootWindow)
  362. #endif
  363. #ifndef XSelectInput
  364. # define XSelectInput (*XlibVptr->V_XSelectInput)
  365. #endif
  366. #ifndef XSendEvent
  367. # define XSendEvent (*XlibVptr->V_XSendEvent)
  368. #endif
  369. #ifndef XSetBackground
  370. # define XSetBackground (*XlibVptr->V_XSetBackground)
  371. #endif
  372. #ifndef DO_X_EXCLUDE
  373. #ifndef XSetClassHint
  374. # define XSetClassHint (*XlibVptr->V_XSetClassHint)
  375. #endif
  376. #endif /* !DO_X_EXCLUDE */
  377. #ifndef XSetClipMask
  378. # define XSetClipMask (*XlibVptr->V_XSetClipMask)
  379. #endif
  380. #ifndef XSetClipOrigin
  381. # define XSetClipOrigin (*XlibVptr->V_XSetClipOrigin)
  382. #endif
  383. #ifndef XSetCommand
  384. # define XSetCommand (*XlibVptr->V_XSetCommand)
  385. #endif
  386. #ifndef XSetDashes
  387. # define XSetDashes (*XlibVptr->V_XSetDashes)
  388. #endif
  389. #ifndef XSetErrorHandler
  390. # define XSetErrorHandler (*XlibVptr->V_XSetErrorHandler)
  391. #endif
  392. #ifndef XSetForeground
  393. # define XSetForeground (*XlibVptr->V_XSetForeground)
  394. #endif
  395. #ifndef XSetIconName
  396. # define XSetIconName (*XlibVptr->V_XSetIconName)
  397. #endif
  398. #ifndef XSetInputFocus
  399. # define XSetInputFocus (*XlibVptr->V_XSetInputFocus)
  400. #endif
  401. #ifndef DO_X_EXCLUDE
  402. #ifndef XSetRegion
  403. # define XSetRegion (*XlibVptr->V_XSetRegion)
  404. #endif
  405. #endif /* !DO_X_EXCLUDE */
  406. #ifndef XSetSelectionOwner
  407. # define XSetSelectionOwner (*XlibVptr->V_XSetSelectionOwner)
  408. #endif
  409. #ifndef XSetTSOrigin
  410. # define XSetTSOrigin (*XlibVptr->V_XSetTSOrigin)
  411. #endif
  412. #ifndef DO_X_EXCLUDE
  413. #ifndef XSetTransientForHint
  414. # define XSetTransientForHint (*XlibVptr->V_XSetTransientForHint)
  415. #endif
  416. #endif /* !DO_X_EXCLUDE */
  417. #ifndef XSetWMClientMachine
  418. # define XSetWMClientMachine (*XlibVptr->V_XSetWMClientMachine)
  419. #endif
  420. #ifndef DO_X_EXCLUDE
  421. #ifndef XSetWMColormapWindows
  422. # define XSetWMColormapWindows (*XlibVptr->V_XSetWMColormapWindows)
  423. #endif
  424. #endif /* !DO_X_EXCLUDE */
  425. #ifndef DO_X_EXCLUDE
  426. #ifndef XSetWMHints
  427. # define XSetWMHints (*XlibVptr->V_XSetWMHints)
  428. #endif
  429. #endif /* !DO_X_EXCLUDE */
  430. #ifndef DO_X_EXCLUDE
  431. #ifndef XSetWMName
  432. # define XSetWMName (*XlibVptr->V_XSetWMName)
  433. #endif
  434. #endif /* !DO_X_EXCLUDE */
  435. #ifndef DO_X_EXCLUDE
  436. #ifndef XSetWMNormalHints
  437. # define XSetWMNormalHints (*XlibVptr->V_XSetWMNormalHints)
  438. #endif
  439. #endif /* !DO_X_EXCLUDE */
  440. #ifndef XSetWindowBackground
  441. # define XSetWindowBackground (*XlibVptr->V_XSetWindowBackground)
  442. #endif
  443. #ifndef XSetWindowBackgroundPixmap
  444. # define XSetWindowBackgroundPixmap (*XlibVptr->V_XSetWindowBackgroundPixmap)
  445. #endif
  446. #ifndef XSetWindowBorder
  447. # define XSetWindowBorder (*XlibVptr->V_XSetWindowBorder)
  448. #endif
  449. #ifndef XSetWindowBorderPixmap
  450. # define XSetWindowBorderPixmap (*XlibVptr->V_XSetWindowBorderPixmap)
  451. #endif
  452. #ifndef XSetWindowBorderWidth
  453. # define XSetWindowBorderWidth (*XlibVptr->V_XSetWindowBorderWidth)
  454. #endif
  455. #ifndef XSetWindowColormap
  456. # define XSetWindowColormap (*XlibVptr->V_XSetWindowColormap)
  457. #endif
  458. #ifndef XStringListToTextProperty
  459. # define XStringListToTextProperty (*XlibVptr->V_XStringListToTextProperty)
  460. #endif
  461. #ifndef XStringToKeysym
  462. # define XStringToKeysym (*XlibVptr->V_XStringToKeysym)
  463. #endif
  464. #ifndef XSubtractRegion
  465. # define XSubtractRegion (*XlibVptr->V_XSubtractRegion)
  466. #endif
  467. #ifndef XSync
  468. # define XSync (*XlibVptr->V_XSync)
  469. #endif
  470. #ifndef DO_X_EXCLUDE
  471. #ifndef XTextExtents
  472. # define XTextExtents (*XlibVptr->V_XTextExtents)
  473. #endif
  474. #endif /* !DO_X_EXCLUDE */
  475. #ifndef DO_X_EXCLUDE
  476. #ifndef XTextWidth
  477. # define XTextWidth (*XlibVptr->V_XTextWidth)
  478. #endif
  479. #endif /* !DO_X_EXCLUDE */
  480. #ifndef XTranslateCoordinates
  481. # define XTranslateCoordinates (*XlibVptr->V_XTranslateCoordinates)
  482. #endif
  483. #ifndef XUngrabKeyboard
  484. # define XUngrabKeyboard (*XlibVptr->V_XUngrabKeyboard)
  485. #endif
  486. #ifndef XUngrabPointer
  487. # define XUngrabPointer (*XlibVptr->V_XUngrabPointer)
  488. #endif
  489. #ifndef XUngrabServer
  490. # define XUngrabServer (*XlibVptr->V_XUngrabServer)
  491. #endif
  492. #ifndef DO_X_EXCLUDE
  493. #ifndef XUnionRectWithRegion
  494. # define XUnionRectWithRegion (*XlibVptr->V_XUnionRectWithRegion)
  495. #endif
  496. #endif /* !DO_X_EXCLUDE */
  497. #ifndef XUnmapWindow
  498. # define XUnmapWindow (*XlibVptr->V_XUnmapWindow)
  499. #endif
  500. #ifndef XVisualIDFromVisual
  501. # define XVisualIDFromVisual (*XlibVptr->V_XVisualIDFromVisual)
  502. #endif
  503. #ifndef DO_X_EXCLUDE
  504. #ifndef XWarpPointer
  505. # define XWarpPointer (*XlibVptr->V_XWarpPointer)
  506. #endif
  507. #endif /* !DO_X_EXCLUDE */
  508. #ifndef XWindowEvent
  509. # define XWindowEvent (*XlibVptr->V_XWindowEvent)
  510. #endif
  511. #ifndef XWithdrawWindow
  512. # define XWithdrawWindow (*XlibVptr->V_XWithdrawWindow)
  513. #endif
  514. #ifndef _XInitImageFuncPtrs
  515. # define _XInitImageFuncPtrs (*XlibVptr->V__XInitImageFuncPtrs)
  516. #endif
  517. #endif /* NO_VTABLES */
  518. #endif /* _XLIB_VM */