www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/08/21:51:14

From: deleveld AT noord DOT bart DOT nl (Douglas Eleveld)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro and the mouse
Date: Sat, 08 Feb 97 17:44:37 GMT
Organization: bART Groningen
Lines: 13
Message-ID: <5die25$13s_001@gn6.noord.bART.nl>
NNTP-Posting-Host: asyn08.gn6.noord.bart.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi everyone,

I've been using Allegro for my rather primitive gui.  I heard here
somewhere that you must hide the mouse before drawing on the screen.
When I draw onto a winddow, I first check if the mouse is in the window
and if it is not, then I just draw, and if it is in the window, I erase the 
mouse before drawing in the window.  That means that sometimes I'll be 
drawing on the screen with a visible mouse pointer, but not over the 
drawing region.  Is this dangerous? I haven't had any problems so far.

Thanks

Doug Eleveld

- Raw text -


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