Re: FVWM: TitleStyle gradient - convert to colorset?

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 20 Mar 2002 23:10:24 +0100

On Wed, Mar 20, 2002 at 08:57:48PM +0000, Mikhael Goikhman wrote:
> On 20 Mar 2002 12:58:48 -0700, Gregg Dameron wrote:
> >
> > I've got TitleStyles set up with an HGradient:

[snip]

> > 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.

The reson is that the title bar is redrawn a lot and using the
current implementation of colour sets is way too slow. This will
change within the next few weeks when I finish my work on the
window decorations. This will reduce the amount of redraws
dramatically and allows to finally implement gradients via a
colour set.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 - 16:08:05 GMT

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