Debian Codegraph @

fvwm/decorations/Motif/Cyan Gray/Theme.os2

raw
1 # OS/2 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 -- Raised
13 PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"'
14
15 + BorderStyle -- Raised
16
17 # Close
18 + ButtonStyle 1 Vector 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 \
19 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 \
20 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 \
21 20x30@0 20x20@1
22
23 # Maximize
24 + ButtonStyle 2 Vector 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
25
26 # Iconify
27 + ButtonStyle 4 Vector 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1
28
29 + ButtonStyle All -- UseTitleStyle
30 + ButtonStyle All -- Raised
31
32 Style * HandleWidth 5, BorderWidth 5
33 Style * Colorset $[infostore.cs_window_inactive], \
34 BorderColorset $[infostore.cs_window_inactive], \
35 HilightColorset $[infostore.cs_window_active], \
36 HilightBorderColorset $[infostore.cs_window_active]
37
38 Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]"
39
40 Style * MwmBorder
41
42 Style * UseDecor WindowDecoration
43
44 # Setup button functions
45 Include components/decorations/Buttons-os2
46