| 1 |
# OS/2 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 -- 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 Inactive AdjustedPixmap $./button-gray.png |
| 20 |
+ ButtonStyle 1 ActiveUp AdjustedPixmap $./button-red-icon.png |
| 21 |
+ ButtonStyle 1 ActiveDown AdjustedPixmap $./button-red.png |
| 22 |
|
| 23 |
# Maximize |
| 24 |
+ ButtonStyle 2 Inactive AdjustedPixmap $./button-gray.png |
| 25 |
+ ButtonStyle 2 ActiveUp AdjustedPixmap $./button-green-icon.png |
| 26 |
+ ButtonStyle 2 ActiveDown AdjustedPixmap $./button-green.png |
| 27 |
|
| 28 |
# Iconify |
| 29 |
+ ButtonStyle 4 Inactive AdjustedPixmap $./button-gray.png |
| 30 |
+ ButtonStyle 4 ActiveUp AdjustedPixmap $./button-yellow-icon.png |
| 31 |
+ ButtonStyle 4 ActiveDown AdjustedPixmap $./button-yellow.png |
| 32 |
|
| 33 |
+ ButtonStyle All -- UseTitleStyle |
| 34 |
+ ButtonStyle All -- flat |
| 35 |
|
| 36 |
Style * HandleWidth 1, BorderWidth 1 |
| 37 |
Style * Colorset $[infostore.cs_window_inactive], \ |
| 38 |
BorderColorset $[infostore.cs_window_inactive], \ |
| 39 |
HilightColorset $[infostore.cs_window_active], \ |
| 40 |
HilightBorderColorset $[infostore.cs_window_active] |
| 41 |
|
| 42 |
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" |
| 43 |
|
| 44 |
Style * UseDecor WindowDecoration |
| 45 |
|
| 46 |
# Setup button functions |
| 47 |
Include components/decorations/Buttons-os2 |
| 48 |
|