Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!uakari.primate.wisc.edu!ark1!nems!mimsy!tove.umd.edu!folta From: folta@tove.umd.edu (Wayne Folta) Newsgroups: comp.sys.mac Subject: THINK C OOP rookie questions and Profiler question Message-ID: <21446@mimsy.umd.edu> Date: 26 Dec 89 23:23:17 GMT Sender: news@mimsy.umd.edu Reply-To: folta@tove.umd.edu (Wayne Folta) Distribution: usa Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 21 I have two questions regarding graphics programming using THINK C's Class Library: 1. I take it that the Class Library eliminates the explicit use of an event loop (the details being handled in Application). Is this true? 2. What if I want to write a program that is constantly drawing, but is interrupted by user actions. The Class Library seems set up to work well with static documents that only change under user control. But I want to write something like a Mandelbrot program which continues to draw until the user clicks to zoom in. Should my drawing become a Chore? I also have a question about writing a very custom profiler: 3. I would like to write my own profiler that generates an entry for every single instruction, noting the instruction's location and the memory (if any) addressed by the instruction. Is this easily done on such a fine-grained level? -- Wayne Folta (folta@cs.umd.edu 128.8.128.8)