Mail Archives: djgpp/1998/03/27/19:46:37
Dan Chak writes:
>If I am using 32 bit color depth, but it seems like the number of colors
>available to textout() is limited. Is this so?
No: what makes you think this?
>How can I use *any* color with textout(),
Just pass whatever value you want as the color parameter. This is a 32
bit integer, so it has room to encode any color depth format from 8
right up to 32 bits.
>and how can I be sure what each number will represent
Use the makecol() function. See the ex29 example program for a practical
demonstration.
>(because I wasn't aware that some pallete had been chosen for me in the
>first place,
It hasn't. There is no need to worry about palettes in a truecolor mode,
except for special cases like converting images between the 256 and
truecolor formats.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -