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

On Sun, 2011-07-24 at 11:36 +0200, Thomas Funk wrote:
> Hi all!
> 
> 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
> 
> 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?
> 
> 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