Debian Codegraph @

fvwm/decorations/Clear/Orange/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 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 22 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 8x8@4 88x8@1 88x88@1 8x88@1 8x8@1
23
24 # Maximize
25 + ButtonStyle 2 Vector 18 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \
26 50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \
27 23x43@1 43x43@1 43x23@1 \
28 8x8@4 88x8@1 88x88@1 8x88@1 8x8@1
29
30 # Iconify
31 + ButtonStyle 4 Vector 10 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1 \
32 8x8@4 88x8@1 88x88@1 8x88@1 8x8@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-os2
49