home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5621 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.4 KB

  1. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!jvnc.net!princeton!phoenix.Princeton.EDU!sksircar
  2. From: ssircar@canon.com (Subrata Sircar)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: lots of objects to display
  5. Message-ID: <1992Aug14.220149.17584@Princeton.EDU>
  6. Date: 14 Aug 92 22:01:49 GMT
  7. References: <1992Aug13.204505.26009@ornl.gov> <1992Aug14.070249.13214@monu6.cc.monash.edu.au>
  8. Sender: ssircar@canon.com
  9. Reply-To: ssircar@canon.com (Subrata Sircar)
  10. Organization: SPAMIT
  11. Lines: 20
  12. Originator: news@nimaster
  13. Nntp-Posting-Host: phoenix.princeton.edu
  14.  
  15. ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes:
  16. >woo@ornl.gov(John W. Wooten) writes:
  17. >>I want them [list of varying elements] to be drawn in a View (myView) in
  18. >>myWindow.  Each element subclass has a drawSelf method and each instance
  19. >>has it, of course.
  20.  
  21. [Robert Nicholson's suggestion deleted, because it is essentially the same
  22. as my own]
  23.  
  24. Or you could do it the way draw does it; when the myView is called on to draw
  25. itself, it sends the draw method to the entire list.  Check out GraphicView,
  26. in the Draw example source code.  All the elements are subclasses of Graphic.
  27.  
  28.  
  29.  
  30. -- 
  31. Subrata Sircar | ssircar@canon.com | Prophet & SPAMIT Charter Member
  32. Canon Information Systems and I do not speak for each other on all things.
  33. "I wish people wouldn't instantly assume that I am an idiot." (Valentine)
  34. "A restaurant is a whorehouse that does food instead of sex." (Roger Lustig)
  35.