www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/21/12:16:34

From: "DeHackEd" <Not DOT given AT out>
References: <34EE62F4 DOT D62D07E9 AT wpol DOT com>
Subject: Re: Allegro: erase text?
Date: Sat, 21 Feb 1998 10:54:43 -0500
Lines: 16
Message-ID: <#TaaSDuP9GA.255@upnetnews03>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John Kissell wrote in message <34EE62F4 DOT D62D07E9 AT wpol DOT com>...
>In trasparent text mode and true color is there an easy way to erase
>text? Printing space characters over previous text and then replacing
>with the new text seems unreliable. A rapidly changing readout in a
>static location, a mouse coordinate display for example, becomes
>unreadable because the previous numbers never get erased. I'm not sure
>if this is a timing problem or that space characters in transparent mode
>dont actually get printed in order to speed up the Allegro code. Any
>ideas?
>

Keep a copy of what was originally there in memory and re-blit it. Though I'm
sure you could un-type, you would not get the exact pixel colour, though it
could be pretty close.


- Raw text -


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