Re: FVWM: Individual vector button color

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 5 Oct 2003 10:13:00 +0300

On 05 Oct 2003 10:54:41 +0800, kevin leung wrote:
>
> I am working fine with fvwm-2.5.7 for a week. There is
> only a very minor problem that bothers me.
>
> Please take a look at one of my screenshots first:
> http://chaoith.no-ip.org:30002/shot-2.png
>
> As you may have seen, Button 1 is in the same
> foreground color as the title, which is extremely
> difficult to see. What I really want is to override
> the button 1 foreground color to something darker.
> fvwm fails me. It is very likely that I configure the
> wrong way.
>
> Here is my fvwm2rc. Any comments are welcomed.
>
> #Active Window
> Colorset 2 bg #3e71aa, fg white
>
> #Active button 1
> Colorset 15 bg #e0e8f5, fg black
>
> #Active titlebar
> Colorset 21 HGradient 200 #e0e8f5 #728daa
>
> Style * HilightColorset 2
>
> AddToDecor DefaultDecor
>
> + TitleStyle Active (Colorset 21 -- flat) Inactive
> (Colorset 22 -- flat)
>
> + ButtonStyle 1 Activeup (Colorset 15 -- flat)
> Inactive (Colorset 17 -- flat)
>
> #Using _at_2 because fvwm swaps @2 with @3, mystery.
> #_at_2 represent the foreground color in this case.

In cvs, _at_2 represents bg not fg, as documented.

> + AddButtonStyle 1 Vector 4 50x80_at_2 20x20_at_2 80x20_at_2 50x80_at_2

Try to replace this with:

AddButtonStyle 1 AllInactive Vector 4 50x80_at_2 20x20_at_2 80x20_at_2 50x80_at_2
AddButtonStyle 1 AllActive Vector 4 50x80_at_0 20x20_at_0 80x20_at_0 50x80_at_0

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 Sun Oct 05 2003 - 02:15:44 BST

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