Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!rutgers!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.programmer Subject: Re: Using the Layers library to do non-Intuition windows Message-ID: <20790@cbmvax.commodore.com> Date: 19 Apr 91 19:10:56 GMT References: <1991Apr19.003233.16889@netcom.COM> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore-Amiga, Inc. West Chester, PA. Lines: 26 In article <1991Apr19.003233.16889@netcom.COM> rodent@netcom.COM (Ben Discoe) writes: > > I'm working on a custom screen and I'd like to manipulate several >"text windows" without using real Intuition windows. In fact, I am >trying to emulate the manner in which MSDOS applications allow >"windowing" on text-based screens. I think the Layers library is >ideal for doing this? Yes it is. You will be able to use it readily, if you keep Intuition out of your way. Just keep in mind that you have to allocate your own screen-equivalent, and associate a Layer_Info with it. Windows and requesters are built on Layer structures. Window-functions have underlying layers versions, when applicable. > 2. Using SMART_REFRESH layers would make the Amiga do all my > refreshing for me, I assume. This is true, with the exception of sizing layers bigger, which you say you won't do. Peter -- Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com My opinions do not necessarily represent the opinions of my employer. "If all you have is a hammer, everything looks like a nail."