www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/21/20:57:05

Sender: nate AT cartsys DOT com
Message-ID: <362E7F57.A168710E@cartsys.com>
Date: Wed, 21 Oct 1998 17:41:59 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: scrolling text
References: <93117c2c DOT 362e4cc8 AT aol DOT com>
Reply-To: djgpp AT delorie DOT com

DoctorXV AT aol DOT com wrote:
> 
> I know how to move text but I can only do it with clearing the screen(which
> cause a problem with allegro since my program has a bitmap on screen plus it
> is a hassle to keep track of all the text by placing it over and over again.)
> Is it possible to move text without clearing the screen?

Before putting the text on the screen, save the area of the screen that
it will cover.  When you want to move the text, copy your saved bitmap
back where it was (effectively erasing the old text), then place the
text in its new location.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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