www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/01/02:42:29

From: "Neil Miller" <miller AT citilink DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Mouse Drag Problem: Allegro
Date: 1 Dec 1996 06:46:35 GMT
Organization: (missing)
Lines: 27
Message-ID: <01bbdf53$3c366ce0$55d10bce@miller>
NNTP-Posting-Host: 206.11.209.85
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Well, thanks to the gracious help of the posters of this ng, I have a real
problem ;-).

I am using Allegro, trying to make a circle at the point the cursor is when
the left button is pressed.  I used show_mouse(NULL); before I drew and get
no droppings, but I have a diff. problem.  If I drag the mouse, even
slightly, I get a long drag line from the dot.  

REAL QUESTION: Is there a way to lock the cursor or prevent the user from
being able to move the dot?
Do you get the question? I want the user to just be able to draw one circle
at a time, then I clear the screen and the process restarts.  If you don't
get the question, reply & I will post the code.

BTW Thanks again to everyone who helped me get Allegro & DJGPP started!!
:-)

-- 
_____________________________________________
|  To be poor is no disgrace,                  ^NM^                  |
|     the true disgrace is in doing                                        
I 
|     nothing to avoid poverty.                                            
|
|          -Pericles                                 miller AT citilink DOT com   
|
I____________________________________________I

- Raw text -


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