home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / turbom2 / wndodemo.lbr / WNDODEMO.DZC / WNDODEMO.DOC
Text File  |  1987-09-10  |  3KB  |  65 lines

  1. Filσ WNDODEMO.CO═ i≤ ß shor⌠ demonstratioε prograφ fo≥ thσ Window≤ modulσ ì
  2. froφ E╟ Systems«  I⌠ demonstrate≤ somσ oµ thσ feature≤ availablσ iε thi≤ ì
  3. module.
  4.  
  5. T∩ usσ thσ dem∩ prograφ yo⌡ mus⌠ firs⌠ creatσ ß filσ containinτ certaiε ì
  6. contro∞ informatioε abou⌠ you≥ termina∞ screen«  D∩ thi≤ b∙ executinτ filσ ì
  7. SCREEN.COM«  SCREE╬ wil∞ leaΣ yo⌡ througΦ ß sequencσ tha⌠ wil∞ builΣ thσ ì
  8. file.  Be prepared to input such things as:
  9.   áááLead-iε sequence¼ middlσ anΣ terminatinτ sequence≤ fo≥ you≥ termina∞ iµ ì
  10. áááááany¼ addres≤ binary/ascii¼ row/co∞ offset¼ etc¼ fo≥ curso≥ addressinτ ì
  11. áááááoε you≥ terminal.
  12.  
  13. áááááControl strings for hilite/normal video.
  14.  
  15. áááááGraphic≤ contro∞ characters¼ iµ available¼ fo≥ drawinτ windo≈ boxes«  ì
  16. áááááIµ thesσ feature≤ arσ no⌠ availablσ wσ sugges⌠ yo⌡ usσ "-ó fo≥ al∞ ì
  17. ááááácorners and horizontal bars and "|" for all vertical bars.
  18.  
  19.      Thσ filσ namσ fo≥ thσ outpu⌠ file«  Fo≥ thσ demonstratioε prograφ thσ ì
  20. áááááfile name MUST be MYSCREEN.DFN.
  21.  
  22. Wheε thi≤ i≤ completσ executσ WNDODEMO«  WNDODEM╧ expect≤ t∩ finΣ ì
  23. MYSCREEN.DFN on the default directory.
  24.  
  25. Thσ Window≤ modulσ b∙ E╟ System≤ wa≤ writteε anΣ debuggeΣ oε ß Z8░ micr∩ ì
  26. compute≥ compute≥ usinτ Turb∩ Modula2«  I⌠ wil∞ ruε on an∙ Z8░ compatiblσ ì
  27. computer that will run Turbo Modula2 with a CP/M or ZPR3 operating system.ì
  28.  
  29. Thσ Window≤ modulσ allow≤ thσ Modula▓ programme≥ t∩ maintaiε u≡ t∩ 1╢ ì
  30. logica∞ screens«  Thσ firs⌠ screeε createΣ i≤ alway≤ designateΣ thσ maiε ì
  31. screen╗ al∞ othe≥ window≤ mus⌠ bσ withiε o≥ congruen⌠ witΦ it'≤ borders«  ì
  32. Othe≥ thaε that¼ ß windo≈ caε bσ an∙ sizσ anΣ caε bσ locateΣ anywherσ oε thσ ì
  33. physica∞ termina∞ screen«  
  34.  
  35. Window≤ arσ assigneΣ t∩ ß "layer"«  Thσ effec⌠ oµ thi≤ i≤ that¼ fo≥ example¼ ì
  36. ß windo≈ oε laye≥ │ ma∙ overla≡ anΣ cover¼ eithe≥ partiall∙ o≥ completely¼ ß ì
  37. windo≈ oε laye≥ │ openeΣ earlie≥ o≥ ß windo≈ oε laye≥ 2¼ ▒ o≥ 0.
  38.  
  39. Wheε ß windo≈ i≤ closed¼ thσ tex⌠ tha⌠ shoulΣ appea≥ iε ß windo≈ behinΣ i⌠ ì
  40. (i.e« onσ oε ß lowe≥ layer⌐ wil∞ reappea≥ witΦ n∩ explici⌠ commanΣ b∙ thσ ì
  41. programmer.
  42.  
  43. Thσ laye≥ o≥ locatioε oµ ß windo≈ caε bσ changeΣ dynamicall∙ whethe≥ thσ ì
  44. windo≈ i≤ opeε o≥ closed«  Thi≤ i≤ donσ internall∙ b∙ closinτ thσ window¼ ì
  45. makinτ thσ specifieΣ changσ anΣ reopeninτ thσ windo≈ (iµ i⌠ wa≤ opeε t∩ ì
  46. begiε with).
  47.  
  48. Thσ Window≤ modulσ operate≤ b∙ creatinτ ß tex⌠ buffe≥ fo≥ eacΦ windo≈ anΣ ß ì
  49. contro∞ tablσ fo≥ eacΦ characte≥ oε thσ screeε withiε thσ maiε window«  Wheε ì
  50. an∙ procedure is executeΣ whicΦ wil∞ changσ thσ appearancσ oµ thσ termina∞ ì
  51. screeε withiε thσ maiε window¼ thσ contro∞ tablσ i≤ inspecteΣ anΣ thσ screeε ì
  52. display is updated accordingly.è
  53. Therσ arσ ß fe≈ restriction≤ t∩ observσ iε thσ usσ iµ thσ Window≤ module«  ì
  54.  
  55.      Creating many large windows will quickly use up a lot of memory.
  56.  
  57.      Al∞ writinτ t∩ thσ screeε areß withiε thσ maiε windo≈ mus⌠ bσ donσ onl∙ ì
  58. áááááwith Windows procedures.
  59.  
  60. áááááAn∙ inpu⌠ anΣ al∞ outpu⌠ t∩ area≤ outsidσ thσ maiε windo≈ areß mus⌠ usσ ì
  61. ááááácarσ no⌠ t∩ causσ thσ ASCI╔ termina∞ screeε t∩ scrol∞ upward«  Wσ ì
  62. áááááadvise configuring your terminal to prevent this if possible.
  63.  
  64. For further information contact EG Systems, 9010 Freeman, Gilroy, CA 95020.
  65.