Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: Desktop pictures Message-ID: <7679@hoptoad.uucp> Date: 16 Jun 89 20:47:48 GMT References: <4676@ucdavis.ucdavis.edu> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 32 In article <4676@ucdavis.ucdavis.edu> g556871349ea@deneb.ucdavis.edu (G556871349ea) writes: >Could someone please tell me if there is a simple Pascal procedure I can use >to take a PICT resource and make it the desktop pattern like DeskPict does? I >downloaded DeskPict recently but it does not work with my SE. BackDrop doesn't >put its (MacPaint) picture on a Radius TPD properly. Depends on the version. Later versions work fine on large screens. After all, I used to run it on my Mac II. But really, I stopped maintaining Backdrop after MultiFinder came out, for what I hope are obvious reasons. Is there really still interest in the program? >I've already written the >code to put the PICT into the current GrafPort but I want to make it stay. I glommed the technique from an old INIT called "StartupScreen" or something. (The author has never come forth.) Basically, you just patch some pattern filling traps and check the pattern to see if it's the same as the desktop pattern stored in low memory. If it is, CopyBits is used to satisfy the request instead. You could do it with a PICT file by shooting it into a screen sized bitmap at INIT time and using that. Of course, on a full page display, you're talking about a *lot* of lost memory to store the bitmap. I doubt it's worth it. -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com Postal: 424 Tehama, SF CA 94103; Phone: (415) 495-2934 "Satanic is merely the name they give to the behavior of those who would disrupt the orderly way in which men want to live." -- Gabrielle, THE VAMPIRE LESTAT, Anne Rice