Hi,
I'm trying to configure a button in the tittle bar to show pressed
when the window is shaded. Unfortunately it does not work. I tried the
same for the maximized state "MWMDecorMaximize" and it works. Here's
my dcoration:
AddToDecor decor2
+ ButtonStyle 1 MiniIcon
#### although its not explicitedly configured, this button shows up
#### pressed when the window is maximized. why?
+ ButtonStyle 2 Clear
+ ButtonStyle 2 ActiveUp 13 26x29_at_1 34x21_at_1 50x35_at_1 70x21_at_1 79x29_at_1 \
63x48_at_0 79x65_at_1 70x75_at_0 50x61_at_0 34x75_at_0 26x65_at_0 44x48_at_1 26x29_at_0
+ ButtonStyle 2 Inactive 13 26x29_at_1 34x21_at_1 50x35_at_1 70x21_at_1 79x29_at_1 \
63x48_at_0 79x65_at_1 70x75_at_0 50x61_at_0 34x75_at_0 26x65_at_0 44x48_at_1 26x29_at_0
+ ButtonStyle 2 ActiveDown 13 26x29_at_0 34x21_at_0 50x35_at_0 70x21_at_0 \
79x29_at_0 63x48_at_1 79x65_at_0 70x75_at_1 50x61_at_1 34x75_at_1 26x65_at_1 \
44x48_at_0 26x29_at_1
##### this one works
+ ButtonStyle 4 Clear
+ ButtonStyle 4 ActiveUp 5 25x25_at_1 25x75_at_1 75x75_at_0 75x25_at_0 25x25_at_1
+ ButtonStyle 4 Inactive 5 25x25_at_1 25x75_at_1 75x75_at_0 75x25_at_0 25x25_at_1
+ ButtonStyle 4 ActiveDown 5 25x25_at_0 25x75_at_0 75x75_at_1 75x25_at_1 25x25_at_0
+ ButtonStyle 4 - MWMDecorMaximize
+ ButtonStyle 4 ToggledActiveUp Vector 5 25x25_at_1 25x75_at_1 75x75_at_0 \
75x25_at_0 25x25_at_1
+ ButtonStyle 4 ToggledActiveDown Vector 5 25x25_at_1 25x75_at_0 75x75_at_1 \
75x25_at_1 25x25_at_0
#### This one doesn't
+ ButtonStyle 6 Clear
+ ButtonStyle 6 ActiveUp 16 60x40_at_1 60x80_at_0 15x80_at_0 15x40_at_1 \
60x40_at_1 40x40_at_1 40x25_at_1 75x25_at_1 75x60_at_0 60x60_at_0 75x60_at_0 \
75x40_at_0 85x40_at_0 85x15_at_0 60x15_at_1 60x25_at_1
+ ButtonStyle 6 Inactive 16 60x40_at_1 60x80_at_0 15x80_at_0 15x40_at_1 \
60x40_at_1 40x40_at_1 40x25_at_1 75x25_at_1 75x60_at_0 60x60_at_0 75x60_at_0 \
75x40_at_0 85x40_at_0 85x15_at_0 60x15_at_1 60x25_at_1
+ ButtonStyle 6 ActiveDown 16 60x40_at_0 60x80_at_1 15x80_at_1 15x40_at_0 \
60x40_at_0 40x40_at_0 40x25_at_0 75x25_at_0 75x60_at_1 60x60_at_1 75x60_at_1 \
75x40_at_1 85x40_at_1 85x15_at_1 60x15_at_0 60x25_at_0
+ ButtonStyle 6 - MWMDecorShade
+ ButtonStyle 6 ToggledActiveUp Vector 16 60x40_at_1 60x80_at_0 \
15x80_at_0 15x40_at_1 60x40_at_1 40x40_at_1 40x25_at_1 75x25_at_1 75x60_at_0 \
60x60_at_0 75x60_at_0 75x40_at_0 85x40_at_0 85x15_at_0 60x15_at_1 60x25_at_1
+ ButtonStyle 6 ToggledActiveDown Vector 16 60x40_at_0 60x80_at_1 \
15x80_at_1 15x40_at_0 60x40_at_0 40x40_at_0 40x25_at_0 75x25_at_0 75x60_at_1 \
60x60_at_1 75x60_at_1 75x40_at_1 85x40_at_1 85x15_at_1 60x15_at_0 60x25_at_0
+ AddButtonStyle All -- flat
+ WindowFont -adobe-helvetica-normal-r-*-*-12-*-*-*-*-*-*-*
+ TitleStyle RightJustified height 20 -- flat
+ BorderStyle -- flat HiddenHandles NoInset
+ HilightColor Black CadetBlue
Best Regards,
alex.
--
--
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 Tue Dec 28 1999 - 01:21:41 GMT