Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!cbmnlux!cbmehq!cbmdeo!jsmami!jsmoller From: jsmoller@jsmami.UUCP (Jesper Steen Moller) Newsgroups: comp.sys.amiga.programmer Subject: Re: Using the Layers library to do non-Intuition windows Message-ID: Date: 26 Apr 91 06:57:54 GMT Followup-To: comp.sys.amiga.programmer Organization: Danish SofTech Lines: 57 In article <1991Apr24.031607.28073@netcom.COM> rodent@netcom.COM (Ben Discoe) writes: > > It seems I did a poor job of stating my original question about using the > Layers library directly. > 1. I have 6 years experience, telling me to "get the RKM" hurts. > 2. I CANNOT use a intuition window, because there is NO WAY to keep > intuition from drawing into a window when you activate it with the mouse. Oh yes there is! > Yes, even if you specify a borderless, title-less window with no gadgets, > Intuition will still paint a bar at the top of the window when you click > in it. Hey ho! That's not what my Intuition says... I get the rendering I need from (BORDERLESS | SMART_REFRESH | RMBTRAP | ACTIVATE | NOCAREREFRESH), and that is none. Not on deactivating og activating windows or anything. Neither on 2.0 er 1.3. I use no title, of course (have it set to NULL). > Also, I will no longer be able to receive input through my > original, backdrop window if I open other Intuition windows. Well you could easily merge the input streams from all the windows and pass the same IDCMP-codes to each of the child windows as to the backdrop one. I have no code for this as of this moment (haft past one and I'm tired as h*ll), but somebody out there has shared an IDCMP port and is willing to share it with you, I'm sure. > Tapping the input device is (hopefully) unnecessary trouble. Yes. > To explain why I seem to be going backwards in GUI evolution, let me > explain: I am very seriously creating a dBASE 4 work-a-like for the Amiga. Now that's going somewhere! > dBASE 4 windows are drawn with text, have no gadgets and in fact do not > support mice at all. I would use text buffers to refresh each window, > but that involves writing my own text-based window manager to handle > refreshing. I though, why do that when the Layers library will do refreshing > for me, and allow me to draw lines graphically in the windows as well? > > All I need is to define areas of my main window that can be depth-arranged. > (and opened, closed etc. like windows.) My question is: can I use the > Layers library to do this, or will Intuition interfere, making it unfeasable? > I hope I've made myself clear... it is frustrating to be so misunderstood. I understand you, but I think you have missed something with intuition. You _can_ keep it from rendering into your windows, for sure. > Ben in San Jose, trying to do Great Things for the Amiga. Well I appreciate it - I try to do that myself (not succesful) -- __ Jesper Steen Moller /// VOICE: +45 31 62 46 45 Maglemosevej 52 __ /// USENET: cbmehq!cbmdeo!jsmami!jsmoller DK-2920 Charl \\\/// FIDONET: 2:231/84.45 Denmark \XX/