1define({{AutoButtonDir}}, FVWM_USERDIR/themes/current/images/auto-button)
2#syscmd(test -d AutoButtonDir || mkdir AutoButtonDir)
3syscmd(rm -rf AutoButtonDir; mkdir AutoButtonDir)
4syscmd(gzip -dc CompRoot/images/FaceName.tar.gz | tar -C AutoButtonDir -xf -)
5
6Style "*" FvwmButtons  # button relief does not follow the state
7
8BoC AddButtonStyle BoN \
9BoC	ActiveUp   (Pixmap auto-button/options-activeup.xpm   -- flat) \
10BoC	ActiveDown (Pixmap auto-button/options-activedown.xpm -- flat) \
11BoC	Inactive   (Pixmap auto-button/options-inactive.xpm   -- flat)
12BcC AddButtonStyle BcN \
13BcC	ActiveUp   (Pixmap auto-button/close-activeup.xpm   -- flat) \
14BcC	ActiveDown (Pixmap auto-button/close-activedown.xpm -- flat) \
15BcC	Inactive   (Pixmap auto-button/close-inactive.xpm   -- flat)
16BmC AddButtonStyle BmN \
17BmC	ActiveUp   (Pixmap auto-button/maximize-activeup.xpm   -- flat) \
18BmC	ActiveDown (Pixmap auto-button/maximize-activedown.xpm -- flat) \
19BmC	Inactive   (Pixmap auto-button/maximize-inactive.xpm   -- flat)
20BiC AddButtonStyle BiN \
21BiC	ActiveUp   (Pixmap auto-button/iconify-activeup.xpm   -- flat) \
22BiC	ActiveDown (Pixmap auto-button/iconify-activedown.xpm -- flat) \
23BiC	Inactive   (Pixmap auto-button/iconify-inactive.xpm   -- flat)
24BsC AddButtonStyle BsN \
25BsC	ActiveUp   (Pixmap auto-button/stick-activeup.xpm   -- flat) \
26BsC	ActiveDown (Pixmap auto-button/stick-activedown.xpm -- flat) \
27BsC	Inactive   (Pixmap auto-button/stick-inactive.xpm   -- flat)
28BhC AddButtonStyle BhN \
29BhC	ActiveUp   (Pixmap auto-button/shade-activeup.xpm   -- flat) \
30BhC	ActiveDown (Pixmap auto-button/shade-activedown.xpm -- flat) \
31BhC	Inactive   (Pixmap auto-button/shade-inactive.xpm   -- flat)
32BlC AddButtonStyle BlN \
33BlC	ActiveUp   (Pixmap auto-button/titleleft-activeup.xpm   -- flat) \
34BlC	ActiveDown (Pixmap auto-button/titleleft-activedown.xpm -- flat) \
35BlC	Inactive   (Pixmap auto-button/titleleft-inactive.xpm   -- flat)
36BrC AddButtonStyle BrN \
37BrC	ActiveUp   (Pixmap auto-button/titleright-activeup.xpm   -- flat) \
38BrC	ActiveDown (Pixmap auto-button/titleright-activedown.xpm -- flat) \
39BrC	Inactive   (Pixmap auto-button/titleright-inactive.xpm   -- flat)
40
41AddToFunc   FuncFvwmReloadDecor
42BoC + I AddButtonStyle BoN \
43BoC	ActiveUp   (Pixmap auto-button/options-activeup.xpm   -- flat) \
44BoC	ActiveDown (Pixmap auto-button/options-activedown.xpm -- flat) \
45BoC	Inactive   (Pixmap auto-button/options-inactive.xpm   -- flat)
46BcC + I AddButtonStyle BcN \
47BcC	ActiveUp   (Pixmap auto-button/close-activeup.xpm   -- flat) \
48BcC	ActiveDown (Pixmap auto-button/close-activedown.xpm -- flat) \
49BcC	Inactive   (Pixmap auto-button/close-inactive.xpm   -- flat)
50BmC + I AddButtonStyle BmN \
51BmC	ActiveUp   (Pixmap auto-button/maximize-activeup.xpm   -- flat) \
52BmC	ActiveDown (Pixmap auto-button/maximize-activedown.xpm -- flat) \
53BmC	Inactive   (Pixmap auto-button/maximize-inactive.xpm   -- flat)
54BiC + I AddButtonStyle BiN \
55BiC	ActiveUp   (Pixmap auto-button/iconify-activeup.xpm   -- flat) \
56BiC	ActiveDown (Pixmap auto-button/iconify-activedown.xpm -- flat) \
57BiC	Inactive   (Pixmap auto-button/iconify-inactive.xpm   -- flat)
58BsC + I AddButtonStyle BsN \
59BsC	ActiveUp   (Pixmap auto-button/stick-activeup.xpm   -- flat) \
60BsC	ActiveDown (Pixmap auto-button/stick-activedown.xpm -- flat) \
61BsC	Inactive   (Pixmap auto-button/stick-inactive.xpm   -- flat)
62BhC + I AddButtonStyle BhN \
63BhC	ActiveUp   (Pixmap auto-button/shade-activeup.xpm   -- flat) \
64BhC	ActiveDown (Pixmap auto-button/shade-activedown.xpm -- flat) \
65BhC	Inactive   (Pixmap auto-button/shade-inactive.xpm   -- flat)
66BlC + I AddButtonStyle BlN \
67BlC	ActiveUp   (Pixmap auto-button/titleleft-activeup.xpm   -- flat) \
68BlC	ActiveDown (Pixmap auto-button/titleleft-activedown.xpm -- flat) \
69BlC	Inactive   (Pixmap auto-button/titleleft-inactive.xpm   -- flat)
70BrC + I AddButtonStyle BrN \
71BrC	ActiveUp   (Pixmap auto-button/titleright-activeup.xpm   -- flat) \
72BrC	ActiveDown (Pixmap auto-button/titleright-activedown.xpm -- flat) \
73BrC	Inactive   (Pixmap auto-button/titleright-inactive.xpm   -- flat)
74