JC Wong wrote:
Log Message:
>> A pseudo-transparency support hack.


Any idea how to test out this thing? I can't see any window Menu's setting for that. Thanks.

OK, a few notes on this:

Pseudo-transparent items must be configured in the theme files.
So, first of all, everything should work as usual if the theme does not
contain transparent items.

To configure an item (ImageClass) to have transparency, it must have the
__TRANSPARENT option set, e.g.

__ICLASS __BGN
  __NAME TT_MAIN
  __NORMAL       "images/image-with-alpha.png"
  __TRANSPARENT  <transparency_flags>
  __EDGE_SCALING ...
  __PADDING      ...
__END

<transparency_flags>:
0x01: Blend the image onto current desktop background
0x02: Blend the image onto the root window (overrides 0x01)
0x04: Do *not* apply the image mask to the blended pixmap

The image class must have an image with an alpha channel.
The image class must not use tiling.
As I understand the opacity in relation to the image clip mask, the
mask will have bits set where the opacity is > 50%.
Hence the 0x04 flag, which will cause images with areas with opacity
< 50% not to be shaped accordingly. Please correct me if I'm wrong.

For PT to work, it is also required that
- E is compiled to use imlib2
- The desktop background is internally rendered as a full size pixmap
  (i.e. not tiled or a single color).

NB!
I implemented the pseudo-transparency support mostly to find out how it
could be done, how it would look, and because it was possible.
There are a number of bugs, and the implementation could most likely be
improved.

/Kim


------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to