FVWM: Title Bar Button color problem

From: Duane Paddock - Personal <paddoda_at_rogers.com>
Date: Sat, 6 Mar 2004 12:36:16 -0500 (EST)

I'm currently having a problem with the color of the buttons in the title
bar. With version 2.5.7 the vector lines are drawn using black by
default, but with 2.5.9, they are drawn using a different color. How can
I force the color of the vector lines to be drawn in black using 2.5.9?

I have the same problem using SUSE linux 9.0 and Solaris 8.

[Linux]$ fvwm-config -s
bidi
gettext
gtk
gdk-imlib
gnome-libs
iconv
perllib
png
readline
shape
shm
sm
stroke
xinerama
xpm
xrender

[Solaris]$ fvwm-config -s
gettext
gtk
gdk-imlib
perllib
png
readline
rplay
shape
shm
sm
stroke
xpm


Here's a sample screen capture of the title bar from 2.5.7 and 2.5.9.

http://members.rogers.com/paddoda/title.html


Here's a minimum config that demonstrates the different behavior;

Colorset 9 NoShape, VGradient 13 1 #f6f6f6 50 #000000, Alpha 50
Colorset 10 VGradient 13 1 #f6f6f6 50 gray40

DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle LeftJustified Height 13
+ TitleStyle InActive ( Colorset 9 -- Flat ) \
    Active ( Colorset 10 -- Flat )
# Buttons on the title bar
# (1,3,5,7,9 are on the left, 0,8,6,4,2 on the right side of the title bar).
+ ButtonStyle All InActive ( Colorset 9 -- Flat )
+ ButtonStyle All Active ( Colorset 10 -- Flat )
+ AddButtonStyle 4 ActiveUp Vector 7 30x30_at_2 30x60_at_2 60x60_at_2 60x30_at_2 \
        30x30_at_2 30x35_at_2 60x35_at_2 -- Flat
+ AddButtonStyle 4 Inactive Vector 7 30x30_at_3 30x60_at_3 60x60_at_3 60x30_at_3 \
        30x30_at_3 30x35_at_3 60x35_at_3 -- Flat
+ AddButtonStyle 4 ActiveDown Vector 7 35x35_at_2 35x65_at_2 65x65_at_2 65x35_at_2 \
        35x35_at_2 35x40_at_2 65x40_at_2 -- Flat
+ AddButtonStyle 1 Inactive Vector 4 44x44_at_3 44x45_at_3 45x45_at_3 44x44_at_3 -- Flat
+ AddButtonStyle 1 ActiveUp Vector 4 44x44_at_2 44x45_at_2 45x45_at_2 44x44_at_2 -- Flat
+ AddButtonStyle 1 ActiveDown Vector 4 49x49_at_2 49x50_at_2 50x50_at_2 49x49_at_2 -- Flat
+ AddButtonStyle 6 ActiveUp Vector 5 30x60_at_2 60x60_at_2 60x50_at_2 30x50_at_2 30x60_at_2 -- Flat
+ AddButtonStyle 6 Inactive Vector 5 30x60_at_3 60x60_at_3 60x50_at_3 30x50_at_3 30x60_at_3 -- Flat
+ AddButtonStyle 6 ActiveDown Vector 5 35x65_at_2 65x65_at_2 65x55_at_2 35x55_at_2 35x65_at_2 -- Flat
+ AddButtonStyle 2 ActiveUp Vector 5 30x30_at_2 60x60_at_2 45x45_at_2 60x30_at_2 30x60_at_2 -- Flat
+ AddButtonStyle 2 Inactive Vector 5 30x30_at_3 60x60_at_3 45x45_at_3 60x30_at_3 30x60_at_3 -- Flat
+ AddButtonStyle 2 ActiveDown Vector 5 35x35_at_2 65x65_at_2 50x50_at_2 65x35_at_2 35x65_at_2 -- Flat
+ AddButtonStyle 3 ActiveUp Vector 5 30x60_at_2 60x60_at_2 60x50_at_2 30x50_at_2 30x60_at_2 -- Flat
+ AddButtonStyle 3 Inactive Vector 5 30x60_at_3 60x60_at_3 60x50_at_3 30x50_at_3 30x60_at_3 -- Flat
+ AddButtonStyle 3 ActiveDown Vector 5 35x65_at_2 65x65_at_2 65x55_at_2 35x55_at_2 35x65_at_2 -- Flat

Style * UseDecor DefaultDecor

# for the title bar buttons:
Mouse 0 1 A Nop
Mouse 0 2 A Nop
Mouse 0 3 A Nop
Mouse 0 4 A Nop
Mouse 0 6 A Nop


Thanks,

Duane.
--
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 Sat Mar 06 2004 - 11:39:07 GMT

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