delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/07/21:39:58

Date: Wed, 7 May 1997 20:25:09 -0500 (CDT)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: Bryan Murphy <bryan AT hcst DOT com>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: Allegro
In-Reply-To: <Pine.3.89.9705071409.A18835-0100000@alpha.hcst.com>
Message-ID: <Pine.SUN.3.95.970507202310.28706A-100000@ernie.eecs.uic.edu>
MIME-Version: 1.0

Use text_mode(color) function.
Pass the background color you want to use or -1 to use no background color
(transparent fonts). Look it up in allegro docs for more information.

On Wed, 7 May 1997, Bryan Murphy wrote:

> When I display bitmap fonts with Allegro, the background is always color 
> 0.   Is there an easy way to change this w/o actually having to change 
> color 0 to a different color in the palette?
> 

- Raw text -


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