FuncFvwmDecorBackground

Style "*" Button 1, Button 2, Button 4
Style "*" MWMButtons  # button relief follows the state

AddButtonStyle 1 Vector 3 23x58@0 77x58@0 77x42@0
AddButtonStyle 1 Vector 3 23x58@1 23x42@1 77x42@1

AddButtonStyle 2 Vector 3 21x79@0 79x79@0 79x21@0
AddButtonStyle 2 Vector 3 21x79@1 21x21@1 79x21@1

AddButtonStyle 4 Vector 3 42x58@0 58x58@0 58x42@0
AddButtonStyle 4 Vector 3 42x58@1 42x42@1 58x42@1

ButtonStyle 1 - Clear MWMDecorMenu
ButtonStyle 2 - Clear MWMDecorMax
ButtonStyle 4 - Clear MWMDecorMin

TitleStyle Height MinHeight 20

#     button	context	modifie	function
Mouse 1 	1	A	FuncFvwmWindowOpsOrAction Delete
MouseXX 2 3	1	A       Menu MenuFvwmWindowMove
MouseXX 3 2	1	A	Menu MenuFvwmWindowGroupOps
Mouse 1 	2	A	FuncFvwmMaximize
Mouse 2 	2	A	FuncFvwmMaximizeVertically
Mouse 3 	2	A	FuncFvwmMaximizeHorizontally
Mouse 1 	2	S	Maximize grow grow
Mouse 2 	2	S	Maximize    0 grow
Mouse 3 	2	S	Maximize grow    0
Mouse 1 	4	A	FuncFvwmIconify
Mouse 2 	4	A	Close
Mouse 3 	4	A	Destroy
Mouse 0 	1	CM	FuncFvwmShowButtonInfo "Mouse 1 - Window Ops menu, or Delete on double click^nMouse 2/3 - Move menu^nMouse 3/2 - Resource Group menu"
Mouse 0 	2	CM	FuncFvwmShowButtonInfo "Mouse 1 - Maximize:^n^tfully on click^n^tmenu on double click^nMouse 2 - Maximize vertically^nMouse 3 - Maximize horizontally^nAll with Shift - Maximize grow"
Mouse 0 	4	CM	FuncFvwmShowButtonInfo "Mouse 1 - Iconify^nMouse 2 - Close^nMouse 3 - Destroy"

DestroyFunc FuncFvwmUnReloadDecor
AddToFunc   FuncFvwmUnReloadDecor

DestroyFunc FuncFvwmReloadDecor
AddToFunc   FuncFvwmReloadDecor
+ I FuncFvwmDecorBackground
+ I AddButtonStyle 1 3 23x58@0 77x58@0 77x42@0
+ I AddButtonStyle 1 3 23x58@1 23x42@1 77x42@1
+ I AddButtonStyle 2 3 21x79@0 79x79@0 79x21@0
+ I AddButtonStyle 2 3 21x79@1 21x21@1 79x21@1
+ I AddButtonStyle 4 3 42x58@0 58x58@0 58x42@0
+ I AddButtonStyle 4 3 42x58@1 42x42@1 58x42@1

DestroyFunc FuncFvwmOverRideWindowLook
AddToFunc   FuncFvwmOverRideWindowLook

DestroyFunc FuncFvwmStartWindowButtons
AddToFunc   FuncFvwmStartWindowButtons

DestroyFunc FuncFvwmStopWindowButtons
AddToFunc   FuncFvwmStopWindowButtons
+ I FuncFvwmRemoveAllButtons
+ I Mouse 1 	1	A	-
+ I Mouse 2	1	A	-
+ I Mouse 3	1	A       -
+ I Mouse 1 	2	A	-
+ I Mouse 2	2	A	-
+ I Mouse 3	2	A       -
+ I Mouse 1 	2	S	-
+ I Mouse 2	2	S	-
+ I Mouse 3	2	S       -
+ I Mouse 1 	4	A	-
+ I Mouse 2	4	A	-
+ I Mouse 3	4	A       -
+ I Mouse 0 	1	CM	-
+ I Mouse 0 	2	CM	-
+ I Mouse 0 	4	CM	-
