On 05 Oct 2003 20:25:53 +0800, kevin leung wrote:
> 
> > > + AddButtonStyle 1 Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
> > > PROTECTED] [EMAIL PROTECTED]
> > 
> > Try to replace this with:
> > 
> > AddButtonStyle 1 AllInactive Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] 
> > [EMAIL PROTECTED] [EMAIL PROTECTED]
> > AddButtonStyle 1 AllActive   Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] 
> > [EMAIL PROTECTED] [EMAIL PROTECTED]
> 
> 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 [EMAIL PROTECTED] [EMAIL PROTECTED] 
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> 
> In this way, we are not constrained to only one shadow
> color or one foreground color in "Style *".
> 
> Just a kind suggestion. ;)

Maybe. I.e. when ButtonStyle Colorset is specified without alpha, then it
fully replaces the base titlebar colorset for things like vector button
drawing. Only Olivier knows whether it is easy to apply this logic.

When started to reply, I thought that currently you may define 2
shadow/hilight sets of colors, one for right buttons and one for left
buttons using MultiPixmap (beware, it will be renamed to MultiPart, since
it works with colorsets not [just] pixmaps). But I tested, the situation
here is the same, the base titlebar colorset (Style * Colorset) is always
used for Vector buttons regardless of the fact other colorsets fully
override it.

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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to