Debian Codegraph @

fvwm/decorations/DarkSky/Gray/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 -- Raised
13 PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"'
14
15 + BorderStyle -- Raised HiddenHandles
16
17 # Close
18 + ButtonStyle 1 \
19 Active (AdjustedPixmap $./button-active-close.png) \
20 Inactive (AdjustedPixmap $./button-inactive-close.png)
21
22 # Close
23 + ButtonStyle 2 \
24 Active (AdjustedPixmap $./button-active-close.png) \
25 Inactive (AdjustedPixmap $./button-inactive-close.png)
26
27 # Maximize
28 + ButtonStyle 4 \
29 Active (AdjustedPixmap $./button-active-maximize.png) \
30 Inactive (AdjustedPixmap $./button-inactive-maximize.png)
31
32 # Options
33 + ButtonStyle 6 \
34 Active (AdjustedPixmap $./button-active-options.png) \
35 Inactive (AdjustedPixmap $./button-inactive-options.png)
36
37 # Arrows
38 + ButtonStyle 8 \
39 Active (AdjustedPixmap $./button-active-arrows.png) \
40 Inactive (AdjustedPixmap $./button-inactive-arrows.png)
41
42 + ButtonStyle All -- UseTitleStyle
43 + ButtonStyle All -- Raised
44
45 Style * HandleWidth 4, BorderWidth 4
46 Style * Colorset $[infostore.cs_window_inactive], \
47 BorderColorset $[infostore.cs_window_inactiveborder], \
48 HilightColorset $[infostore.cs_window_active], \
49 HilightBorderColorset $[infostore.cs_window_activeborder]
50
51 Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]"
52
53 Style * MwmBorder
54
55 Style * UseDecor WindowDecoration
56
57 # Setup button functions
58 Include components/decorations/Buttons-fvwm-crystal
59