www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/18/12:50:53

From: Doug Eleveld <deleveld AT dds DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro GUI / degui in truecolor
Date: Wed, 18 Mar 1998 17:49:55 +0100
Organization: Rijksuniversiteit Groningen
Lines: 23
Message-ID: <350FFB33.67818A85@dds.nl>
References: <Pine DOT NXT DOT 3 DOT 96 DOT 980317233155 DOT 3404D-100000 AT neelix DOT iiic DOT ethz DOT ch>
NNTP-Posting-Host: client36-116.oprit.rug.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andreas 'LionKing' Tscharner wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hello World,
> Is there a new version with truecolor support available. If not how can I
> use it (with normal colors) in truecolormode. At the moment, I have 255
> different blue's.

There's a little bug in degui when using trucolor modes.  In the color.c
file i used makecol8() when I should have put makecol().  This problem
will only occur if you use the reset_default_colors (or something like
that) function.  If you want a workaround, you can set the colors
directly like this:

degui_fore_color = makecol( .....);
degui_back_color = ....

Look in the degui.h header for the 8 colors that you need to set.

I should be able to put the fixed version (1.22) on my webpage tonight.  

Doug Eleveld

- Raw text -


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