GRCONST.DEF 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. (******************************************************************************)
  2. (* GRCONST.DEF - MetaWINDOW 'Constant' and 'Type' Definitions *)
  3. (* *)
  4. (* Transcribed from GRCONST.H by Metagraphics Software Corporation *)
  5. (* *)
  6. (* PSW 06/28/91 08:30am *)
  7. (******************************************************************************)
  8. (*# module(implementation=>off, init_code=>off) *)
  9. DEFINITION MODULE GrConst;
  10. (*
  11. * Graphix
  12. * Release 3.7
  13. * (c) Copyright 1986-1992 PMI
  14. * Green Bay, Wisconsin
  15. * (414) 468-6040
  16. * All rights reserved
  17. *
  18. *)
  19. (**************************** Constant Definitions ****************************)
  20. CONST
  21. MS_DOS = 1; (* Operating System: Defaults to DOS *)
  22. MW_Ver3 = TRUE; (* Generational compatibility constants. *)
  23. MW_Ver4 = FALSE;
  24. (*** PENMODE & TEXTMODE RasterOp's ***)
  25. zREPz = 0;
  26. zORz = 1;
  27. zXORz = 2;
  28. zNANDz = 3;
  29. zNREPz = 4;
  30. zNORz = 5;
  31. zNXORz = 6;
  32. zANDz = 7;
  33. (*** Graphics Adaptor Definitions ***)
  34. ATI800x600 = 533; (* ATI VGAWonder *)
  35. ATI640x480X = 534; (* 640x480 256-color *)
  36. ATI1024x768F = 535; (* 1024x768 16-color *)
  37. ATT = 128; (* AT&T Std. Color & DEB Adaptors *)
  38. ATT640x400 = 128; (* 640x400 monochrome *)
  39. DEB640x200 = 129; (* 640x200 16-color *)
  40. DEB640x400 = 130; (* 640x400 16-color *)
  41. CGA = 6; (* IBM Color Graphics Adaptor (CGA) *)
  42. CGA320x200 = 4; (* 320x200 4-color *)
  43. CGA640x200 = 6; (* 640x200 2-color *)
  44. COR = 34; (* Cornerstone *)
  45. COR1600x1280V = 34; (* Vista 1600 1600x1280 mono *)
  46. COR1600x1280VA = 37; (* Vista 1600 1600x1280 no em, 2 mon *)
  47. COR1600x1280DP = 35; (* DualPage 1600x1280 mono *)
  48. COR1600x1280DPA = 36; (* DualPage 1600x1280, no JP1 *)
  49. COR1600x1280MCA = 39; (* DualPage 1600x1280 Micro Channel *)
  50. SP768x1008 = 42; (* SinglePage 768x1008 mono *)
  51. SP768x1008A = 43; (* SinglePage 768x1008 no JP1 *)
  52. COR1280x960 = 44; (* PC 1280 1280x960, mono *)
  53. COR1280x960A = 45; (* PC 1280 1280x960, mono *)
  54. COR1280x1024 = 46; (* PC 1280 1280x1024, mono *)
  55. COR1280x1024A = 47; (* PC 1280 1280x1024, mono *)
  56. CT640x480X = 537; (* Chips and Tech. 256 color *)
  57. CT1024x768 = 538; (* 1024x768, 16 color *)
  58. EGA = 512; (* IBM Enhanced Graphics Adaptor *)
  59. EGAMono = 512; (* 640x350 monochrome *)
  60. EGA320x200 = 544; (* 320x200 16-color *)
  61. EGA640x200 = 528; (* 640x200 16-color *)
  62. EGA640x350 = 560; (* 640x350 16-color (128k EGA) *)
  63. MGA640x350 = 561; (* 640x350 2-color *)
  64. EGA640x480 = 562; (* 640x480 16-color (VGA) *)
  65. MGA640x480 = 563; (* 640x480 2-color (MCGA) *)
  66. VGA320x200 = 564; (* 320x200 256-color (PS2 VGA) *)
  67. EGA640x350S = 565; (* 640x350 16-color (no bios-EGA) *)
  68. VGA640x350S = 566; (* 640x350 16-color (no bios-VGA) *)
  69. VGA640x480S = 567; (* 640x480 16-color (no bios-VGA) *)
  70. EGA640x350MP = 131; (* IBM EGA, in multi planar setting *)
  71. JRT320x200 = 569; (* 320x200 16-color IBM PCjr & Tandy 1000 *)
  72. EVA = 516; (* Tseng Labs EVA/480 *)
  73. EVA640x480 = 516; (* 640x480 16-color *)
  74. EVR = 1024; (* Everex Graphics Edge Adaptor *)
  75. EVR640x200 = 1024; (* 640x200 16-color *)
  76. EVR640x400 = 1025; (* 640x400 4-color *)
  77. EVX800x600 = 532; (* Everex EVGA EV-673 Adaptor *)
  78. EXPL320x200 = 140; (* HeadStart Explorer 320x200 16-color *)
  79. FKY1120x750 = 2200; (* Fujitsu FMR 70 16 color *)
  80. FKY640x400 = 2201; (* Fujitsu FMR 60 16 color *)
  81. FKY1120x750m = 2202; (* Fujitsu FMR 70 monochrome *)
  82. GEN = 529; (* Genoa SuperEGA HiRes *)
  83. GEN640x480 = 529; (* 640x480 16-color *)
  84. GEN800x600 = 518; (* 800x600 16-color *)
  85. GEN1024x768 = 519; (* Genoa SuperVGA HiRes-10 16-color *)
  86. GEN640x350X = 530; (* 640x350 256-color *)
  87. GEN640x480X = 531; (* 640x480 256-color *)
  88. GEN800x600V = 539; (* 800x600 16-color *)
  89. (* Genoa SuperVGA (6100/6300/6400) *)
  90. (* GEN640x350S = 582; * 640x350 256-color *)
  91. GEN640x480S = 583; (* 640x480 256-color *)
  92. GEN1024x768S = 584; (* 1024x768 16-color *)
  93. HER = 8; (* Hercules/AST Monochrome Adaptor *)
  94. HER720x348 = 8; (* 720x348 monochrome *)
  95. MDS = 2; (* MDS Genius Graphics Display *)
  96. MDS736x1008 = 2; (* 736x1008 monochrome *)
  97. NNR512x512 = 4096; (* Number Nine 512x485 256-color *)
  98. NNR1024x768 = 4097; (* 2048x4 @ 1024x768x16 *)
  99. NSI = 514; (* NSI Logic Smart EGA/Plus *)
  100. NSI800x600 = 514; (* 800x600 16-color *)
  101. OAK800x600 = 585; (* OAK OTI-067 chip set *)
  102. OAK1024x768 = 586; (* 1024x768 16 color *)
  103. OAK640x480X = 587; (* 640x480 256 color *)
  104. OCD800x600 = 571; (* Orchid Designer VGA 800x600x16 *)
  105. OCD1024x768 = 572; (* 1024x768 16 color *)
  106. OCD640x350X = 573; (* 640x350 256 color *)
  107. OCD640x480X = 574; (* 640x480 256 color *)
  108. PAR = 517; (* Paradise AutoSwitch EGA/480 *)
  109. PAR640x480 = 517; (* 640x480 16-color *)
  110. PAR800x600 = 579; (* Paradise 800x600 16-color *)
  111. PAR1024x768 = 580; (* 1024x768 16-color *)
  112. PAR640x480x = 581; (* 640x480 256-color *)
  113. SIG = 32; (* Sigma Design *)
  114. SIG640x400 = 32; (* 640x400 16-color, Color-400 *)
  115. SIG1664x1200 = 33; (* LaserView 1664x1200 monochome *)
  116. SIG1664x1200A = 38; (* 1664x1200 @0A000 *)
  117. SIG1664x1200MCA = 41; (* 1664x1200 Micro channel *)
  118. STB = 256; (* STB GraphicsPlus-II Adaptor *)
  119. STB640x352 = 256; (* 640x352 monochrome *)
  120. STB320x200 = 257; (* 320x200 16-color *)
  121. STB640x200 = 258; (* 640x200 4-color *)
  122. STB640x400 = 384; (* 640x400 monochrome *)
  123. STB800x600 = 571; (* STB VGA Extra/EM 800x600x16 *)
  124. STB1024x768 = 572; (* 1024x768 16 color *)
  125. STB640x350X = 573; (* 640x350 256 color *)
  126. STB640x480X = 574; (* 640x480 256 color *)
  127. TEC = 16; (* Tecmar Graphics-Master Adaptor *)
  128. TEC720x352 = 16; (* 720x352 monochrome *)
  129. TEC720x704 = 17; (* 720x704 monochrome *)
  130. TEC320x200 = 18; (* 320x200 16-color *)
  131. TEC640x200 = 19; (* 640x200 16-color *)
  132. TEC640x400 = 20; (* 640x400 16-color *)
  133. TEC640x350X = 575; (* Tecmar VGA/AD, 640x350 256-color *)
  134. TEC640x480X = 576; (* 640x480 256-color *)
  135. TEC800x600 = 577; (* 800x600 16-color *)
  136. TEC1024x768 = 578; (* 1024x768 16-color *)
  137. TOS = 16384; (* Toshiba 3100 *)
  138. TOS640x400 = 16384; (* 640x400 monochrome *)
  139. TRI800x600 = 588; (* Trident Impact SuperVGA, 16 color *)
  140. TRI1024x768 = 589; (* 1024x768x16 color *)
  141. TRI640x480x = 590; (* 640x480x256 color *)
  142. TRI800x600x = 591; (* 800x600x256 color *)
  143. TRI1024x768x = 592; (* 1024x768x256 color *)
  144. TARG512x482 = 8192; (* TrueVision Targa M8 512x482 256-color *)
  145. (* Tseng Labs 4000 chip set *)
  146. (* TS41024x768 = 540 This chip does not work in 128k flat mode *)
  147. TS4640x350x = 541; (* 640x350x256 *)
  148. TS4640x480x = 542; (* 640x480x256 *)
  149. TS4800x600x = 543; (* 800x600x256 *)
  150. TS41024x768x = 545; (* 1024x768x256 *)
  151. TTS = 2048; (* IBM 3270 PC *)
  152. TTS720x350 = 2048; (* 720x350 monochrome *)
  153. TTS360x350 = 2049; (* 360x350 4-color *)
  154. VESA800x600 = 526; (* V.E.S.A. std 800x600 16-color *)
  155. VGA = 520; (* Video-7 VEGA Deluxe *)
  156. VGA640x480 = 520; (* 640x480 16-color *)
  157. VGA752x410 = 521; (* 752x410 16-color *)
  158. VGA720x540 = 522; (* V7 VGA 720x540 16-color *)
  159. VGA800x600 = 523; (* 800x600 16-color (VGA) *)
  160. VGA640x480X = 525; (* V7 640x480 256-color *)
  161. VGA1024x768x2 = 527; (* 1024x768 2-color *)
  162. VGA1024x768 = 536; (* VGA 1024 i 1024x768 16-color *)
  163. WYS = 64; (* Wyse WY-700 Graphics Display *)
  164. WYS1280x800 = 64; (* 1280x800 monochrome *)
  165. WYS1280x400 = 65; (* 1280x400 monochrome *)
  166. WYS640x400 = 66; (* 640x400 monochrome *)
  167. MEC1120x750 = 610; (* NEC PC 98XA monochrome *)
  168. MEC640x400 = 611; (* NEC PC 98VM monochrome *)
  169. NEC1120x750 = 626; (* NEC PC 98XA 16-color *)
  170. NEC640x400 = 627; (* NEC PC 98VM 16-color *)
  171. (* Defines for National Design Genesis-1024/1280 *)
  172. NDI640x480x4D = 4140H; (* 640x480 16-color, digitl *)
  173. NDI640x480x4A = 4141H; (* 640x480 16-color, analog *)
  174. NDI1024x768x4J = 4148H; (* 1024x768 16-color, JVC *)
  175. NDI1024x768x4M = 4149H; (* 1024x768 16-color, Mitsu. *)
  176. NDI1280x1024x4J = 414AH; (* 1280x1024 16-color, JVC *)
  177. NDI960x720x4N = 414BH; (* 960x720 16-color, NEC XL *)
  178. (* Defines for RenaissanceGRX Rendition-II *)
  179. GRX640x480x4A = 4240H; (* 640x480 16-color, analog *)
  180. GRX800x600x4A = 4242H; (* 800x600 16-color, analog *)
  181. GRX1024x768x4A = 4246H; (* 1024x768 16-color, analog *)
  182. GRX640x480x8A = 4248H; (* 640x480 256-color, analog *)
  183. GRX800x600x8A = 424AH; (* 800x600 256-color, analog *)
  184. GRX1024x768x8A = 424CH; (* 1024x768 256-color, analog *)
  185. (* Defines for Hewlett-Packard HP82328 IGC *)
  186. HP1024x768x4 = 664AH; (* 1024x768 16-color *)
  187. (* Defines for IBM 8514A (and compatibles) *)
  188. EFF640x480x4 = 7000H; (* 640x480 16-color *)
  189. EFF640x480x8 = 7001H; (* 640x480 256-color *)
  190. EFF1024x768x4I = 7040H; (* 1024x768 16-color, intlacd *)
  191. EFF1024x768x4N = 7041H; (* 1024x768 16-color, non-inl *)
  192. EFF1024x768x8I = 7042H; (* 1024x768 256-color, intlacd *)
  193. EFF1024x768x8N = 7043H; (* 1024x768 256-color, non-inl *)
  194. EFF1280x1024x4I = 7080H; (* 1280x1024 16-color, intlacd *)
  195. EFF1280x1024x4N = 7081H; (* 1280x1024 16-color, non-inl *)
  196. EFF1280x1024x8I = 7082H; (* 1280x1024 256-color, intlacd *)
  197. EFF1280x1024x8N = 7083H; (* 1280x1024 256-color, non-inl *)
  198. CUST_LIN = CGA640x200; (* User defined linear memory *)
  199. CUST_BS = SIG640x400; (* User defined Bank select *)
  200. CUST_EGA = EGA640x350; (* User defined EGA Superset *)
  201. (*** HardCopy Constant definitions. ***)
  202. HC_ROT = 01H; (* When set, rotate pic 90 CCW *)
  203. HC_XL = 08H; (* When set, disables default background xlate *)
  204. HC_ASC = 10H; (* When set, emits ascii length, instead of hex *)
  205. (* Typically used for HP LaserJet printers *)
  206. (*** Mouse Definitions ***)
  207. COM1 = 1; (* Mouse Systems mouse, COM1 *)
  208. COM2 = 2; (* Mouse Systems mouse, COM2 *)
  209. (* MsMouse = 16; Microsoft Bus Mouse - obselete *)
  210. MsCOM1 = 17; (* Microsoft Serial Mouse, COM1 *)
  211. MsCOM2 = 18; (* Microsoft Serial Mouse, COM2 *)
  212. MsDriver = 32; (* Microsoft Mouse driver *)
  213. FKYMsDriver = 128; (* FKY Microsoft Mouse driver, uses int 99*)
  214. swRight = 1;
  215. swMiddle = 2; (* (not on 2 button mice) *)
  216. swLeft = 4;
  217. swAll = 7;
  218. Black = 0; (* all bits OFF *)
  219. White = -1; (* all bits ON *)
  220. TextPg0 = 0;
  221. GrafPg0 = 256;
  222. GrafPg1 = 257;
  223. ScrnXmin = 0;
  224. ScrnYmin = 0;
  225. cNormal = 0; (* TEXTFACE *)
  226. cBold = 1;
  227. cItalic = 2;
  228. cUnderline = 4;
  229. cStrikeout = 8;
  230. cMirrorX = 32;
  231. cMirrorY = 64;
  232. cProportional = 128;
  233. alignLeft = 0; (* TEXTALIGN - Horizontal *)
  234. alignCenter = 1;
  235. alignRight = 2;
  236. alignBaseline = 0; (* TEXTALIGN - Vertical *)
  237. alignBottom = 1;
  238. alignMiddle = 2;
  239. alignTop = 3;
  240. pathRight = 0; (* TEXTPATH definitions *)
  241. pathUp = 900;
  242. pathLeft = 1800;
  243. pathDown = 2700;
  244. capFlat = 0; (* PENCAP definitions *)
  245. capRound = 1;
  246. capSquare = 2;
  247. joinRound = 0; (* PENJOIN definitions *)
  248. joinBevel = 1;
  249. joinMiter = 2;
  250. (*** TYPE Definitions. ***)
  251. TYPE
  252. image = BYTE;
  253. point = RECORD (* "Point" structure type *)
  254. X, (* X coordinate *)
  255. Y: INTEGER (* Y coordinates *)
  256. END;
  257. adsPoint = POINTER TO point;
  258. rect = RECORD (* "Rectangle" structure type *)
  259. Xmin, (* minimum X *)
  260. Ymin, (* minimum Y *)
  261. Xmax, (* maximum X *)
  262. Ymax: INTEGER (* maximum Y *)
  263. END;
  264. polyHead = RECORD (* Polygon "header" structure *)
  265. polyBgn, (* beginning index *)
  266. polyEnd: CARDINAL; (* ending index *)
  267. polyRect: rect; (* boundry limits *)
  268. END;
  269. adsPolyHead = POINTER TO polyHead;
  270. (*%T MW_Ver3 *)
  271. event = RECORD (* Event record structure *)
  272. ASCII: CHAR; (* ASCII character code *)
  273. ScanCode: BYTE; (* Keyboard scan code *)
  274. State: CARDINAL; (* Keyboard & mouse switches *)
  275. CursorX, (* Cursor X position *)
  276. CursorY, (* Cursor Y position *)
  277. Time: INTEGER; (* System time of event *)
  278. evntData: LONGINT; (* User defined 32 bit item *)
  279. END;
  280. (*%E MW_Ver3 *)
  281. (*%T MW_Ver4 *)
  282. event = RECORD (* Event record structure *)
  283. evntASCII: CHAR; (* ASCII character code *)
  284. evntScanCode: BYTE; (* Keyboard scan code *)
  285. evntState: CARDINAL; (* Keyboard & mouse switches *)
  286. evntCursorX, (* Cursor X position *)
  287. evntCursorY, (* Cursor Y position *)
  288. evntTime: INTEGER; (* System time of event *)
  289. evntData: LONGINT; (* User defined 32 bit item *)
  290. END;
  291. (*%E MW_Ver4 *)
  292. cursor = RECORD (* Cursor Image definition *)
  293. curWidth, (* must be 16 *)
  294. curHeight, (* must be 16 *)
  295. curAlign, (* must be 0 *)
  296. curRowBytes: CARDINAL; (* must be 2 *)
  297. curBits, (* must be 1 *)
  298. curPlanes: SHORTCARD; (* must be 1 *)
  299. curData: ARRAY [0..31] OF BYTE; (* cursor data bytes *)
  300. END;
  301. patRcd = RECORD (* Pattern Image definition *)
  302. patWidth, (* must be 8 *)
  303. patHeight, (* must be 8 *)
  304. patAlign, (* must be zero *)
  305. patRowBytes: CARDINAL; (* must be equal to patBits *)
  306. patBits, (* value of 1,2,4 or 8 *)
  307. patPlanes: SHORTCARD; (* value of 1 thru 32 *)
  308. patData: ARRAY[0..31] OF BYTE;(* pattern data bytes *)
  309. END;
  310. penState = RECORD (* Pen State record structure *)
  311. psBkColor, (* Background color *)
  312. psPnColor: LONGINT; (* Pen color *)
  313. psPnLoc, (* Pen location *)
  314. psPnSize: point; (* Pen size *)
  315. psPnMode, (* Pen mode (rasterOp) *)
  316. psPnPat, (* Pen pattern index *)
  317. psPnCap, (* Pen end-cap style *)
  318. psPnJoin, (* Line join style *)
  319. psPnDash, (* Line dash style *)
  320. psPnOffset, (* Dash starting offset *)
  321. psPnLevel: CARDINAL; (* Pen visibility level *)
  322. END;
  323. dirRec = RECORD (* FILEQUERY - directory record *)
  324. reserved: ARRAY[0..20] OF BYTE; (* (DOS reserved) *)
  325. fileAttr: BYTE; (* File attribute *)
  326. fileTime: CARDINAL; (* File create time *)
  327. fileDate: CARDINAL; (* File create date *)
  328. fileSize: LONGCARD; (* File size (bytes) *)
  329. fileName: ARRAY[0..13] OF CHAR; (* "FILENAME.EXT\0" *)
  330. END;
  331. imageHeader = RECORD (* Image Header record structure *)
  332. imWidth, (* Pixel width (X) *)
  333. imHeight, (* Pixel height (Y) *)
  334. imAlign, (* Image alignment *)
  335. imRowBytes:CARDINAL; (* Bytes per row *)
  336. imBits, (* Bits per pixel *)
  337. imPlanes: SHORTCARD; (* Planes per pixel *)
  338. (* char imData[]; *) (* (image data, variable length) *)
  339. END;
  340. adsImage = POINTER TO imageHeader;
  341. dashRcd = RECORD (* DEFINEDASH data record *)
  342. nCnts, (* number of active entries, 1-8 *)
  343. cnt1, (* distance ON, 1 *)
  344. cnt2, (* distance OFF, 2 *)
  345. cnt3, (* distance ON, 3 *)
  346. cnt4, (* distance OFF, 4 *)
  347. cnt5, (* distance ON, 5 *)
  348. cnt6, (* distance OFF, 6 *)
  349. cnt7, (* distance ON, 7 *)
  350. cnt8: CARDINAL; (* distance OFF, 8 *)
  351. END;
  352. (* Write/ReadPalette *)
  353. palData = RECORD
  354. palRed,
  355. palGreen,
  356. palBlue: WORD;
  357. END;
  358. (* HardCopy Types *)
  359. (* The following allow objects of type HCInfoRec to be initialised using *)
  360. (* TopSpeed Modula-2 agregate initialisation (see HARDCOPY.MOD) *)
  361. init = ARRAY [0..1FH] OF BYTE; (* The printer init code(s). *)
  362. reset = ARRAY [0..0FH] OF BYTE; (* Printer clean up code(s) *)
  363. header = ARRAY [0..07H] OF BYTE; (* Sent before every line *)
  364. pstam = ARRAY [0..07H] OF BYTE; (* Sent after length spec *)
  365. trailer = ARRAY [0..0FH] OF BYTE; (* Sent after every line *)
  366. hcSIG = ARRAY [0..01H] OF BYTE; (* Set to 'HC' for validity check *)
  367. xlaTable = ARRAY [0..0FH] OF BYTE; (* Color translation table *)
  368. HCInfoRec = RECORD
  369. pins, (* Number of elements in print swath. *)
  370. (* Use 1 for Laser printers *)
  371. inlen: INTEGER; (* Number of bytes in following string *)
  372. init: init; (* The printer init code(s). *)
  373. rslen: INTEGER; (* Number of bytes in following string *)
  374. reset: reset; (* Printer clean up code(s) *)
  375. hdlen: INTEGER; (* Number of bytes in following string *)
  376. header: header; (* Sent before every line *)
  377. pstlen: INTEGER; (* Number of bytes in following string *)
  378. pstam: pstam; (* Sent after length spec *)
  379. trlen: INTEGER; (* Number of bytes in following string *)
  380. trailer: trailer; (* Sent after every line *)
  381. hcMode: INTEGER; (* Operational mode bits *)
  382. prtPort: INTEGER; (* System printer port, 0-3 or 80-83 *)
  383. hcSIG: hcSIG; (* Set to 'HC' for validity check *)
  384. xlatMask: INTEGER; (* Max color number in xlaTable *)
  385. xlaTable: xlaTable; (* Color translation table *)
  386. END;
  387. mapArray = ARRAY [0..7] OF INTEGER; (* CursorMap data record *)
  388. (* Sample User Definable Types: *)
  389. CCBtype = RECORD (*User Definable Clock_Communication_Block*)
  390. Timer: CARDINAL;
  391. tX,
  392. tY,
  393. tSw: INTEGER;
  394. END;
  395. MCBtype = RECORD (*User Definable Mouse_Communication_Block*)
  396. mX,
  397. mY,
  398. mSw: INTEGER;
  399. END;
  400. colrTable = ARRAY [0..15] OF LONGINT;
  401. END GrConst.