Debian Codegraph @

fvwm/decorations/Gentoo/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 Centered
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 Inactive AdjustedPixmap $./button-gray.png
20 + ButtonStyle 1 ActiveUp AdjustedPixmap $./button-red-icon.png
21 + ButtonStyle 1 ActiveDown AdjustedPixmap $./button-red.png
22
23 # Close
24 + ButtonStyle 2 Inactive AdjustedPixmap $./button-gray.png
25 + ButtonStyle 2 ActiveUp AdjustedPixmap $./button-red-icon.png
26 + ButtonStyle 2 ActiveDown AdjustedPixmap $./button-red.png
27
28 # Maximize
29 + ButtonStyle 4 Inactive AdjustedPixmap $./button-gray.png
30 + ButtonStyle 4 ActiveUp AdjustedPixmap $./button-green-icon.png
31 + ButtonStyle 4 ActiveDown AdjustedPixmap $./button-green.png
32
33 # Options
34 + ButtonStyle 6 Inactive AdjustedPixmap $./button-gray.png
35 + ButtonStyle 6 ActiveUp AdjustedPixmap $./button-violet-icon.png
36 + ButtonStyle 6 ActiveDown AdjustedPixmap $./button-violet.png
37
38 # Arrows
39 + ButtonStyle 8 Inactive AdjustedPixmap $./button-gray.png
40 + ButtonStyle 8 ActiveUp AdjustedPixmap $./button-blue-icon.png
41 + ButtonStyle 8 ActiveDown AdjustedPixmap $./button-blue.png
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