Hi Thomas,

>This should have been sent to f...@fvwm.org -- please don't ask me questions
>about FVWM off-list. As such, I'm adding fvwm@ back in to this discussion.
-> I did it first, but I get email back with subject "Stalled post to fvwm" on 
both addresses (f...@fvwm.org and fvwm@lists.math.uh.edu)

ok, again ... Here's my previous post for completeness with your comments and 
my questions at the end:

I've tried to create a window decoration with gradients, but it doesn't work. 
Fvwm version used: 2.6.1
I do the following:

# inactive window decoration
Colorset 0 fg rgb:60/60/60,  VGradient 255 2 rgb:82/9a/ba 40 rgb:65/7d/9d 60 
rgb:31/49/69

# active window decoration
Colorset 1  fg black, VGradient 255 2 rgb:98/a5/b5 40 rgb:7c/89/99 60 
rgb:68/75/85

>Because gradients don't work in this way; you cannot have gradients on
>window borders, for instance.
yes, I wrote this below ... only with Colorset ...

Style    * UseDecor testem
Style    * HandleWidth 10
Style *    Colorset 0, HilightColorset 1

DestroyDecor    testem
AddToDecor    testem
+ TitleStyle  LeftJustified -- Flat
+ ButtonStyle    Reset
+ ButtonStyle    all    -- UseTitleStyle
+ ButtonStyle 1 4 50x65@1 35x35@1 65x35@1 50x65@0 -- Flat
+ ButtonStyle 2 - Clear
+ ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 
80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1 
-- Flat
+ ButtonStyle 4 13 60x20@0 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 
40x60@1 20x60@0 20x40@1 40x40@1 40x20@1 60x20@1 -- Flat
+ ButtonStyle 6 3 0+4px50+1p@0 100-5px50+1p@0 100-5px50-2p@0 -- Flat

I get only a white background in both windows.

Titlestyle works:
+ TitleStyle     Inactive VGradient 255 2 rgb:82/9a/ba 40 rgb:65/7d/9d 60 
rgb:31/49/69 -- flat
+ TitleStyle     Active VGradient 255 2 rgb:98/a5/b5 40 rgb:7c/89/99 60 
rgb:68/75/85 -- flat

Borderstyle not:
+ BorderStyle    Inactive VGradient 255 2 rgb:82/9a/ba 40 rgb:65/7d/9d 60 
rgb:31/49/69 -- HiddenHandles NoInset
+ BorderStyle    Active VGradient 255 2 rgb:98/a5/b5 40 rgb:7c/89/99 60 
rgb:68/75/85 -- HiddenHandles NoInset

Only with a Colorset:
# Inactive window borders
Colorset 2 VGradient 255 2 rgb:82/9a/ba 40 rgb:65/7d/9d 60 rgb:31/49/69

# Active window borders
Colorset 3 VGradient 255 2 rgb:98/a5/b5 40 rgb:7c/89/99 60 rgb:68/75/85

+ BorderStyle    Inactive Colorset 2 -- HiddenHandles NoInset
+ BorderStyle    Active Colorset 3 -- HiddenHandles NoInset

But the vector buttons ... no chance. I've tried these variants:
+ ButtonStyle    All Active (VGradient 255 2 rgb:98/a5/b5 40 rgb:7c/89/99 60 
rgb:68/75/85 -- flat) Inactive (VGradient 255 2 rgb:82/9a/ba 40 rgb:65/7d/9d 60 
rgb:31/49/69 -- flat)
+ ButtonStyle    All Active (Colorset 3 -- flat) Inactive (Colorset 2 -- flat)

but without success ...

Any suggestions?

>ButtonStyle All -- UseTitleStyle
I've used it ... see above ...

Ok, again ... why doesn't Gradients work with the style command for 
inactive/active window decoration? Why appears a white decoration?

Regards,
Thomas

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


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

Reply via email to