Date: Wed, 11 Jun 1997 10:44:02 -0500 (CDT) From: Andrew Deren To: "Gautam N. Lad" cc: djgpp AT delorie DOT com Subject: Re: Hiding mouse before drawing not working (Allegro) In-Reply-To: <5ncmia$ees@news.interlog.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk You are probably bliting in a region that mouse is currently drawn. > Hi, > I'm making a simple tile/map editor, and I've a grid setup. When a user clicks on > a grid, I do the following (psuedo code): > > if click is in range > freeze_mouse_flag=TRUE; // Allegro extern variable for hiding/show mouse > tblit(); // blit the sprite/tile > freeze_mouse_flag=FALSE; > > For some reason, this won't work! The mouse hides, the bitmap gets drawn, and > the mouse becomes visible again. The drawn bitmap still looks messed up, 'cause > the drawn bitmap looks like the mouse is still over it. > > What am I doing wrong? > > Bye! > > **************************************************** > * Gautam N. Lad * > *--------------------------------------------------* > * * > * E-Mail : gautam AT interlog DOT com * > * Website : http://www.interlog.com/~gautam * > * * > * OS/2, DOS/Windows, Graphics Gallery, Software, * > * Links, Rayzor Editor/2, POV-Ray, TexturEyes, * > * POV-PAK and lots lots lots more!!!!!!! * > **************************************************** >