Xref: news2.mv.net comp.os.msdos.djgpp:5205 From: atbrown1 AT students DOT uiuc DOT edu (brown andrew todd) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro's Grabber Date: 20 Jun 1996 15:06:58 GMT Organization: University of Illinois at Urbana Lines: 19 Message-ID: <4qbpei$4mc@vixen.cso.uiuc.edu> References: <835267355snz AT flag DOT demon DOT co DOT uk> NNTP-Posting-Host: ux5.cso.uiuc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ben Ashley (Ben AT flag DOT demon DOT co DOT uk) wrote: > Hi Shawn, > 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! I tried it and it worked for me...? If you look at the code, you see he's just masking out the lower bits so that the mouse is always 'snapped' to coordinates that are multiples of 16. Did anyone else have problems with the change? Was I just lucky? :-) Andrew //---------------------------------------------------------------- // andrew todd brown mailto:andrewbrown AT acm DOT org // university of illinois //----------------------------------------------------------------