FuncFvwmDecorBackground

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

AddButtonStyle 1 5 22x39@1 78x39@1 78x61@0 22x61@0 22x39@1
AddButtonStyle 2 5 25x25@1 75x25@1 75x75@0 25x75@0 25x25@1
AddButtonStyle 3 5 32x45@1 68x45@1 68x55@0 32x55@0 32x45@1
AddButtonStyle 4 5 39x39@1 61x39@1 61x61@0 39x61@0 39x39@1
AddButtonStyle 6 5 25x35@1 75x35@1 75x40@0 25x40@0 25x35@1

ButtonStyle 1 - Clear MWMDecorMenu
ButtonStyle 2 - Clear MWMDecorMax
ButtonStyle 3 - Clear MWMDecorStick
ButtonStyle 4 - Clear MWMDecorMin
ButtonStyle 6 - Clear MWMDecorShade

TitleStyle Height MinHeight 18

#     button	context	modifie	function
Mouse 1 	1	A	FuncFvwmWindowOpsOrAction Delete
MouseXX 2 3	1	A       Menu MenuFvwmWindowMove Destroy
MouseXX 3 2	1	A	Menu MenuFvwmWindowGroupOps Nop
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 	3	A	Stick
Mouse 0 	4	A	FuncFvwmIconify
Mouse 0 	6	A	WindowShade
Mouse 0 	1	CM	FuncFvwmShowButtonInfo "Mouse 1 - Window Ops menu, or Delete on double click^nMouse 2/3 - Move menu, or Destroy on double click^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 	3	CM	FuncFvwmShowButtonInfo "Mouse 1 - Stick"
Mouse 0 	4	CM	FuncFvwmShowButtonInfo "Iconify"
Mouse 0 	6	CM	FuncFvwmShowButtonInfo "WindowShade"

DestroyFunc FuncFvwmUnReloadDecor
AddToFunc   FuncFvwmUnReloadDecor

DestroyFunc FuncFvwmReloadDecor
AddToFunc   FuncFvwmReloadDecor
+ I FuncFvwmDecorBackground
+ I AddButtonStyle 1 5 22x39@1 78x39@1 78x61@0 22x61@0 22x39@1
+ I AddButtonStyle 2 5 25x25@1 75x25@1 75x75@0 25x75@0 25x25@1
+ I AddButtonStyle 3 5 32x45@1 68x45@1 68x55@0 32x55@0 32x45@1
+ I AddButtonStyle 4 5 39x39@1 61x39@1 61x61@0 39x61@0 39x39@1
+ I AddButtonStyle 6 5 25x35@1 75x35@1 75x40@0 25x40@0 25x35@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 	3	A	-
+ I Mouse 0 	4	A	-
+ I Mouse 0 	6	A	-
+ I Mouse 0 	1	CM	-
+ I Mouse 0 	2	CM	-
+ I Mouse 0 	3	CM	-
+ I Mouse 0 	4	CM	-
+ I Mouse 0 	6	CM	-
