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