Re: About BLACK colour

new topic     » goto parent     » topic index » view thread      » older message » newer message

"Red Knight" wrote:

>  I4m writting because I have a colours trouble. I have to use the
> BLACK colour in a graphic mode screen, I think you have to rewrite
> the colours routine, and made a BLACK color and a TRANSPARENT
> colour by diferent constants.

This gave me a lot of grief a while back. Apparently, it's a problem with
how the PC does colors, not with Euphoria.

The solution is simple - use polygon() to clear the screen to the color that
you want. So if you want to clear the screen to a background color of WHITE,
draw a filled white polygon the size of the screen. It's the solution that I
use.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu