Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!wehi.dn.mu.oz!baxter_a From: baxter_a@wehi.dn.mu.oz Newsgroups: comp.sys.amiga.programmer Subject: Re: Using the Layers library to do non-Intuition windows Message-ID: <1991Apr20.101010.24572@wehi.dn.mu.oz> Date: 20 Apr 91 10:10:09 GMT References: <1991Apr19.003233.16889@netcom.COM> Organization: Walter & Eliza Hall Institute Lines: 47 In article <1991Apr19.003233.16889@netcom.COM>, rodent@netcom.COM (Ben Discoe) writes: Step 1: Get the Rom Kernal Manual and read the chapter on windows. > > 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? > > 1. The windows won't be moved or resized, but they will be opened, > closed, and depth-arranged under program control. Don't set the flags for dragging, resizing or depth arrangement. (I really wonder why you want to go backwards with the GUI though) > 2. Using SMART_REFRESH layers would make the Amiga do all my > refreshing for me, I assume. Use SMART_REFRESH windows. But your window will be so easy to refresh anyway you may as well you SIMPLE and do it yourself. > 3. I DON'T want Intuition redirecting the user input, drawing a window > title, responding to the mouse etc. Turn off system requesters (I can send code. Don't have a window title. Set no IDCMP flags. (You are really not doing yourself a favour) > > Is creating my own Layers a good idea? I've never heard of anyone doing > this before (Layers lib seems like toolkit for Intuition's use only). > No. It is silly. > ------------------- > Ben in San Jose, programmer/ecologist at large. Regards Alan