FuncFvwmDecorBackground

Style "*" Button 1, Button 2, Button 4, Button 6
Style "*" MwmButtons

AddButtonStyle 1 MiniIcon
AddButtonStyle 2 ActiveUp   Pixmap button/win-window-close.xpm
AddButtonStyle 2 ActiveDown Pixmap button/win-window-close-pressed.xpm
AddButtonStyle 2 Inactive   Pixmap button/win-window-close.xpm
AddButtonStyle 4 ActiveUp   Pixmap button/win-window-maximize.xpm
AddButtonStyle 4 ActiveDown Pixmap button/win-window-maximize-pressed.xpm
AddButtonStyle 4 Inactive   Pixmap button/win-window-maximize.xpm
AddButtonStyle 6 ActiveUp   Pixmap button/win-window-iconify.xpm -- Right flat
AddButtonStyle 6 ActiveDown Pixmap button/win-window-iconify-pressed.xpm -- Right flat
AddButtonStyle 6 Inactive   Pixmap button/win-window-iconify.xpm -- Right flat
#
AddButtonStyle 4 ToggledActiveUp   Pixmap button/win-window-restore.xpm
AddButtonStyle 4 ToggledActiveDown Pixmap button/win-window-restore-pressed.xpm
AddButtonStyle 4 ToggledInactive   Pixmap button/win-window-restore.xpm

ButtonStyle All - Clear
ButtonStyle 1 - MwmDecorMenu
ButtonStyle 6 - MwmDecorMin
ButtonStyle 4 - MwmDecorMax

TitleStyle	Height 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 0 	2	A	FuncFvwmDeleteOrDestroy
Mouse 1 	4	A	FuncFvwmMaximize
Mouse 2		4	A	FuncFvwmMaximizeVertically
Mouse 3		4 	A	FuncFvwmMaximizeHorizontally
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"
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 MiniIcon
+ I AddButtonStyle 2 ActiveUp   Pixmap button/win-window-close.xpm
+ I AddButtonStyle 2 ActiveDown Pixmap button/win-window-close-pressed.xpm
+ I AddButtonStyle 2 Inactive   Pixmap button/win-window-close.xpm
+ I AddButtonStyle 4 ActiveUp   Pixmap button/win-window-maximize.xpm
+ I AddButtonStyle 4 ActiveDown Pixmap button/win-window-maximize-pressed.xpm
+ I AddButtonStyle 4 Inactive   Pixmap button/win-window-maximize.xpm
+ I AddButtonStyle 6 ActiveUp   Pixmap button/win-window-iconify.xpm -- Right flat
+ I AddButtonStyle 6 ActiveDown Pixmap button/win-window-iconify-pressed.xpm -- Right flat
+ I AddButtonStyle 6 Inactive   Pixmap button/win-window-iconify.xpm -- Right flat
+ I AddButtonStyle 4 ToggledActiveUp   Pixmap button/win-window-restore.xpm
+ I AddButtonStyle 4 ToggledActiveDown Pixmap button/win-window-restore-pressed.xpm
+ I AddButtonStyle 4 ToggledInactive   Pixmap button/win-window-restore.xpm

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 	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	-
