On Thu, Jun 05, 2003 at 03:39:45PM +0000, Mikhael Goikhman wrote:
> We don't seem to have the png or colorset support in FvwmBanner.
> 

There is png "support" in FvwmBanner. There is just a bug ... fixed
soon (I hope).

However, the support is limited: no alpha blending! if a point has
an alpha of <= 130 then the point is removed and if the alpha > 130
the point is fully displayed ...

Now, we can add alpha blending but on what? X has no translucent
support ... So, we can either (if the image has some alpha):

1 - blend vs the Root window (need ParentalRelativity Style)
2 - or over a colorset background
3 - or over a colorset background without the shape from the image.

1 and 2 may look ugly under certains situations. For example,
with 1 and FvwmBanner over an other window than the root window.
So, 3 can be a default (with colorset 0). This leads to new options:

*FvwmBanner: Colorset cs
Specifies a colorset for the bg of FvwmBanner (default 0).
This is only useful if the image has a transparent part
and the Shaped option is used or if the image has an alpha channel.

*FvwmBanner: Shaped bool
Shape or not the FvwmBanner window with the transparent part of the image.
Default is false if the image has an alpha channel, true otherwise.

With these two options we can do 1, 2 and 3. 

Regards, Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to