Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!lll-lcc!pyramid!bigbang!crash!billk From: billk@crash.UUCP Newsgroups: comp.sys.amiga Subject: Re: DropShadow Message-ID: <1073@crash.CTS.COM> Date: Fri, 1-May-87 03:20:35 EDT Article-I.D.: crash.1073 Posted: Fri May 1 03:20:35 1987 Date-Received: Sat, 2-May-87 14:08:03 EDT Sender: news@crash.CTS.COM Organization: People-Net [pnet01] Lines: 15 > Specifically: it must add another bitplane to the Workbench screen but how > does it do it? It's easy to add more bitplanes to the Workbench Screen. Just get the screen structure pointer and index into it to get the sc_BitMap pointer. Now just use AllocRaster (once for each new bitplane) to allocate the extra bitplane(s) you need. Now stick them into the BitMap structure. (In the WorkBench screen, the first extra bitplane would go to sc_bitmap.bm_planes + 8) Then adjust the depth field so it matches the number of planes you now have in your bitmap structure. I tried it -- it works fine. (I believe four bitplanes is the max for...yes.) The only thing you notice if you allot them and then don't do anything with them is that window-sizings get slower. Bill