Re: FVWM: Transparency/Translucency revisited...

From: Olivier Chapuis <olivier.chapuis_at_free.fr>
Date: Sun, 31 Aug 2003 22:39:19 +0200

On Mon, Aug 25, 2003 at 09:00:32PM +0200, Dawid Kuroczko wrote:
> Hello. :-)
>
> I did manage to make pseudo-transparent menus, but now I'd like
> to make something more "real". What I'd like to do is to have
> something like there is in KDE.
>
> It should work like this:
> 1. user clicks thus calling a Menu.
> 2. current screen dump is taken (with all the windows, but
> without a menu just as yet).
> 3. this screen dump is made available to Menu as
> root background pixmap.
> 4. Menu is displayed with tinted real background.
>
> This way it's pretty easy to make an illusion of real
> transparency (and looks "l33t", as some may say).
>

Here a new version of the patch for current cvs/snapshot.
This patch add a new options to Colorset: Translucent/NoTranslucent.
These options has effects only with (non tear-off) menu.
Also menu animation is "handled".

For example with:

  Colorset 5 fg yellow, bg blue, HGradient 200 lightblue darkblue, \
          Translucent blue 60
  Style * MenuColorset 5, PopupOffset 0 100, AnimationOff

you get translucent menus (with a 60% blue tint) and if you tear-off
a menu the menu use the gradient.

Regards, Olivier





--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Aug 31 2003 - 17:50:31 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST