Re: FVWM: TitleStyle gradient - convert to colorset?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 20 Mar 2002 20:57:48 +0000

On 20 Mar 2002 12:58:48 -0700, Gregg Dameron wrote:
>
> I've got TitleStyles set up with an HGradient:
>
> :
> SetEnv GrayBackgnd rgb:d4/d0/c8
> SetEnv ActiveGradL rgb:0a/24/6a
> SetEnv ActiveGradR rgb:a6/ca/f0
> SetEnv InactiveGradL rgb:80/80/80
> SetEnv InactiveGradR rgb:c0/c0/c0
>
> Style * ForeColor gray87, BackColor $[GrayBackgnd]
> Style * HilightFore white, HilightBack $[GrayBackgnd]
>
> TitleStyle ActiveUp HGradient 80 $[ActiveGradL] $[ActiveGradR] -- Flat
> TitleStyle ActiveDown HGradient 80 $[ActiveGradL] $[ActiveGradR] -- Flat
>
> TitleStyle Inactive HGradient 80 $[InactiveGradL] $[InactiveGradR] -- Flat
> :
>
>
> I'd like to convert to FvwmTheme colorsets. I tried:
>
> :
> [same SetEnv's]
>
> *FvwmTheme: Colorset 1 fg gray87, bg $[GrayBackgnd], \
> HGradient 80 $[InactiveGradL] $[InactiveGradR]
> *FvwmTheme: Colorset 2 fg white, bg $[GrayBackgnd], \
> HGradient 80 $[ActiveGradL] $[ActiveGradR]
>
> ModuleSynchronous Timeout 5 FvwmTheme
>
> Style * Colorset 1, BorderColorset 1
> Style * HilightColorset 2, HilightBorderColorset 2
>
> TitleStyle ActiveUp -- Flat
> TitleStyle ActiveDown -- Flat
> TitleStyle Inactive -- Flat
> :
>
> The "fg" and "bg" colorset settings are honored, but I'm not getting the
> gradients -- window titlebars are always the (solid) "bg" color, whether
> focused or not. Suggestions?

Window titles, buttons and borders do not fully support colorsets yet.
So you still should use TitleStyle, ButtonStyle and BorderStyle for now
if you want something more than fg/bg.

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 Mar 20 2002 - 14:58:24 GMT

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