Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!hoser.berkeley.edu!bryce From: bryce@hoser.berkeley.edu.UUCP Newsgroups: comp.sys.amiga Subject: Re: gadget editor? will it EVER work? Message-ID: <21553@ucbvax.BERKELEY.EDU> Date: Mon, 2-Nov-87 02:56:29 EST Article-I.D.: ucbvax.21553 Posted: Mon Nov 2 02:56:29 1987 Date-Received: Tue, 3-Nov-87 04:10:20 EST References: <933@ogg.cgrg.ohio-state.edu> <3267@ames.arpa> Sender: usenet@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 42 Keywords: gadget editor Capt. Crunch Summary: It uses ReportMouse() In article <3267@ames.arpa> mike@ames.UUCP (Mike Smithwick) writes: >["the poor bastard still spells library with one 'r'. . .", A. Dent] > >In article <933@ogg.cgrg.ohio-state.edu> spencer@ogg.cgrg.ohio-state.edu (Steve) writes: >>I am wondering if a WORKING version of EGAD was ever released to the >>net.Amiga.community. I have one which won't work and was wanting to >>use it the other day. > >The original "Classic" Egad does work, sorta, if you sweet-talk it and >back up alot... WARNING! EGAD uses the ReportMouse() function. To get EGAD to work at all you must call ReportMouse() like so: ReportMouse(Window,Boolean); /* Manx */ ReportMouse(Boolean,Window); /* Lattice */ ReportMouse(Window,Boolean); ;Assembler d0 a0 ; Do it with some #ifdefs. THIS GOES FOR ANY PROGRAM THAT USES ReportMouse()!!! Remember that Crunch is a fantastic coder, but one who who has been characterized in print as the master of Kludge code. The story goes that he is the type that would take a program that that was to add 4 and 2, but got the answer 5, and fix it by adding 1 to the returned result. (-: Maybe he wrote MoveSprite() :-) He recently wrote something on the same lines as EGAD (but much better) for the Macintosh. If you care about what you are doing, and are not up to sweet-talking EGAD, get PowerWindows 2.0. |\ /| . Ack! (NAK, SOH, EOT) {o O} . bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce (") U "You can count how many seeds are in an Apple, but not how many Apples are in a seed." -Ken Kesey