Re: FVWM: transparent gradients

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 2 Oct 2003 23:11:50 +0300

On 02 Oct 2003 04:47:28 +0200, Klaus Umbach wrote:
>
> On Wed, Oct 01, 2003 at 23:38:03 +0300, Mikhael Goikhman wrote:
> > On 01 Oct 2003 22:14:20 +0200, Klaus Umbach wrote:
>
> OK, I got it now and it works how I wanted it, but there is still one
> little problem. I have a frame inside my title, made with your PNGs, but
> I don't want them in my buttons, where they appear when I set
> BorderStyle -- UseTitleStyle

You mean "ButtonStyle" here.

> But when I don't do it, the Buttons don't use the background, but the
> average color.
>
> AddTitleStyle InActive Pixmap t/title_left.png -- Flat Left
> AddTitleStyle InActive TiledPixmap t/title_top.png -- Flat Top
> AddTitleStyle Inactive Pixmap t/title_right.png -- Flat Right
> AddTitleStyle InActive TiledPixmap t/title_bottom.png -- Flat Bottom
>
> Thats how I made the frame inside the title
>
> and I made a picture:
> http://doppelhertz.homelinux.org/screenshots/snipsnap.png
>
> So, how can I remove the frame in the buttons?

Well, if you don't want titlebar buttons to enherit all title settings,
then don't use UseTitleStyle. Separately apply semi-transparency to
title and to buttons, like:

   TitleStyle AllInactive Colorset 1 -- flat
   AddTitleStyle AllInactive Colorset 2 60

   ButtonStyle All AllInactive Colorset 1 -- flat
   AddButtonStyle All AllInactive Colorset 2 60

   ButtonStyle All AllInactive -- !UseTitleStyle flat
   ButtonStyle All AllActive -- UseTitleStyle flat

If this does not help, then provide all relevant TitleStyle/ButtonStyle/
Colorset lines. Or better yet, convert your full configuration (or just
decorations) to fvwm-themes format, so I and hunderds of others may
trivially load your theme.

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 Thu Oct 02 2003 - 15:14:19 BST

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