aboutsummaryrefslogtreecommitdiff
path: root/decorations/Dakkar/Default/Theme.os2
blob: 928f31b30a1a2844a4fbb5a99ffb8bca586c7533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# OS/2 version
 
# Setup colorsets
Read $./Colorsets
 
DestroyDecor recreate WindowDecoration
AddToDecor WindowDecoration
 
+ TitleStyle InActive Colorset $[infostore.cs_window_inactive]
+ TitleStyle Active Colorset $[infostore.cs_window_active]
+ TitleStyle LeftJustified
+ TitleStyle -- flat
PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"'
 
+ BorderStyle -- HiddenHandles
+ BorderStyle -- Flat
 
# Close
+ ButtonStyle 1 Vector 17 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \
                        70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \
                        48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \
                        23x28@1 23x23@1
 
# Maximize
+ ButtonStyle 2 Vector 13 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \
                        50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \
                        23x43@1 43x43@1 43x23@1
 
+ ButtonStyle 3 MiniIcon
 
# Iconify
+ ButtonStyle 4 Vector 5 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1
 
+ ButtonStyle All -- UseTitleStyle
+ ButtonStyle All -- flat
 
Style * HandleWidth 1, BorderWidth 1
Style * Colorset                $[infostore.cs_window_inactive], \
        BorderColorset          $[infostore.cs_window_inactive], \
        HilightColorset         $[infostore.cs_window_active], \
        HilightBorderColorset   $[infostore.cs_window_active]
 
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]"
 
Style * UseDecor WindowDecoration
 
# Setup button functions
Include components/decorations/Buttons-os2-MiniIcon