Re: FVWM: transparent gradients

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 1 Oct 2003 23:38:03 +0300

On 01 Oct 2003 22:14:20 +0200, Klaus Umbach wrote:
>
> On Wed, Oct 01, 2003 at 21:43:00 +0300, Mikhael Goikhman wrote:
> > On 01 Oct 2003 18:46:01 +0200, Klaus Umbach wrote:
> > >
> > > is it possible to have transparent gradients?
> > > If yes, how can I do that?
> > >
> > > My goal is to make the title and borders of the inactive windows
> > > transparent, but I want to keep the design of the active window.
> >
> > This is possible, something like:
> >
> > TitleStyle AllInactive Colorset 1 -- flat
> > AddTitleStyle AllInactive Colorset 2 30 # alpha == 30% here
> >
> > TitleStyle AllActive Colorset 2 -- raised
> >
> > BorderStyle -- UseTitleStyle
> > ButtonStyle All AllInactive -- UseTitleStyle flat
> > ButtonStyle All AllActive -- UseTitleStyle raised
> >
> > Colorset 1 RootTransparent buffer, fg gray80, bg average
> > Colorset 2 fg #301058, VGradient 40 #a17aa1 #714a71, bg average
> >
> > Style * Colorset 1, HilightColorset 2
> > Style * BorderColorset 1, HilightBorderColorset 2
> >
> > Seems to work well.
>
> Yes, that works fine, but that's not what I meant.

I rarelly misunderstand questions.

> In your example the Colorset is completely transparent.
> I want the transparent Colorset tinted with a gradient.
>
> I want this to be semi-transparent.
> Colorset 10 Vgradient 255 3 #aaaaaa 15 #888888 50 #aaaaaa 20 #888894, bg grey75, fg grey90, fg_alpha 90, fgsh Black

Set this into the Colorset 2 line in my example above and it is done.
You may want to change the alpha value from 30 to 60 and change "raised"
to "flat".

Regards,
Mikhael.
--
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 Wed Oct 01 2003 - 15:40:31 BST

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