home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / lisp / mcl / 1680 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!bill@cambridge.apple.com
  2. From: bill@cambridge.apple.com (Bill St. Clair)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: bug using array dialog items
  5. Message-ID: <9211231909.AA05583@cambridge.apple.com>
  6. Date: 23 Nov 92 20:15:26 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 56
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11. At 13:45 11/20/92 -0600, lynch@ils.nwu.edu wrote:
  12. >Actually, it's not just *white-color*.
  13. >
  14. >If you use, say, *blue-color*, you will note that the selected-cell ends up
  15. >being drawn in blue on [de]activate event.
  16. >Thus, you're disappearing cells are really just being drawn in
  17. >*white-color*.
  18. >
  19. >Also, since view-[de]activate-event-handler do a simple inversion [ack],
  20. >and *white-color* isn't really white, you are probably seeing a color
  21. >indistinguishable (to us humans) from white, that isn't quite white, being
  22. >inverted to a color that is very close to black, but probably isn't quite
  23. >black.
  24. >Now I'm not sure exactly how the inversion gets off-sync, but it sure looks
  25. >like [de]activate-event is not up to snuff for drawing frames.
  26. >
  27. >[ack]:  *NO* method should do any direct drawing except view-draw-contents!
  28.  
  29. I sent this to dfoster last Thursday, but forgot to cc info-mcl. I'll
  30. send the patch to anyone who wants it. Ask for "table-frame-color-patch".
  31.  
  32. -Bill
  33.  
  34. Date: Thu, 19 Nov 1992 10:18:21 -0600
  35. To: dfoster@ils.nwu.edu
  36. From: bill@cambridge.apple.com (Bill St. Clair)
  37. Subject: Re: array-dialog-item bug
  38. Cc: bug-mcl
  39.  
  40. >;;;  Notice of bug in MCL 2.0
  41. >;;;  David Foster
  42. >;;;  The Institute for the Learning Sciences
  43. >;;;  dfoster@ils.nwu.edu
  44. >;;;
  45. >
  46. >;;;-----------------------------------------------------------------------
  47. >;;;  Bug: when setting the frame of an array dialog item to *white-color*,
  48. >;;;  the window refreshes don't work properly on the cells of the array
  49. >;;;  dialog item.  Cell contents go away, parts of cells covered by other
  50. >;;;  windows never are fixed, etc.
  51. >;;;-----------------------------------------------------------------------
  52. >
  53. >;;; required: code for "array-dialog-item", included in Examples Folder
  54. >
  55. >
  56. >;;;  To observe the problem, type (doit).  Play around with clicking on
  57. >;;;  cells, switching back and forth between windows, partially covering
  58. >;;;  highlighted cells with another window and then reactivating the
  59. >;;;  window, and so forth.
  60. >
  61.  
  62. The view-activate-event-handler & view-deactivate-event-handler methods
  63. were setting the foreground color so that System 6 scroll bars would be
  64. drawn in the :frame color. This was causing the text to be drawn in the
  65. :frame color as well. The enclosed patch, which will be part of patch 2
  66. for MCL 2.0, should fix this problem.
  67.