www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/13/19:01:51

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro mouse blinking
Date: Sun, 13 Jul 1997 09:34:23 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 32
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33C8D95F.93F@cornell.edu>
References: <01bc8df3$a40399c0$0100007f AT majka>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0015.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Marián Dvorský wrote:
 
> Before every write to screen i have to turn off mouse cursor and after
> write turn on. But mouse cursor is blinking when i make many accesses
> to video memory !! Can I change mouse_buffer (if exists something like
> that) where is written background of mouse cursor, something what is 
> under this cursor.

it's been a long time since i downloaded allegro and haven't done
anything with it, so i am not speaking from experience here.

assuming you are doing your drawing on an off-screen buffer and then
blitting/flipping that to the screen, you could do a show_mouse on that
buffer before you display it. i think there is also a flag called
freeze_mouse_flag, see if that can help.
-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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