alpha composer for xfwm4

Olivier Fourdan fourdan at xfce.org
Tue Apr 6 00:29:36 CEST 2004


Hi all,

What would you think of an "alpha composer" for xfwm4? (hehehe, well,
ok, that's a supid name, I know, but it's late and I couldn't come up
with a better definition)

Imagine, you design your theme using the usual pixmap along with its
named colors (for gtk colors inheritance)

Now, you prepare a nice gradient and save it as a png image with alpha
channel (ie semi transparent)

When xfwm4 loads the theme it automatically loads the pixmap, apply gtk
colors and then apply the alpha channel (from the png) and you get
really nice effects. Just like when you play with semi transparent
layers in the gimp.

A dream? hehehe, nah! I'm running it right now :P

(no need to look for it in CVS, it's not committed yet)
 
Now, the fun is that this is backward compatible, as xfwm4 from 4.0
doesn't load the png, it's still able to render the theme in a more
"basic" way. And it obviously doesn't break existing themes.

Cheers,
-- 
 - Olivier Fourdan - fourdan at xfce.org - http://www.xfce.org - 





More information about the Xfce4-dev mailing list