Debian Codegraph @

fvwm/decorations/MicroClear/Default/Theme.fvwm-crystal

raw
1 # FVWM-Crystal version
2
3 # Setup colorsets
4 Read $./Colorsets
5
6 DestroyDecor recreate WindowDecoration
7 AddToDecor WindowDecoration
8
9 + TitleStyle InActive Colorset $[infostore.cs_window_inactive]
10 + TitleStyle Active Colorset $[infostore.cs_window_active]
11 + TitleStyle LeftJustified
12 + TitleStyle -- flat
13 PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"'
14
15 + BorderStyle -- HiddenHandles
16 + BorderStyle -- Flat
17
18 # Close
19 + ButtonStyle 1 Vector 17 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \
20 70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \
21 48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \
22 23x28@1 23x23@1
23
24 # Close
25 + ButtonStyle 2 Vector 17 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \
26 70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \
27 48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \
28 23x28@1 23x23@1
29
30 # Maximize
31 + ButtonStyle 4 Vector 13 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \
32 50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \
33 23x43@1 43x43@1 43x23@1
34
35 # Options
36 + ButtonStyle 6 Vector 6 23x27@4 70x27@1 \
37 48x40@4 70x66@1 23x66@1 48x40@1
38
39 # Arrows
40 + ButtonStyle 8 Vector 8 20x35@4 40x18@1 40x58@1 20x35@1 52x35@4 \
41 72x55@1 52x75@1 52x35@1
42
43 + ButtonStyle All -- UseTitleStyle
44 + ButtonStyle All -- flat
45
46 Style * HandleWidth 1, BorderWidth 1
47 Style * Colorset $[infostore.cs_window_inactive], \
48 BorderColorset $[infostore.cs_window_inactive], \
49 HilightColorset $[infostore.cs_window_active], \
50 HilightBorderColorset $[infostore.cs_window_active]
51
52 Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]"
53
54 Style * UseDecor WindowDecoration
55
56 # Setup button functions
57 Include components/decorations/Buttons-fvwm-crystal
58