Xref: news2.mv.net comp.os.msdos.djgpp:5324 From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro's Grabber Date: Mon, 24 Jun 1996 11:04:28 +0100 Organization: The University of York, UK Lines: 22 Message-ID: NNTP-Posting-Host: tower.york.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <835267355snz@flag.demon.co.uk> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Thu, 20 Jun 1996, Ben Ashley wrote: > > x = mouse_x & 0xFFF0; <----- delete this line! > > y = mouse_y & 0xFFF0; <----- delete this line! > > I did exactly what you mention above. The grabbing box just got stuck in the > top right hand corner of the PCX, and refused to move when I moved the mouse! Sorry, stupid mistake on my part... What I meant to say was, delete the "& 0xFFF0" bit, but leave the "x = mouse_x". Next time I'll think before I post :-) /* * Shawn Hargreaves. Why is 'phonetic' spelt with a ph? * Check out Allegro and FED on http://www.york.ac.uk/~slh100/ */