Mail Archives: djgpp/1997/12/12/02:16:26
On Thu, 11 Dec 1997 20:32:40 +0100, john kismul
<john DOT kismul AT bergen DOT mail DOT telia DOT com> wrote:
>I've got a problem with getting the correct mouse X position.
>I'm using VGA 320x200. Everything else works just fine but Allegro
>returns the incorrect X position of the mouse pointer in "mouse_x".
>
>Any one know why, and how to fix it?
are you using the default Allegro mouse?? If so the x and y
coordinates are the top left corner of the cursor. If you made your
own mouse bitmap.. be sure to use the set_mouse_focus(); function to
set the x and y position of the bitmap where you want the cursor to
point..
I hope this is what you were talking about..
- Raw text -