Am Montag, 17. Mai 2004 14:30 schrieb liushidai_at_mails.tsinghua.edu.cn:
> In your mail:
> >From: marcschlienger_at_t-online.de (Marc Schlienger)
> >Reply-To:
> >To: fvwm_at_fvwm.org
> >Subject: FVWM: Changing the button after a window was maximized
> >
> >Hi all,
> >
> > I'm using Fvwm 2.5.9. I just want to change the button look after
> > maximizing the window. I've read the FAQ and the manpages but I haven't
> > found the answer. Any ideas?
> >
> > Marc
>
> Here is a sample:
>
> AddButtonStyle 4 ActiveUp Pixmap unmaximize_activeup.png
> AddButtonStyle 4 ActiveDown Pixmap unmaximize_activedown.png
> AddButtonStyle 4 Inactive Pixmap unmaximize_inactive.png
> AddButtonStyle 4 ToggledActiveUp Pixmap maximize_activeup.png
> AddButtonStyle 4 ToggledActiveDown Pixmap maximize_activedown.png
> AddButtonStyle 4 ToggledInactive Pixmap maximize_inactive.png
> ButtonStyle 4 - MwmDecorMax
My configuration is:
DetroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle LeftJustified
+ TitleStyle --Raised
+ AddButtonStyle 2 Vector 16 20x20_at_1 30x20_at_1 50x40_at_1 70x20_at_1 80x20_at_1 80x30_at_0 \
60x50_at_0 80x80_at_0 70x80_at_0 50x60_at_0 30x80_at_0 20x80_at_0 \
20x70_at_0 40x50_at_1 20x30_at_0 20x20_at_1
+ AddButtonStyle 4 Inactive Vector 4 50x24_at_1 75x74_at_0 25x74_at_0 50x24_at_1
+ AddButtonStyle 4 ActiveUp Vector 4 50x24_at_1 75x74_at_0 25x74_at_0 50x24_at_1
+ AddButtonStyle 4 ActiveDown Vector 4 50x24_at_1 75x74_at_0 25x74_at_0 50x24_at_1
+ AddButtonStyle 4 ToggledInactive Vector 4 50x74_at_1 75x24_at_0 25x24_at_1 50x74_at_1
+ AddButtonStyle 4 ToggledActiveUp Vector 4 50x74_at_1 75x24_at_0 25x24_at_1 50x74_at_1
+ AddButtonStyle 4 ToggledActiveDown Vector 4 50x74_at_1 75x24_at_0 25x24_at_1 50x74_at_1
+ AddButtonStyle 6 Vector 5 40x40_at_1 60x40_at_1 60x60_at_0 40x60_at_0 40x40_at_1
+ AddButtonStyle 3 Vector 8 35x15_at_1 20x50_at_1 40x50_at_0 30x80_at_1 75x40_at_0 50x40_at_1
75x15_at_0 35x15_at_1
+ ButtonStyle 4 - MwmDecorMax
Since I added "Style * MwmButtons" all works fine except that the state of
button 2 changes from raised to sunken when button 4 is pushed.
Why? Any ideas?
Marc
--
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 May 18 2004 - 05:16:42 BST