Debian Codegraph @

fvwm/decorations/MicroClear/Default/Theme.windows

raw
1 # MS Windows 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 + ButtonStyle 1 MiniIcon
19
20 # Close
21 + ButtonStyle 2 Vector 17 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \
22 70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \
23 48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \
24 23x28@1 23x23@1
25
26 # Maximize
27 + ButtonStyle 4 Vector 13 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \
28 50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \
29 23x43@1 43x43@1 43x23@1
30
31 # Iconify
32 + ButtonStyle 6 Vector 5 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1
33
34 + ButtonStyle All -- UseTitleStyle
35 + ButtonStyle All -- flat
36
37 Style * HandleWidth 1, BorderWidth 1
38 Style * Colorset $[infostore.cs_window_inactive], \
39 BorderColorset $[infostore.cs_window_inactive], \
40 HilightColorset $[infostore.cs_window_active], \
41 HilightBorderColorset $[infostore.cs_window_active]
42
43 Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]"
44
45 Style * UseDecor WindowDecoration
46
47 # Setup button functions
48 Include components/decorations/Buttons-windows
49