[Y-devel] alpha blending in widgets
Richard Hills richard at playford.net
Fri Feb 20 00:10:56 GMT 2004
hey,
I was wondering... when a window is in the background we use alpha
blending to make it appear partially transparent. However, when you put
a window behind the terminal, then put the terminal and the behind
window in the background, you can see through the window *decorations*
but not through the terminal itself. Now...
After searching through the code, I find that the alpha blending for
the window decoration is done seperately from everything else. The
result is that, for example, although yclock sometimes looks
transparent, the hands of the clock are not!
Should not the alpha blending for windows only be applied when they are
finally being pasted onto the screen, and hence keep it entirely
seperate from how the widgets are actually drawn? We'd then combine a
widgets assigned "alpha-blendyness" with the extra bit of blendyness
needed because it's in the background.
Any ideas?
Richard
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved