| 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 -- Raised |
| 16 |
|
| 17 |
+ ButtonStyle 1 Vector 4 98x98@0 99x2@0 2x2@1 2x98@1 98x98@0 |
| 18 |
+ AddButtonStyle 1 Vector 5 40x24@1 60x24@1 60x76@0 40x76@0 40x24@1 |
| 19 |
|
| 20 |
+ ButtonStyle 3 Vector 4 98x98@0 99x2@0 2x2@1 2x98@1 98x98@0 |
| 21 |
+ AddButtonStyle 3 Vector 5 87x87@1 87x11@1 11x11@0 11x87@0 87x87@1 |
| 22 |
+ AddButtonStyle 3 Vector 5 33x55@0 33x11@0 11x11@1 11x55@1 33x55@0 |
| 23 |
|
| 24 |
+ ButtonStyle 5 Vector 4 98x98@0 99x2@0 2x2@1 2x98@1 98x98@0 |
| 25 |
+ AddButtonStyle 5 Vector 5 87x87@0 27x87@0 27x27@1 87x27@1 87x87@0 |
| 26 |
+ AddButtonStyle 5 Vector 5 70x27@1 70x11@1 11x11@0 11x72@0 27x72@1 |
| 27 |
|
| 28 |
+ ButtonStyle 7 MiniIcon |
| 29 |
|
| 30 |
+ ButtonStyle All -- UseTitleStyle |
| 31 |
+ ButtonStyle All -- flat |
| 32 |
|
| 33 |
Style * HandleWidth 1, BorderWidth 1 |
| 34 |
Style * Colorset $[infostore.cs_window_inactive], \ |
| 35 |
BorderColorset $[infostore.cs_window_inactive], \ |
| 36 |
HilightColorset $[infostore.cs_window_active], \ |
| 37 |
HilightBorderColorset $[infostore.cs_window_active] |
| 38 |
|
| 39 |
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" |
| 40 |
|
| 41 |
Style * UseDecor WindowDecoration |
| 42 |
|
| 43 |
# Setup button functions |
| 44 |
Include components/decorations/Buttons-macosx-MiniIcon |
| 45 |
|