home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / LIB / X_TABLES.LF < prev    next >
Text File  |  1996-06-04  |  12KB  |  387 lines

  1. %    $Id: x_tables.lf,v 1.2 1994/12/09 00:28:09 duchier Exp $    
  2. module("x")? % RM: Mar 24 1993 
  3.  
  4. % Copyright 1992 Digital Equipment Corporation.
  5. % Distributed only by permission.
  6. %
  7. % Last modified on Mon Jun  7 17:18:12 MET DST 1993 by dumant
  8. %      modified on Wed Mar 24 06:25:00 1993 by Rmeyer
  9. %      modified on Tue Nov 24 19:13:33 MET 1992 by herve
  10. %
  11. %
  12. % X tables for Life
  13.  
  14. % boolean
  15. xBoolean(false,0) :- !.
  16. xBoolean(true, 1).
  17.  
  18. % can be any                        %% unused - BD 06/07/93
  19. %xFunctionAny(xAny, 0) :- !.
  20. %xFunctionAny(N, N).
  21.  
  22. % can be none                       %% unused - BD 06/07/93
  23. %xFunctionNone(xNone, 0) :- !.
  24. %xFunctionNone(N, N).
  25.  
  26. % default                       %% unused - BD 06/07/93
  27. %xFunctionDefault(xDefault, 0) :- !.
  28. %xFunctionDefault(N, N).
  29.  
  30. % parent                       %% unused - BD 06/07/93
  31. %xFunctionParent(xCopyFromParent, 0) :- !.
  32. %xFunctionParent(N, N).
  33.  
  34. % time                       %% unused - BD 06/07/93
  35. %xFunctionTime(xCurrentTime, 0) :- !.
  36. %xFunctionTime(N, N).
  37.  
  38. % functions                       %% unused - BD 06/07/93
  39. %xGCFunction(xClear, 0) :- !.
  40. %xGCFunction(xAnd, 1) :- !.
  41. %xGCFunction(xAndReverse, 2) :- !.
  42. %xGCFunction(xCopy, 3) :- !.
  43. %xGCFunction(xAndInverted, 4) :- !.
  44. %xGCFunction(xNoop, 5) :- !.
  45. %xGCFunction(xXor, 6) :- !.
  46. %xGCFunction(xOr, 7) :- !.
  47. %xGCFunction(xNor, 8) :- !.
  48. %xGCFunction(xEquiv, 9) :- !.
  49. %xGCFunction(xInvert, 10) :- !.
  50. %xGCFunction(xOrReverse, 11) :- !.
  51. %xGCFunction(xCopyInverted, 12) :- !.
  52. %xGCFunction(xOrInverted, 13) :- !.
  53. %xGCFunction(xNand, 14) :- !.
  54. %xGCFunction(xSet, 15).
  55.  
  56. % line widths                       %% unused - BD 06/07/93
  57. %xLineWidth(xThinLine, 0) :- !.
  58. %xLineWidth(N,N).
  59.  
  60. % line styles                       %% unused - BD 06/07/93
  61. % xLineStyle(xSolid, 0) :- !.
  62. % xLineStyle(xOnOffDash, 1) :- !.
  63. % xLineStyle(xDoubleDash, 2).
  64.  
  65. % cap styles
  66.  
  67. % xCapStyle(xNotLast, 0) :- !.
  68. % xCapStyle(xButt, 1) :- !.
  69. % xCapStyle(xRound, 2) :- !.
  70. % xCapStyle(xProjecting, 3).
  71.  
  72. xCapStyle(xRound, 2) :- !.
  73. xCapStyle(N,N).
  74.  
  75. % join styles
  76. % xJoinStyle(xMiter, 0) :- !.
  77. % xJoinStyle(xRound, 1) :- !.
  78. % xJoinStyle(xBevel, 2).
  79.  
  80. xJoinStyle(xRound, 1) :- !.
  81. xJoinStyle(N,N).
  82.  
  83. % fill styles                       %% unused - BD 06/07/93
  84. % xFillStyle(xSolid, 0) :- !.
  85. % xFillStyle(xTiled, 1) :- !.
  86. % xFillStyle(xStippled, 2) :- !.
  87. % xFillStyle(xOpaqueStippled, 3).
  88.  
  89. % backing store                       %% unused - BD 06/07/93
  90. % xBackingStore(xNotUseful, 0) :- !.
  91. % xBackingStore(xWhenMapped, 1) :- !.
  92. % xBackingStore(xAlways, 2).
  93.  
  94.  
  95. % visual class                       %% unused - BD 06/07/93
  96. % xVisualClass(xStaticGray, 0) :- !.
  97. % xVisualClass(xGrayScale, 1) :- !.
  98. % xVisualClass(xStaticColor, 2) :- !.
  99. % xVisualClass(xPseudoColor, 3) :- !.
  100. % xVisualClass(xTrueColor, 4) :- !.
  101. % xVisualClass(xDirectColor, 5).
  102.  
  103. % window class (xCreateWindow)       %% unused - BD 06/07/93
  104. % xWindowClass(xCopyFromParent, 0) :- !.
  105. % xWindowClass(xInputOutput, 1) :- !.
  106. % xWindowClass(xInputOnly, 2).
  107.  
  108. % window depth (xCreateWindow)       %% unused - BD 06/07/93
  109. % xWindowDepth(xCopyFromParent, 0) :- !.
  110. % xWindowDepth(xNone, 0) :- !. 
  111. % xWindowDepth(N, N).
  112.  
  113. % bit gravity                       %% unused - BD 06/07/93
  114. % xBitGravity(xForget, 0) :- !.
  115. % xBitGravity(xNorthWest, 1) :- !.
  116. % xBitGravity(xNorth, 2) :- !.
  117. % xBitGravity(xNorthEast, 3) :- !.
  118. % xBitGravity(xWest, 4) :- !.
  119. % xBitGravity(xCenter, 5) :- !.
  120. % xBitGravity(xEast, 6) :- !.
  121. % xBitGravity(xSouthWest, 7) :- !.
  122. % xBitGravity(xSouth, 8) :- !.
  123. % xBitGravity(xSouthEast, 9) :- !.
  124. % xBitGravity(xStatic, 10).
  125.  
  126. % window gravity                       %% unused - BD 06/07/93
  127. % xWindowGravity(xUnmap, 0) :- !.
  128. % xWindowGravity(xNorthWest, 1) :- !.
  129. % xWindowGravity(xNorth, 2) :- !.
  130. % xWindowGravity(xNorthEast, 3) :- !.
  131. % xWindowGravity(xWest, 4) :- !.
  132. % xWindowGravity(xCenter, 5) :- !.
  133. % xWindowGravity(xEast, 6) :- !.
  134. % xWindowGravity(xSouthWest, 7) :- !.
  135. % xWindowGravity(xSouth, 8) :- !.
  136. % xWindowGravity(xSouthEast, 9) :- !.
  137. % xWindowGravity(xStatic, 10).
  138.  
  139. % WM window gravity (for WM_SIZE_HINTS)    %% unused - BD 06/07/93
  140. % xWMWindowGravity(xNorthWest, 1) :- !.
  141. % xWMWindowGravity(xNorth, 2) :- !.
  142. % xWMWindowGravity(xNorthEast, 3) :- !.
  143. % xWMWindowGravity(xWest, 4) :- !.
  144. % xWMWindowGravity(xCenter, 5) :- !.
  145. % xWMWindowGravity(xEast, 6) :- !.
  146. % xWMWindowGravity(xSouthWest, 7) :- !.
  147. % xWMWindowGravity(xSouth, 8) :- !.
  148. % xWMWindowGravity(xSouthEast, 9).
  149.  
  150. % directions
  151. % global(xNorthWest<-1) ?
  152. % global(xNorth<-2) ?
  153. % global(xNorthEast<-3) ?
  154. % global(xWest<-4) ?
  155. % global(xCenter<-5) ?
  156. % global(xEast<-6) ?
  157. % global(xSouthWest<-7) ?
  158. % global(xSouth<-8) ?
  159. % global(xSouthEast<-9) ?
  160.  
  161. % window state    %% unused - BD 06/07/93
  162. % xWindowState(xUnmapped, 0) :- !.
  163. % xWindowState(xUnviewable, 1) :- !.
  164. % xWindowState(xViewable, 2).
  165.  
  166. % stack mode    %% unused - BD 06/07/93
  167. % xStackMode(xAbove, 0) :- !.
  168. % xStackMode(xBelow, 1) :- !.
  169. % xStackMode(xTopIf, 2) :- !.
  170. % xStackMode(xBottomIf, 3) :- !.
  171. % xStackMode(xOpposite, 4).
  172.  
  173. % back pixmap    %% unused - BD 06/07/93
  174. % xBackPixmap(xParentRelative, 1) :- !.
  175. % xBackPixmap(xNone, 0) :- !. 
  176. % xBackPixmap(N, N).
  177.  
  178. % property mode (xSetProperty)      %% unused - BD 06/07/93
  179. % xPropertyMode(xReplace, 0) :- !.
  180. % xPropertyMode(xPrepend, 1) :- !.
  181. % xPropertyMode(xAppend, 2).
  182.  
  183. % size query (xQueryBestSize)       %% unused - BD 06/07/93
  184. % xSizeQuery(xCursor, 0) :- !.
  185. % xSizeQuery(xTile, 1) :- !.
  186. % xSizeQuery(xStipple, 2).
  187.  
  188. % clip ordering (xSetClips)         %% unused - BD 06/07/93
  189. % xClipOrdering(xUnsorted, 0) :- !.
  190. % xClipOrdering(xYSorted, 1) :- !.
  191. % xClipOrdering(xYXSorted, 2) :- !.
  192. % xClipOrdering(xYXBanded, 3).
  193.  
  194. % polygon shape (xFillPolygon)      %% unused - BD 06/07/93
  195. % xPolygonShape(xComplex, 0) :- !.
  196. % xPolygonShape(xNonconvex, 1) :- !.
  197. % xPolygonShape(xConvex, 2).
  198.  
  199. % image format (xCreateImage)      %% unused - BD 06/07/93
  200. % xImageFormat(xXYPixmap, 1) :- !.
  201. % xImageFormat(xZPixmap, 2).
  202.  
  203. % key masks                         %% unused - BD 06/07/93
  204. % xKey(xShift, 0) :- !.
  205. % xKey(xLock, 1) :- !.
  206. % xKey(xControl, 2) :- !.
  207. % xKey(xMod1, 3) :- !.
  208. % xKey(xMod2, 4) :- !.
  209. % xKey(xMod3, 5) :- !.
  210. % xKey(xMod4, 6) :- !.
  211. % xKey(xMod5, 7) :- !.
  212. % xKey(xButton1, 8) :- !.
  213. % xKey(xButton2, 9) :- !.
  214. % xKey(xButton3, 10) :- !.
  215. % xKey(xButton4, 11) :- !.
  216. % xKey(xButton5, 12) :- !.
  217. % xKey(xAny, 15) :- !.                
  218.  
  219. % mouse masks                       %% unused - BD 06/07/93
  220. % xButton(xLeft, 1) :- !.
  221. % xButton(xMiddle, 2) :- !.
  222. % xButton(xRight, 3) :- !.
  223.  
  224. % keyboard settings
  225. xKeyboardDefault(xDefault, -1) :- !.
  226. xKeyboardDefault(N, N).
  227.  
  228. % auto repeat mode
  229. % xAutoRepeat(xFalse, 0) :- !.            
  230. % xAutoRepeat(xTrue, 1) :- !.            
  231. % xAutoRepeat(xDefault, 2) :- !.        
  232.  
  233. xAutoRepeat(xDefault, 2) :- !.
  234. xAutoRepeat(N, N).
  235.  
  236. % no symbol
  237. %xFunctionNoSymbol(xNoSymbol, 0) :- !.
  238. %xFunctionNoSymbol(N, N).
  239.  
  240. % close down mode (xSetCloseDown)    %% unused - BD 06/07/93
  241. % xCloseDown(xDestroy, 0) :- !.
  242. % xCloseDown(xPermanent, 1) :- !.
  243. % xCloseDown(xTemporary, 2).
  244.  
  245. % kill client resource (xKillClient)    %% unused - BD 06/07/93
  246. % xKillResource(xAllTemporary, 0) :- !.
  247. % xKillResource(N, N).
  248.  
  249. % focus window (xGetInputFocus, xSetInputFocus)    %% unused - BD 06/07/93
  250. % xFocusWindow(xPointerRoot, 1) :- !.
  251. % xFocusWindow(xNone, 0) :- !.
  252. % xFocusWindow(N, N).
  253.  
  254. % revert state (xGetInputFocus, xSetInputFocus)    %% unused - BD 06/07/93
  255. % xRevertState(xPointerRoot, 1) :- !.        
  256. % xRevertState(xParent, 2) :- !.
  257. % xRevertState(xNone, 0) :- !.            
  258.  
  259. % grab status (xGrabPointer, xGrabKeyboard)    %% unused - BD 06/07/93
  260. % xGrabStatus(xSuccess, 0) :- !.
  261. % xGrabStatus(xAlreadyGrabbed, 1) :- !.
  262. % xGrabStatus(xInvalidTime, 2) :- !.
  263. % xGrabStatus(xNotViewable, 3) :- !.
  264. % xGrabStatus(xFrozen, 4).
  265.  
  266. % event mode (xAllowEvents)     %% unused - BD 06/07/93
  267. % xEventMode(xAsyncPointer, 0) :- !.
  268. % xEventMode(xSyncPointer, 1) :- !.
  269. % xEventMode(xReplayPointer, 2) :- !.
  270. % xEventMode(xAsyncKeyboard, 3) :- !.
  271. % xEventMode(xSyncKeyboard, 4) :- !.
  272. % xEventMode(xReplayKeyboard, 5) :- !.
  273. % xEventMode(xAsyncBoth, 6) :- !.
  274. % xEventMode(xSyncBoth, 7).
  275.  
  276. % blanking (xGetScreenSaver, xSetScreenSaver)
  277. %xFunctionBlanking(xNoBlanking, 0) :- !.
  278. %xFunctionBlanking(xBlanking, 1) :- !.
  279. %xFunctionBlanking(xDefault, 2) :- !.            
  280.  
  281. % exposures (xGetScreenSaver, xSetScreenSaver)
  282. %xFunctionExposures(xNoExposures, 0) :- !.
  283. %xFunctionExposures(xExposures, 1) :- !.
  284. %xFunctionExposures(xDefault, 2) :- !.        
  285. %
  286. % screen saver timeout (xSetScreenSaver)     %% unused - BD 06/07/93
  287. % xTimeout(xDisable, 0) :- !.
  288. % xTimeout(xDefault, -1) :- !. 
  289. % xTimeout(N, N).
  290.  
  291. % screen saver change interval (xSetScreenSaver)     %% unused - BD 06/07/93
  292. % xInterval(xDisable, 0) :- !.
  293. % xInterval(N, N).
  294.  
  295. % event queue (xEventsQueued)     %% unused - BD 06/07/93
  296. % xEventQueue(xAlready, 0) :- !.
  297. % xEventQueue(xAfterReading, 1) :- !.
  298. % xEventQueue(xAfterFlush, 2).
  299.  
  300. % event types (xGetEvent, xEventGet, xEventPut)     %% unused - BD 06/07/93
  301. % xEventType(xAny, 0, xAny) :- !.            % struct should fail
  302. % xEventType(xKeyPress, 2, xInput) :- !.
  303. % xEventType(xKeyRelease, 3, xInput) :- !.
  304. % xEventType(xButtonPress, 4, xInput) :- !.
  305. % xEventType(xButtonRelease, 5, xInput) :- !.
  306. % xEventType(xMotionNotify, 6, xMotionNotify) :- !.
  307. % xEventType(xEnterNotify, 7, xCrossing) :- !.
  308. % xEventType(xLeaveNotify, 8, xCrossing) :- !.
  309. % xEventType(xFocusIn, 9, xFocus) :- !.
  310. % xEventType(xFocusOut, 10, xFocus) :- !.
  311. % xEventType(xKeymapNotify, 11, xKeymapNotify) :- !.
  312. % xEventType(xExpose, 12, xRequest10) :- !.
  313. % xEventType(xGraphicsExpose, 13, xRequest12) :- !.
  314. % xEventType(xNoExpose, 14, xRequest7) :- !.
  315. % xEventType(xVisibilityNotify, 15, xVisibilityNotify) :- !.
  316. % xEventType(xCreateNotify, 16, xCreateNotify) :- !.
  317. % xEventType(xDestroyNotify, 17, xRequest6) :- !.
  318. % xEventType(xUnmapNotify, 18, xNotify7) :- !.
  319. % xEventType(xMapNotify, 19, xNotify7) :- !.
  320. % xEventType(xMapRequest, 20, xRequest6) :- !.
  321. % xEventType(xReparentNotify, 21, xReparentNotify) :- !.
  322. % xEventType(xConfigureNotify, 22, xConfigureNotify) :- !.
  323. % xEventType(xConfigureRequest, 23, xConfigureRequest) :- !.
  324. % xEventType(xGravityNotify, 24, xRequest8) :- !.
  325. % xEventType(xResizeRequest, 25, xRequest7) :- !.
  326. % xEventType(xCirculateNotify, 26, xNotify7) :- !.
  327. % xEventType(xCirculateRequest, 27, xNotify7) :- !.
  328. % xEventType(xPropertyNotify, 28, xPropertyNotify) :- !.
  329. % xEventType(xSelectionClear, 29, xSelectionClear) :- !.
  330. % xEventType(xSelectionRequest, 30, xSelectionRequest) :- !.
  331. % xEventType(xSelectionNotify, 31, xSelectionNotify) :- !.
  332. % xEventType(xColormapNotify, 32, xColormapNotify) :- !.
  333. % xEventType(xClientMessage, 33, xClientMessage) :- !.
  334. % xEventType(xMappingNotify, 34, xMappingNotify) :- !.
  335. % xEventType(xWMMessage, 33554431, xWMMessage) :- !.    % type = 2^25 - 1
  336.  
  337.  
  338. % notify mode     %% unused - BD 06/07/93
  339. % xNotifyMode(xNormal, 0) :- !. 
  340. % xNotifyMode(xGrab, 1) :- !.
  341. % xNotifyMode(xUngrab, 2) :- !.
  342. % xNotifyMode(xWhileGrabbed, 3).
  343.  
  344. % notify detail     %% unused - BD 06/07/93
  345. % xNotifyDetail(xAncestor, 0) :- !.
  346. % xNotifyDetail(xVirtual, 1) :- !.
  347. % xNotifyDetail(xInferior, 2) :- !.
  348. % xNotifyDetail(xNonlinear, 3) :- !.
  349. % xNotifyDetail(xNonlinearVirtual, 4) :- !.
  350. % xNotifyDetail(xPointer, 5) :- !.
  351. % xNotifyDetail(xPointerRoot, 6) :- !.        
  352. % xNotifyDetail(xNone, 7) :- !.        
  353.  
  354. % visibility     %% unused - BD 06/07/93
  355. % xVisibility(xUnobscured, 0) :- !.
  356. % xVisibility(xPartial, 1) :- !.
  357. % xVisibility(xObscured, 2).
  358.  
  359. % configure masks     %% unused - BD 06/07/93
  360. % xConfigure(xX, 0) :- !.
  361. % xConfigure(xY, 1) :- !.
  362. % xConfigure(xWidth, 2) :- !.
  363. % xConfigure(xHeight, 3) :- !.
  364. % xConfigure(xBorderWidth, 4) :- !.
  365. % xConfigure(xSibling, 5) :- !.
  366. % xConfigure(xStackMode, 6) :- !.
  367. % xConfigure(maxindex, 7).
  368.  
  369. % mapping request type     %% unused - BD 06/07/93
  370. % xMapping(xModifier, 0) :- !.
  371. % xMapping(xKeyboard, 1) :- !.
  372. % xMapping(xPointer, 2).
  373.  
  374. % send event window (xSendEvent) %% unused - BD 06/07/93
  375. % xSendWindow(xPointerWindow, 0) :- !.
  376. % xSendWindow(xInputFocus, 1) :- !.
  377. % xSendWindow(N, N).
  378.  
  379. % WM_HINTS Initial State        %% unused - BD 06/07/93
  380. % xInitialState(xWithdrawn, 0) :- !.
  381. % xInitialState(xNormal, 1) :- !.
  382. % xInitialState(xIconic, 3).
  383.  
  384.  
  385.  
  386.