SCRNCOMP.EDT 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. (* $Header: D:/logfiles/demos/scrncomp.edv 1.2 16 Dec 1990 18:12:54 coleb $ *)
  2. ================================================================================
  3. :Banner
  4. Parent Frame: 0
  5. (*Means the parent frame of this screen is outside the
  6. program--pressing the backup key will take you to the DOS
  7. command line.*)
  8. Normal Next: TopMenu
  9. Hit Any Key
  10. Window:{
  11. ClearAfter
  12. Position: ( 5,2, 75,255 )
  13. }
  14. Colors:{
  15. NormalText = (Black, LightGrey) ReverseVideo
  16. Border = (Red, black) Plain
  17. à = (yellow, brown) Reverse Video
  18. (*This character (224) delimits areas in which Light Magenta
  19. characters appear on a Black background.*)
  20. ƒ = (BrightWhite, Green) Plain
  21. (*This character (131) delimits areas in which Bright White
  22. characters appear on a black background.*)
  23. $ = (Red, Green) Plain
  24. & = (LightGrey, black) Plain
  25. }
  26. --------------------------------------------------------------------------------
  27. à ËÍÍ» ËÍÍ» ËÍÍ» ËÍÍ» ËÍÍ» ÉÍËÍ» ÉÍÍ» ÍËÍ ËÍÍ» ËÍÍ» (R) à
  28. &à ÌÍ˼ ÌÍ ÌÍͼ ÌÍ ÌÍ˼ º º º º ÌÍ˼ ÌÍ à &
  29. &à Ê ÈÍ ÊÍͼ Ê ÊÍͼ Ê ÈÍ Ê ÈÍͼ ÍÊÍ Ê ÈÍ ÊÍͼ à &
  30. &àÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ à &
  31. & &
  32. $ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿$
  33. &$³ ƒ - from - ƒ ³$ &
  34. &$³ ƒ ƒ ³$ &
  35. &$³ ƒ P M I ƒ ³$ &
  36. &$³ ƒ ƒ ³$ &
  37. &$³ ƒ 3279 North Nicolet Dr ƒ ³$ &
  38. &$³ ƒ Green Bay Wisconsin 54311 ƒ ³$ &
  39. &$³ ƒ tel: (414) 468-6040 ƒ ³$ &
  40. &$³ ƒ fax: (414) 465-0464 ƒ ³$ &
  41. &$³ ƒ (c) Copyright PMI 1985-1991 ƒ ³$ &
  42. &$³ ƒ All Rights Reserved ƒ ³$ &
  43. &$ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ$ &
  44. & &
  45. ===============================================================================
  46. :TopMenu
  47. ParentFrame: Banner
  48. FrameBelow: FileMenu
  49. Help:{
  50. TopHelp}
  51. Fields:{
  52. (F) '' Goto FileMenu; prompt
  53. Press Return now to open or change ScrnComp's primary input and output files.
  54. (E) '' Goto EditMenu; prompt
  55. Lets you examine and change the source text of a screen or a file.
  56. (C) '' Goto CompMenu; prompt
  57. Lets you compile the source text of a screen or file of screens (.EDT file).
  58. (D) '' Goto DispMenu; prompt
  59. Displays visual result of the last frame compiled or of a specific frame.
  60. (R) '' Goto EntryPrompt; prompt
  61. Execute a prototype formed by links between frames in current .DSP file.
  62. (P) '' Goto PrintMenu; prompt
  63. Write a specified frame to a file or device.
  64. (s) '' Goto BlankScreen; prompt
  65. Clears the area beneath this menu.
  66. (x) '' Goto 0; prompt
  67. Close all files and return to DOS.
  68. }
  69. Window:{
  70. EntryBox: ÚÄ·³ºÔͼ
  71. ExitBox: ÚÄ·³ºÔͼ
  72. Position: (1, 1, 80, 3)
  73. }
  74. Colors:{
  75. PointerBar = (black, red) ReverseVideo
  76. NormalText = (Black, LightGrey) Plain
  77. Border = (Red, black) Plain
  78. }
  79. -------------------------------------------------------------------------------
  80. #File# #Edit# #Compile# #Display# #Run# #Print# #Clear screen# #Exit#
  81. ===============================================================================
  82. :DispMenu
  83. ParentFrame: TopMenu
  84. FrameLeft: CompMenu
  85. FrameRight: FileMenu
  86. Fields:{
  87. (C) '' Goto NoCurrent; prompt
  88. Display the frame most recently compiled.
  89. (S) '' Goto FramePrompt; prompt
  90. Display a specific frame in the current .DSP file.
  91. (L) '' Goto ListBox; prompt
  92. Display a list of all the frame names in the current .DSP file.
  93. }
  94. Window:{
  95. No Box
  96. ClearAfter
  97. EntryBox: ÑÍ˳ºÔͼ
  98. ExitBox: ÑÍ˳ºÔͼ
  99. Position: (23, 3, 41, 7)
  100. }
  101. Colors:{
  102. PointerBar = (black, red) ReverseVideo
  103. NormalText = (Black, LightGrey) Plain
  104. Border = (Red, black) Plain
  105. }
  106. -------------------------------------------------------------------------------
  107. #Current frame#
  108. #Specific frame#
  109. #List of frames#
  110. ===============================================================================
  111. :ListBox
  112. ParentFrame: DispMenu
  113. Window:{
  114. EntryBox: ÚÄ·³ºÔͼ
  115. ExitBox: ÚÄ¿³³ÀÄÙ
  116. Position: (55, 4, 78, 253)
  117. (*The 253 means the bottom row is 3 up from wherever the
  118. bottom of the physical screen happens to be.*)
  119. }
  120. Colors:{
  121. PointerBar = (red, LightGrey) ReverseVideo
  122. NormalText = (black, LightGrey) plain
  123. Border = (red, black) plain
  124. }
  125. -------------------------------------------------------------------------------
  126. ===============================================================================
  127. :FileMenu
  128. ParentFrame: TopMenu
  129. FrameRight: EditMenu
  130. FrameLeft: DispMenu
  131. Fields:{
  132. (E) '' Goto EdtName; prompt; EdtFileHelp
  133. If you already have an .EDT file open, you'll be allowed to save it.
  134. (D) '' Goto DspName; prompt
  135. A .DSP file is a file of DiSPlayable screens.
  136. (f) '' Goto FramePrompt; prompt
  137. You will be prompted for the name of the frame you want to delete.
  138. (C) '' Goto FileName; prompt
  139. Removes holes created by deletions or size changes.
  140. }
  141. Window:{
  142. No Box
  143. ClearAfter
  144. EntryBox: ÑÍ˳ºÔͼ
  145. ExitBox: ÑÍ˳ºÔͼ
  146. Position: (2, 3, 21, 8)
  147. }
  148. Colors:{
  149. PointerBar = (black, red) ReverseVideo
  150. NormalText = (Black, LightGrey) Plain
  151. Border = (Red, black) Plain
  152. }
  153. -------------------------------------------------------------------------------
  154. #Open .EDT file#
  155. #Open .DSP file#
  156. #Delete frame#
  157. #Crunch .DSP file#
  158. ===============================================================================
  159. :CompMenu
  160. ParentFrame: TopMenu
  161. FrameLeft: EditMenu
  162. FrameRight: DispMenu
  163. Fields:{
  164. (E) '' Goto EditQ; prompt
  165. Compiles the CURRENT .EDT file if you have one open; see Files menu.
  166. (S) '' Goto FramePrompt; prompt
  167. Prompts for a frame name and tries to find it in the current .EDT file.
  168. (C) '' Goto StoreQ; prompt
  169. Current frame means the last individual frame edited or compiled.
  170. }
  171. Window:{
  172. No Box
  173. ClearAfter
  174. EntryBox: ÑÍ˳ºÔͼ
  175. ExitBox: ÑÍ˳ºÔͼ
  176. Position: (13, 3, 31, 7)
  177. }
  178. Colors:{
  179. PointerBar = (black, red) ReverseVideo
  180. NormalText = (Black, LightGrey) Plain
  181. Border = (Red, black) Plain
  182. }
  183. -------------------------------------------------------------------------------
  184. #.EDT file#
  185. #Specific frame#
  186. #Current frame#
  187. ===============================================================================
  188. :EditMenu
  189. ParentFrame: TopMenu
  190. FrameLeft: FileMenu
  191. FrameRight: CompMenu
  192. Help:{
  193. EditHelp
  194. }
  195. Fields:{
  196. (E) '' Goto EdtName
  197. (*Note that we can't have Goto TopMenu here because
  198. ControlFrameGroup needs a NextFrame not equal to ParentFrame
  199. to signal the end of the group.*)
  200. (S) '' Goto FramePrompt
  201. (f) '' Goto EdtName
  202. (A) '' Goto FileName
  203. }
  204. Window:{
  205. No Box
  206. ClearAfter
  207. EntryBox: ÑÍ˳ºÔͼ
  208. ExitBox: ÑÍ˳ºÔͼ
  209. Position: (7, 3, 27, 8)
  210. }
  211. Colors:{
  212. PointerBar = (black, red) ReverseVideo
  213. NormalText = (Black, LightGrey) Plain
  214. Border = (Red, black) Plain
  215. }
  216. -------------------------------------------------------------------------------
  217. #Current .EDT file#
  218. #Specific frame#
  219. #Current frame#
  220. #ASCII file#
  221. ===============================================================================
  222. :FramePrompt
  223. NormalNext: StoreQ
  224. Fields:{
  225. () 'TheStr' String
  226. }
  227. Window:{
  228. ClearAfter
  229. Position: ( 5, 7, 40, 14 )
  230. }
  231. Colors:{
  232. PointerBar = (LightGrey, black) ReverseVideo
  233. NormalText = (black, Brown) plain
  234. Border = (brown, black) plain
  235. }
  236. -------------------------------------------------------------------------------
  237. Please enter the name
  238. of the frame:
  239. # #
  240. ===============================================================================
  241. :EntryPrompt
  242. ParentFrame: TopMenu
  243. NormalNext: NewEntry
  244. Fields:{
  245. () 'TheStr' String
  246. }
  247. Window:{
  248. ClearAfter
  249. Position: ( 5, 5, 40, 15 )
  250. }
  251. Colors:{
  252. PointerBar = (LightGrey, black) ReverseVideo
  253. NormalText = (LightBlue, Brown) plain
  254. Border = (DarkGrey, Brown) plain
  255. }
  256. -------------------------------------------------------------------------------
  257. Please enter the name
  258. of the first frame in
  259. the sequence:
  260. # #
  261. ===============================================================================
  262. :NewEntry
  263. ParentFrame: TopMenu
  264. NormalNext: EntryPrompt
  265. Fields:{
  266. () 'TheStr' String
  267. }
  268. Window:{
  269. ClearAfter
  270. Position: ( 5, 5, 55, 15 )
  271. }
  272. Colors:{
  273. PointerBar = (LightGrey, black) ReverseVideo
  274. NormalText = (LightBlue, Brown) plain
  275. Border = (DarkGrey, Brown) plain
  276. }
  277. -------------------------------------------------------------------------------
  278. The frame below is not a name
  279. in this file. Please enter
  280. a new name, or press Escape to
  281. terminate the sequence:
  282. # #
  283. ===============================================================================
  284. :EdtName
  285. NormalNext: TopMenu
  286. Fields:{
  287. () 'TheStr' String
  288. }
  289. Window:{
  290. ClearAfter
  291. Position: ( 5, 5, 55, 15 )
  292. }
  293. Colors:{
  294. PointerBar = (LightGrey, black) ReverseVideo
  295. NormalText = (blue, brown) plain
  296. Border = (DarkGrey, brown) plain
  297. }
  298. -------------------------------------------------------------------------------
  299. Please enter the name of the .EDT file
  300. (.EDT extension assumed):
  301. # #
  302. ===============================================================================
  303. :DspName
  304. NormalNext: TopMenu
  305. Fields:{
  306. () 'TheStr' String
  307. }
  308. Window:{
  309. ClearAfter
  310. Position: ( 5, 5, 55, 15 )
  311. }
  312. Colors:{
  313. PointerBar = (LightGrey, black) ReverseVideo
  314. NormalText = (LightBlue, Brown) plain
  315. Border = (DarkGrey, Brown) plain
  316. }
  317. -------------------------------------------------------------------------------
  318. Please enter the name of the .DSP file
  319. (.DSP extension assumed):
  320. # #
  321. ===============================================================================
  322. :FileName
  323. ParentFrame: FileMenu
  324. NormalNext: TopMenu
  325. Fields:{
  326. () 'TheStr' String
  327. }
  328. Window:{
  329. ClearAfter
  330. Position: ( 5, 5, 55, 15 )
  331. }
  332. Colors:{
  333. PointerBar = (LightGrey, black) ReverseVideo
  334. NormalText = (LightBlue, Brown) plain
  335. Border = (DarkGrey, Brown) plain
  336. }
  337. -------------------------------------------------------------------------------
  338. Please enter the full name of the file:
  339. # #
  340. ===============================================================================
  341. :NoCurrent
  342. NormalNext: TopMenu
  343. ParentFrame: DispMenu
  344. HitAnyKey
  345. Window:{
  346. ClearAfter
  347. Position: ( 38, 5, 77, 10 )
  348. }
  349. Colors:{
  350. NormalText = (LightGrey, blue) plain
  351. Border = (green, blue) plain
  352. }
  353. -------------------------------------------------------------------------------
  354. "Current Frame" means the last
  355. frame compiled. You haven't yet
  356. compiled anything, so there is no
  357. Current Frame.
  358. ===============================================================================
  359. :FileError
  360. NormalNext: TopMenu
  361. ParentFrame: TopMenu
  362. HitAnyKey
  363. Window:{
  364. ClearAfter
  365. Position: ( 40, 5, 75, 10 )
  366. }
  367. Colors:{
  368. NormalText = (BrightWhite, brown) plain
  369. Border = (Yellow, brown) plain
  370. }
  371. -------------------------------------------------------------------------------
  372. Error opening file. You may
  373. have mistyped the file name, or
  374. DOS may be denying access to the
  375. file.
  376. ===============================================================================
  377. :CreateQ
  378. NormalNext: TopMenu
  379. ParentFrame: FileMenu
  380. Fields:{
  381. () '' Group 2
  382. (Y) '' Choice
  383. (N) '' Choice
  384. }
  385. Window:{
  386. ClearAfter
  387. Position: ( 45, 5, 75, 10 )
  388. }
  389. Colors:{
  390. NormalText = (LightGrey, blue) plain
  391. Border = (green, blue) plain
  392. }
  393. -------------------------------------------------------------------------------
  394. File not found. Create it?
  395. #Yes# #No#
  396. ===============================================================================
  397. :StoreQ
  398. NormalNext: TopMenu
  399. ParentFrame: FileMenu
  400. Fields:{
  401. () '' Group 2
  402. (Y) '' Choice
  403. (N) '' Choice
  404. }
  405. Window:{
  406. ClearAfter
  407. Position: ( 43, 5, 75, 10 )
  408. }
  409. Colors:{
  410. NormalText = (blue, LightGrey) plain
  411. Border = (green, LightGrey) plain
  412. }
  413. -------------------------------------------------------------------------------
  414. Frame compiled successfully.
  415. Store it in the file?
  416. #Yes# #No#
  417. ===============================================================================
  418. :DisplayQ
  419. NormalNext: TopMenu
  420. ParentFrame: EditMenu
  421. Fields:{
  422. () '' Group 2
  423. (Y) '' Choice
  424. (N) '' Choice
  425. }
  426. Window:{
  427. ClearAfter
  428. Position: ( 45, 5, 70, 10 )
  429. }
  430. Colors:{
  431. NormalText = (LightGrey, blue) plain
  432. Border = (green, blue) plain
  433. }
  434. -------------------------------------------------------------------------------
  435. Display this frame?
  436. #Yes# #No#
  437. ===============================================================================
  438. :EditQ
  439. NormalNext: CompMenu
  440. ParentFrame: TopMenu
  441. Fields:{
  442. () '' Group 2
  443. (Y) '' Choice
  444. (N) '' Choice
  445. }
  446. Window:{
  447. ClearAfter
  448. Position: ( 45, 5, 72, 10 )
  449. }
  450. Colors:{
  451. NormalText = (LightGrey, blue) plain
  452. Border = (green, blue) plain
  453. }
  454. -------------------------------------------------------------------------------
  455. Edit the current frame?
  456. #Yes# #No#
  457. ===============================================================================
  458. :SaveQ
  459. NormalNext: TopMenu
  460. ParentFrame: EditMenu
  461. Fields:{
  462. () '' Group 2
  463. (Y) '' Choice
  464. (N) '' Choice
  465. }
  466. Window:{
  467. ClearAfter
  468. Position: ( 45, 5, 70, 10 )
  469. }
  470. Colors:{
  471. NormalText = (LightGrey, blue) plain
  472. Border = (green, blue) plain
  473. }
  474. -------------------------------------------------------------------------------
  475. Save changes?
  476. #Yes# #No#
  477. ===============================================================================
  478. :SaveEdt
  479. NormalNext: TopMenu
  480. ParentFrame: EditMenu
  481. Fields:{
  482. () '' Group 2
  483. (Y) '' Choice
  484. (N) '' Choice
  485. }
  486. Window:{
  487. ClearAfter
  488. Position: ( 45, 5, 70, 12 )
  489. }
  490. Colors:{
  491. NormalText = (LightGrey, blue) plain
  492. Border = (green, blue) plain
  493. }
  494. -------------------------------------------------------------------------------
  495. Do you want to write
  496. the current .EDT file
  497. back to disk?
  498. #Yes# #No#
  499. ===============================================================================
  500. :TopHelp
  501. NormalNext: 0
  502. ParentFrame: 0
  503. Window:{
  504. ClearAfter
  505. Position: ( 33, 5, 77, 17 )
  506. }
  507. Colors:{
  508. NormalText = (BrightWhite, brown) plain
  509. Border = (Yellow, brown) plain
  510. }
  511. -------------------------------------------------------------------------------
  512. This is the top level menu in the
  513. "integrated environment" version of
  514. ScrnComp. You can use ScrnComp from the
  515. DOS command line by removing ScrnComp.DSP
  516. from your hard disk, or by invoking
  517. ScrnComp like this:
  518. SCRNCOMP [EdtFileName] [DspFileName] /C
  519. This adds all the frames in [EdtFileName]
  520. to [DspFileName].
  521. ===============================================================================
  522. :EditHelp
  523. NormalNext: 0
  524. ParentFrame: 0
  525. Window:{
  526. SingleBox
  527. ClearAfter
  528. Position: ( 20, 10, 70, 16 )
  529. }
  530. Colors:{
  531. NormalText = (BrightWhite, brown) plain
  532. Border = (Yellow, brown) plain
  533. }
  534. -------------------------------------------------------------------------------
  535. Remember that you have to open an .EDT file
  536. with the top menu's Files option before you
  537. can use the "Specific frame" or "Current frame"
  538. options in the Edit menu.
  539. ===============================================================================
  540. :EdtFileHelp
  541. NormalNext: 0
  542. ParentFrame: 0
  543. Window:{
  544. SingleBox
  545. ClearAfter
  546. Position: ( 20, 10, 70, 16 )
  547. }
  548. Colors:{
  549. NormalText = (BrightWhite, brown) plain
  550. Border = (Yellow, brown) plain
  551. }
  552. -------------------------------------------------------------------------------
  553. An .EDT file is like source code for
  554. Repertoire's screen compiler. It contains
  555. EDiTable representations of screens. If you
  556. open one, compile it, and then open and compile
  557. another without changing .DSP files, all the
  558. screens in both .EDT files will be added to the
  559. same .DSP file.
  560. ===============================================================================
  561. :BlankScreen
  562. NormalNext: TopMenu
  563. ParentFrame: TopMenu
  564. DisplayOnly
  565. Window:{
  566. NoBox
  567. ClearAfter
  568. Position: ( 1, 4, 256, 256 )
  569. }
  570. Colors:{
  571. NormalText = (lightgrey, black) plain
  572. }
  573. -------------------------------------------------------------------------------
  574. ===============================================================================
  575. :StatusFrame
  576. FieldMark: #; replace
  577. NormalNext: TopMenu
  578. ParentFrame: TopMenu
  579. DisplayOnly
  580. Window:{
  581. EntryBox: ÚÄ·³ºÔͼ
  582. ExitBox: ÚÄ·³ºÔͼ
  583. Position: ( 47, 4, 76, 15 )
  584. }
  585. Fields:{
  586. () 'line1' string
  587. () 'line2' string
  588. () 'line3' string
  589. }
  590. Colors:{
  591. NormalText = (black, LightGrey) ReverseVideo
  592. Border = (red, black) Plain
  593. }
  594. -------------------------------------------------------------------------------
  595. $ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿$
  596. &$³ ³$ &
  597. &$³ # # ³$ &
  598. &$³ # # ³$ &
  599. &$³ # # ³$ &
  600. &$³ ³$ &
  601. &$ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ$ &
  602. & &
  603. ===============================================================================
  604. :PrintDialog
  605. NormalNext: PrintDialog
  606. ParentFrame: TopMenu
  607. Fields:{
  608. () 'FrameName' String; required
  609. () 'DeviceName' String; required
  610. }
  611. Window:{
  612. ClearAfter
  613. Position: ( 5, 5, 55, 15 )
  614. }
  615. Colors:{
  616. PointerBar = (LightGrey, black) ReverseVideo
  617. NormalText = (LightBlue, Brown) plain
  618. Border = (DarkGrey, Brown) plain
  619. }
  620. -------------------------------------------------------------------------------
  621. Name of frame to be printed:
  622. # #
  623. Name of file or device to which the
  624. frame should be appended:
  625. # #