Hi Dominique,

thanks for reply :-)

I looked into your config but unfortunatelly it shows the "other" way
over ForeColor, BackColor and sets the gradients directly via 
TitleStyle and ButtonStyle. But it doesn't matter because I found out 
how gradients appears on titlebar AND vector buttons over the
Colorset way ^^. Now both methods are available in this thread!
Great!
 
Here is what I found out. Two things are important to use gradients
with Colorsets:
1. Not using "ButtonStyle" but "AddButtonStyle"
2. A combination of some Colorsets AND TitleStyle settings:
 
# Needed Colorsets
###########################

# The base/sole Style Colorset
# fg = Inactive titlebar font color
# bg = Inactive hilight color for vector buttons
# sh = Inactive shade color for vector buttons
Colorset 1 fg #606060, bg #606060, sh #98a5b5
 
# The active window Colorset
# Gradient = Active windows titlebar
# fg = Active titlebar font color
# bg = Active hilight color for vector buttons
# sh = Active shade color for vector buttons
Colorset 2  VGradient 255 2 #829aba 40 #657d9d 60 #314969, bg white, fg white, 
fgAlpha 85, sh #606060, NoShape
 
# The inactive window Colorset
# Gradient = Inactive windows titlebar
# bg = inactive border line color
# hi = inactive border line color
# sh = inactive shade border line color
Colorset 3 VGradient 255 2 #98a5b5 40 #7c8999 60 #687585, bg #687585, hi 
#657d9d, NoShape
  
# Needed Style settings
############################
Style * Colorset 1
Style * HilightColorset 2
 
# Needed TitleStyle settings
############################
TitleStyle AllActive   Colorset 2
TitleStyle AllInactive Colorset 3
 
If the TitleStyle settings are deactivated the gradients disappear. The 
titlebar + buttons use now the background color of the respective
Colorset:
Active ->  Colorset 2
Inactive ->  Colorset 3


Regards,
Thomas
--
Life is like a box of chocolates - never know what you're gonna get.

-----Ursprüngliche Nachricht-----
Von: "Dominic Humphries" <li...@oneandoneis2.org>
Gesendet: 26.07.2011 14:02:48
An: fvwm@fvwm.org
Betreff: Re: FVWM: Question about Gradients on windows decor

>I'm still on 2.5, but I have gradient-based window decorations - see
>screenshot at
>http://geekblog.oneandoneis2.org/media/blogs/new/screenshot.png
>
>There might be something you find helpful in the config files, available
>at http://geekblog.oneandoneis2.org/media/fvwm.tgz
>
>No idea how much 2.6 changed these things tho..
>
>Dominic


___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

Reply via email to