www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/24/08:41:00

Xref: news2.mv.net comp.os.msdos.djgpp:5324
From: Shawn Hargreaves <slh100 AT york DOT ac DOT uk>
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: <Pine.SGI.3.91.960623193852.10691A-100000@sgi1.york.ac.uk>
NNTP-Posting-Host: tower.york.ac.uk
Mime-Version: 1.0
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/
 */


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019