delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/15/06:39:51

From: "WODRICH, M, M, WDRMAR002" <MWODRICH AT eleceng DOT uct DOT ac DOT za>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 15 May 1995 10:58:28 SAST
Subject: Problems with mouse cursor in GRX

I have just started experimenting with Csaba Biegl's LibGRX, which 
looks great so far, but I have noticed a strange problem with them 
mouse cursor.

Whenever I move it up to the top or far left side of the screen, and 
then drag it towards the top-left corner, it gets stuck and "jumps" 
erratically. (This is in 800x600x256, with VESA driver. In 320x200 
there is no problem....) I am using the event queue mode to handle 
the mouse, with a statement something like :

GetMouseEvent (M_BUTTON_DOWN); ( Can't remember the exact function 
                               name)..

Any ideas why this is happening. Also, how does poll the mouse in a 
loop in your program (ie. not using the event queue). Does one say 
something like GetMouseEvent (M_POLL) ?

Thanks for any help!
Mark.


-- 
   _/_/_/_/_/      _/       Mark Wodrich
  _/  _/  _/      _/        Electrical Engineering Student
 _/      _/  _/  _/         University of Cape Town
_/      _/_/_/_/_/          Cape Town, South Africa.

    "I'm gonna stick a quotation in here REAAAL soon ..."

- Raw text -


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