Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.sys.amiga.tech Subject: Re: Layers speed (was Re: 1.4 Wish: Revamped sizing gadget) Message-ID: <5165@cps3xx.UUCP> Date: 28 Oct 89 05:33:08 GMT References: <8779@ardent.UUCP> <66.filbo@gorn.santa-cruz.ca.us> Reply-To: porkka@frith.UUCP (Joe Porkka) Organization: Michigan State University Lines: 29 In article <66.filbo@gorn.santa-cruz.ca.us> filbo@gorn.santa-cruz.ca.us (Bela Lubkin) writes: >In article <8779@ardent.UUCP> (comp.sys.amiga) Rob Peck writes: >> a GIMMEZEROZERO window prevents Intuition from rendering its gadgets and >> borders into the superbitmap. Intuition does this by providing -->5<--- >Could this alternatively be implemented by TWO layers, one for the drawable >area and one that covers the entire window? This would waste a bunch of How about making it be two layers, with the partially obscured layer being SIMPLE_REFRESH ---> not much wasted mem. Much better idea -> Make layers be nestable. Then you could do something like this: rast=screen.RastPort; nw.Raster=rast; win1=OpenWindow(&nw); nw2.Raster=win1->Raster; win2=OpenWindow(&nw2); This would place win2 inside of win1, much like windows are now contained in screens. This would provide GIMMEZEROZERO type windows for free, so to speak. I suppose the guys at CBM will think this is hard to do or something, right ? :-) Joe Porkka porkka@frith.egr.msu.edu