Path: utzoo!attcan!uunet!husc6!bloom-beacon!apple!voder!pyramid!oliveb!amiga!jimm From: jimm@amiga.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga.tech Subject: Re: Ask Mr. Intuition (RELVERIFY woes) Keywords: Intuition gadgets RELVERIFY GADGETUP frustrated Message-ID: <3266@amiga.UUCP> Date: 23 Jan 89 13:24:39 GMT References: <5718@cbmvax.UUCP> Reply-To: jimm@cloyd.UUCP (Jim Mackraz) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 40 In article kevin@amdahl.uts.amdahl.com (Kevin Clague) writes: ) )So I misstated and oversimplified my problem. I hate it when that )happens. I'll try again. ) )Potentiometer gadgets do not allow you to render into the container )(except for the knob). I would like to render into the container. No gadgets allow you to render into them, properly speaking. The imagery support for gadgets is enumerated in the manual. There is no guarantee that direct rendering will work. )So I want to simulate a slider with gadget down, mousemoves, gadget up. )I can easily do it with MOUSEBUTTONS, but then I need to check to see )that the mouse cursor is inside my simulated gadget (I also have )to ignore mousebuttons when I push other gadgets...) How hard is that? I use ptInBox( mousept, gadgetbox ) which took almost 4 minutes to write, comment and compile. )If (in 1.4) there was a GADGRELEASE flag that was usable for BOOLEAN )gadgets then it would be much simpler to simulate sliders, and )we could avoid using MOUSEBUTTONS (and we wouldn't have to add )code to ignore them when we don't want them.) If you release a boolean gadget when not over a gadget, you will get a SELECTUP MOUSEBUTTONS message, if your idcmpflags request. )I hope this clarifies things. You appear to have an unnatural fear of mousebuttons. )Kevin jimm -- Jim Mackraz, I and I Computing "Like you said when we crawled down {cbmvax,well,oliveb}!amiga!jimm from the trees: We're in transition." - Gang of Four Opinions are my own. Comments are not to be taken as Commodore official policy.