FuncFvwmDecorBackground

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

AddButtonStyle 1 \
	ActiveUp     (Pixmap button/options-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/options-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/options-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/options-inactivedown.xpm -- flat)
AddButtonStyle 2 \
	ActiveUp     (Pixmap button/close-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/close-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/close-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/close-inactivedown.xpm -- flat)
AddButtonStyle 4 \
	ActiveUp     (Pixmap button/maximize-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/maximize-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/maximize-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/maximize-inactivedown.xpm -- flat)
AddButtonStyle 6 \
	ActiveUp     (Pixmap button/iconify-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/iconify-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/iconify-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/iconify-inactivedown.xpm -- flat)
AddButtonStyle 4 \
	ToggledActiveUp     (Pixmap button/maximize-activedown.xpm   -- flat) \
	ToggledActiveDown   (Pixmap button/maximize-activeup.xpm     -- flat) \
	ToggledInactiveUp   (Pixmap button/maximize-inactivedown.xpm -- flat) \
	ToggledInactiveDown (Pixmap button/maximize-inactiveup.xpm   -- flat)

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

TitleStyle	Height 17

#     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 0 	2	A	FuncFvwmDeleteOrDestroy
Mouse 1 	4	A	FuncFvwmMaximize
Mouse 2 	4	A	FuncFvwmMaximizeVertically
Mouse 3 	4	A	FuncFvwmMaximizeHorizontally
Mouse 1 	4	S	Maximize grow grow
Mouse 2 	4	S	Maximize    0 grow
Mouse 3 	4	S	Maximize grow    0
Mouse 1 	6	A	FuncFvwmIconify
Mouse 2 	6	A	FuncFvwmIconifySameResource on
Mouse 3 	6	A	FuncFvwmIconifySameResource toggle
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 "Delete on click^nDestroy on double click"
Mouse 0 	4	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 	6	CM	FuncFvwmShowButtonInfo "Mouse 1 - Iconify^nMouse 2 - Iconify on resource group^nMouse 3 - Iconify toggle resource group"

DestroyFunc FuncFvwmUnReloadDecor
AddToFunc   FuncFvwmUnReloadDecor

DestroyFunc FuncFvwmReloadDecor
AddToFunc   FuncFvwmReloadDecor
+ I FuncFvwmDecorBackground
+ I AddButtonStyle 1 \
	ActiveUp     (Pixmap button/options-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/options-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/options-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/options-inactivedown.xpm -- flat)
+ I AddButtonStyle 2 \
	ActiveUp     (Pixmap button/close-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/close-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/close-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/close-inactivedown.xpm -- flat)
+ I AddButtonStyle 4 \
	ActiveUp     (Pixmap button/maximize-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/maximize-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/maximize-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/maximize-inactivedown.xpm -- flat)
+ I AddButtonStyle 6 \
	ActiveUp     (Pixmap button/iconify-activeup.xpm     -- flat) \
	ActiveDown   (Pixmap button/iconify-activedown.xpm   -- flat) \
	InactiveUp   (Pixmap button/iconify-inactiveup.xpm   -- flat) \
	InactiveDown (Pixmap button/iconify-inactivedown.xpm -- flat)
+ I AddButtonStyle 4 \
	ToggledActiveUp     (Pixmap button/maximize-activedown.xpm   -- flat) \
	ToggledActiveDown   (Pixmap button/maximize-activeup.xpm     -- flat) \
	ToggledInactiveUp   (Pixmap button/maximize-inactivedown.xpm -- flat) \
	ToggledInactiveDown (Pixmap button/maximize-inactiveup.xpm   -- flat)

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 0 	2	A	-
+ I Mouse 1 	4	A	-
+ I Mouse 2 	4	A	-
+ I Mouse 3 	4	A	-
+ I Mouse 1 	4	S	-
+ I Mouse 2 	4	S	-
+ I Mouse 3 	4	S	-
+ I Mouse 1 	6	A	-
+ I Mouse 2 	6	A	-
+ I Mouse 3 	6	A	-
+ I Mouse 0 	1	CM	-
+ I Mouse 0 	2	CM	-
+ I Mouse 0 	4	CM	-
+ I Mouse 0 	6	CM	-
