| 1 |
# MacOS X 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 17 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 |
| 23 |
|
| 24 |
# Iconify |
| 25 |
+ ButtonStyle 3 Vector 5 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1 |
| 26 |
|
| 27 |
+ ButtonStyle 5 Vector 13 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \ |
| 28 |
50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \ |
| 29 |
23x43@1 43x43@1 43x23@1 |
| 30 |
|
| 31 |
+ ButtonStyle All -- UseTitleStyle |
| 32 |
+ ButtonStyle All -- flat |
| 33 |
|
| 34 |
Style * HandleWidth 1, BorderWidth 1 |
| 35 |
Style * Colorset $[infostore.cs_window_inactive], \ |
| 36 |
BorderColorset $[infostore.cs_window_inactive], \ |
| 37 |
HilightColorset $[infostore.cs_window_active], \ |
| 38 |
HilightBorderColorset $[infostore.cs_window_active] |
| 39 |
|
| 40 |
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" |
| 41 |
|
| 42 |
Style * UseDecor WindowDecoration |
| 43 |
|
| 44 |
# Setup button functions |
| 45 |
Include components/decorations/Buttons-macosx |
| 46 |
|