Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!cs.yale.edu!tarr-michael From: tarr-michael@CS.YALE.EDU (michael tarr) Newsgroups: comp.sys.mac.programmer Subject: Re: An Obscure Lightspeed C/MPW C Incompatibility Message-ID: <15993@cs.yale.edu> Date: 16 Feb 90 19:20:38 GMT References: <1256@kl-cs.UUCP> <6752@internal.Apple.COM> Sender: news@cs.yale.edu Reply-To: tarr-michael@CS.YALE.EDU (michael tarr) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 38 I am looking for anyone willing to share LSC 4.0 code fragments that do the following: 1. Create 1 or more offscreen pixmaps that I can draw or read a PICT2 file into. 2. Use copybits to move the offscreen maps to the visible window as fast as possible. I need to support 8 bit color and full screen images. One possibility is buying a graphics library sold commercially. Does anyone know if such a package exists -- there are lots for the IBMPC. I am also looking for code fragments to force the menu bar to disappear so that the visible window covers the entire screen. The reason for all this is that I am an experimental psychologist that wants to show images on the mac for experiments. The basic idea is to throw up pictures that have been drawn beforehand as quickly is possible. After the software is written I plan to distribute it **free** to any psychologists who are interested in using it. I am rather annoyed at academics who have developed packages and now sell it without sources -- their stuff won't do what I want and I can't make use of techniques they have discovered in my own programs since they won't share. Doesn't seem very neighborly or in the spirit of the larger intellectual community. Last question: does anyone know if the EventRecord.when field returned with a keyDown from WaitNextEvent is always guaranteed to be correct, no matter what the system was doing at the time the key was pressed? Thanks, Mike Tarr Yale University tarr@yale.cs.edu or mtarr@yalevm.bitnet