bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set_default_colors + text - transparency


From: Thomas Dickey
Subject: Re: set_default_colors + text - transparency
Date: Tue, 30 May 2006 20:49:41 -0400 (EDT)

On Wed, 31 May 2006, David Woodfall wrote:

On (18:55 30/05/06), Thomas Dickey <address@hidden> put forth the proposition:
On Tue, 30 May 2006, David Woodfall wrote:

When I use set_default_colors() I get transparency in a terminal,
except that the bg color of text is still not transparent. Is there
some way of making text background transparent too?

You might be adding the text with a color-pair that has a non-default
background color.

Yes I am using some color-pairs but there doesn't seem to be a default
color-pair setting. I looked through ncurses.h but didn't find any clues
there.

no - you'd have to construct one. I do that in several of the test programs.

Is there some way to either set text bg as default, or another way to
change fg text color without having to specify a bg color?

no - it would be nice to make the logic that combines background and window attributes modified to allow either to be "default" and let the other override. What's implemented only checks if the given background or window attribute includes color.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]