delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/16/09:31:29

From: e-mail DOT address AT end DOT of DOT text (Mike Collins)
Newsgroups: comp.os.msdos.djgpp
Subject: Background colour for text using Allegro
Date: 16 Apr 1998 13:16:15 GMT
Organization: Storage Technology Limited
Lines: 20
Message-ID: <6h50av$f3s@news.network.com>
NNTP-Posting-Host: 129.80.172.119
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to use Allegro to write a simple typing tutor.

Initially, the screen is white with black text on it that has to be 
read and typed. To show at what speed a line should be typed, a 
coloured bar moves along the text line making a background for the 
text, changing the original white background to, for example, 
green. I would like to do this without rewriting the text, but 
everything I have tried simply hides the text under my colour bar.

What's the method? How should I be doing it?

Thanks,

Mike.
-- 
Don't just hit "reply" - my E-mail address is bogus
to avoid automatic browsers from sending junk mail.
Please use collim'at'anubis'dot'network'dot'com
Actually, even this doesn't stop all of them ...

- Raw text -


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