Re: FVWM: Individual vector button color

From: kevin leung <xhidem_at_yahoo.com.hk>
Date: Sun, 5 Oct 2003 20:25:53 +0800 (CST)

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

It works. But the button foreground is in black. I
have to add another line:

#Active Window
Colorset 2 bg #3e71aa, fg white, sh #728daa

Style * HilightColorset 2

It is ok if I only want to change 1 button. What about
if I want to change 2 buttons? 3 buttons? 4 buttons?
It seems that there is no way to do it because I can
only specify 1 shadow color. It would be really nice
if the button colorset can override the default style
colorset.

Colorset 15 bg #e0e8f5, fg #728daa
+ ButtonStyle 1 Activeup (Colorset 15 -- flat)
Inactive (Colorset 17 -- flat)
AddButtonStyle 1 AllActive Vector 4 50x80_at_3
 20x20_at_3 80x20_at_3 50x80_at_3

In this way, we are not constrained to only one shadow
color or one foreground color in "Style *".

Just a kind suggestion. ;)

Thanks.
Kevin L



_________________________________________________________
「向左走 向右走」趣怪 VoiceMail 歡迎詞....
http://voicemail.yahoo.com.hk/
--
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 - 07:28:18 BST

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