home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!destroyer!gatech!utkcs2!ornl!usenet
- From: woo@ornl.gov(John W. Wooten)
- Subject: lots of objects to display
- Message-ID: <1992Aug13.204505.26009@ornl.gov>
- Sender: usenet@ornl.gov (News poster)
- Organization: Oak Ridge National Laboratory
- Date: Thu, 13 Aug 1992 20:45:05 GMT
- Lines: 20
-
- I have an app in which I have a lot of elements, which may have
- many different geometrical shapes, but are subclassed from a general
- element object which is a subclass of View. As I build them, they are
- stored in a list.
-
- I want them to be drawn in a View (myView) in myWindow. Each element
- subclass has a drawSelf method and each instance has it, of course.
-
- When my controller does a [myView display], the background appears, but
- does each element have to be individually sent a [myElement drawSelf]?
- It then seems that they each have to be a subView of the original View.
-
- Somehow it should be simpler than this, so I think I'm missing
- something.
-
-
-
- --
- -----------------
- J. W. Wooten
-