window.sl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. % WINDOW.SL 28 Feb 83
  2. % {DSK}WINDOW.PSL;1 5-FEB-83 15:51:00
  3. % GSN 2-FEB-83 13:57
  4. (DG WINDOW-CENTEROFFSET (W:WINDOW V:VECTOR)
  5. (SEND W:REGION CENTEROFFSET V))
  6. % GSN 13-JAN-83 16:28
  7. (DG WINDOW-DRAWLINE (W:WINDOW FROM:VECTOR TO:VECTOR)
  8. (DRAWLINE FROM:X FROM:Y TO:X TO:Y 1 'PAINT
  9. W))
  10. % GSN 13-JAN-83 15:29
  11. (DG WINDOW-MOVETO (W:WINDOW POS:VECTOR)
  12. (MOVETO POS:X POS:Y W))
  13. % GSN 13-JAN-83 16:25
  14. (DG WINDOW-PRINTAT (W:WINDOW S:STRING POS:VECTOR)
  15. (PROG (LASTWOP)
  16. (SEND W MOVETO POS)
  17. (SETQ LASTWOP (DSPOPERATION 'PAINT
  18. W))
  19. (PRIN1 S W)
  20. (DSPOPERATION LASTWOP W)))
  21. % GSN 13-JAN-83 16:28
  22. (DG WINDOW-UNDRAWLINE (W:WINDOW FROM:VECTOR TO:VECTOR)
  23. (DRAWLINE FROM:X FROM:Y TO:X TO:Y 1 'ERASE
  24. W))
  25. % GSN 13-JAN-83 16:24
  26. (DG WINDOW-UNPRINTAT (W:WINDOW S:STRING POS:VECTOR)
  27. (PROG (LASTWOP)
  28. (SEND W MOVETO POS)
  29. (SETQ LASTWOP (DSPOPERATION 'ERASE
  30. W))
  31. (PRIN1 S W)
  32. (DSPOPERATION LASTWOP W)))
  33. (GLISPOBJECTS
  34. (WINDOW ANYTHING
  35. PROP ((REGION ((DSPCLIPPINGREGION NIL self))
  36. RESULT DOLPHINREGION)
  37. (XPOSITION ((DSPXPOSITION NIL self))
  38. RESULT INTEGER)
  39. (YPOSITION ((DSPYPOSITION NIL self))
  40. RESULT INTEGER)
  41. (HEIGHT (REGION:HEIGHT))
  42. (WIDTH (REGION:WIDTH))
  43. (LEFT ((DSPXOFFSET NIL self))
  44. RESULT INTEGER)
  45. (BOTTOM ((DSPYOFFSET NIL self))
  46. RESULT INTEGER)
  47. (START (REGION:START))
  48. (SIZE (REGION:SIZE)))
  49. MSG ((CLEAR CLEARW)
  50. (OPEN OPENW)
  51. (CLOSE CLOSEW)))
  52. )