| 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 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 |
# Iconify |
| 19 |
+ ButtonStyle 1 Vector 10 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1 \ |
| 20 |
8x8@4 88x8@1 88x88@1 8x88@1 8x8@1 |
| 21 |
|
| 22 |
# Close |
| 23 |
+ ButtonStyle 2 Vector 22 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \ |
| 24 |
70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \ |
| 25 |
48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \ |
| 26 |
23x28@1 23x23@1 8x8@4 88x8@1 88x88@1 8x88@1 8x8@1 |
| 27 |
|
| 28 |
+ ButtonStyle All -- UseTitleStyle |
| 29 |
+ ButtonStyle All -- flat |
| 30 |
|
| 31 |
Style * HandleWidth 1, BorderWidth 1 |
| 32 |
Style * Colorset $[infostore.cs_window_inactive], \ |
| 33 |
BorderColorset $[infostore.cs_window_inactive], \ |
| 34 |
HilightColorset $[infostore.cs_window_active], \ |
| 35 |
HilightBorderColorset $[infostore.cs_window_active] |
| 36 |
|
| 37 |
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" |
| 38 |
|
| 39 |
Style * UseDecor WindowDecoration |
| 40 |
|
| 41 |
# Setup button functions |
| 42 |
Include components/decorations/Buttons-nextstep |
| 43 |
|