diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-06 05:24:55 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-06 05:24:55 -0800 |
commit | fe21ff47012cadc30088c8331f480c133d79f925 (patch) | |
tree | e7f7a49e70f670b194c0893ef3e6e951fe5b3cf2 /marco-themes/Quid | |
parent | 0e800debc129bf38a0f28b49f2de258cf6bc989d (diff) | |
parent | df467b04c33159adbbcf540083c9cd844bc5ca5c (diff) | |
download | mate-themes-fe21ff47012cadc30088c8331f480c133d79f925.tar.bz2 mate-themes-fe21ff47012cadc30088c8331f480c133d79f925.tar.xz |
Merge pull request #61 from infirit/master
Import Crux Metacity theme and rename it to Quid
Diffstat (limited to 'marco-themes/Quid')
79 files changed, 1411 insertions, 0 deletions
diff --git a/marco-themes/Quid/active-above-button.png b/marco-themes/Quid/active-above-button.png Binary files differnew file mode 100644 index 00000000..0eec82b8 --- /dev/null +++ b/marco-themes/Quid/active-above-button.png diff --git a/marco-themes/Quid/active-border-top-left-border.png b/marco-themes/Quid/active-border-top-left-border.png Binary files differnew file mode 100644 index 00000000..2d61acf5 --- /dev/null +++ b/marco-themes/Quid/active-border-top-left-border.png diff --git a/marco-themes/Quid/active-border-top-right-border.png b/marco-themes/Quid/active-border-top-right-border.png Binary files differnew file mode 100644 index 00000000..9797c0fc --- /dev/null +++ b/marco-themes/Quid/active-border-top-right-border.png diff --git a/marco-themes/Quid/active-bottom-left-border.png b/marco-themes/Quid/active-bottom-left-border.png Binary files differnew file mode 100644 index 00000000..f22ea1a3 --- /dev/null +++ b/marco-themes/Quid/active-bottom-left-border.png diff --git a/marco-themes/Quid/active-bottom-left-corner.png b/marco-themes/Quid/active-bottom-left-corner.png Binary files differnew file mode 100644 index 00000000..de8fe868 --- /dev/null +++ b/marco-themes/Quid/active-bottom-left-corner.png diff --git a/marco-themes/Quid/active-bottom-mid-left-border.png b/marco-themes/Quid/active-bottom-mid-left-border.png Binary files differnew file mode 100644 index 00000000..7eec69f5 --- /dev/null +++ b/marco-themes/Quid/active-bottom-mid-left-border.png diff --git a/marco-themes/Quid/active-bottom-mid-right-border.png b/marco-themes/Quid/active-bottom-mid-right-border.png Binary files differnew file mode 100644 index 00000000..63da8e9d --- /dev/null +++ b/marco-themes/Quid/active-bottom-mid-right-border.png diff --git a/marco-themes/Quid/active-bottom-right-border.png b/marco-themes/Quid/active-bottom-right-border.png Binary files differnew file mode 100644 index 00000000..61a4f560 --- /dev/null +++ b/marco-themes/Quid/active-bottom-right-border.png diff --git a/marco-themes/Quid/active-bottom-right-corner.png b/marco-themes/Quid/active-bottom-right-corner.png Binary files differnew file mode 100644 index 00000000..57594466 --- /dev/null +++ b/marco-themes/Quid/active-bottom-right-corner.png diff --git a/marco-themes/Quid/active-button-prelight.png b/marco-themes/Quid/active-button-prelight.png Binary files differnew file mode 100644 index 00000000..6da2ae25 --- /dev/null +++ b/marco-themes/Quid/active-button-prelight.png diff --git a/marco-themes/Quid/active-button-pressed.png b/marco-themes/Quid/active-button-pressed.png Binary files differnew file mode 100644 index 00000000..4fb94aa4 --- /dev/null +++ b/marco-themes/Quid/active-button-pressed.png diff --git a/marco-themes/Quid/active-button.png b/marco-themes/Quid/active-button.png Binary files differnew file mode 100644 index 00000000..cd93b8c5 --- /dev/null +++ b/marco-themes/Quid/active-button.png diff --git a/marco-themes/Quid/active-close-button.png b/marco-themes/Quid/active-close-button.png Binary files differnew file mode 100644 index 00000000..bfbfd142 --- /dev/null +++ b/marco-themes/Quid/active-close-button.png diff --git a/marco-themes/Quid/active-left-border.png b/marco-themes/Quid/active-left-border.png Binary files differnew file mode 100644 index 00000000..89b47f42 --- /dev/null +++ b/marco-themes/Quid/active-left-border.png diff --git a/marco-themes/Quid/active-left-top-border-shaded.png b/marco-themes/Quid/active-left-top-border-shaded.png Binary files differnew file mode 100644 index 00000000..a9e775ac --- /dev/null +++ b/marco-themes/Quid/active-left-top-border-shaded.png diff --git a/marco-themes/Quid/active-left-top-border.png b/marco-themes/Quid/active-left-top-border.png Binary files differnew file mode 100644 index 00000000..24a13ea9 --- /dev/null +++ b/marco-themes/Quid/active-left-top-border.png diff --git a/marco-themes/Quid/active-maximize-button.png b/marco-themes/Quid/active-maximize-button.png Binary files differnew file mode 100644 index 00000000..870e2cb6 --- /dev/null +++ b/marco-themes/Quid/active-maximize-button.png diff --git a/marco-themes/Quid/active-menu-button-prelight.png b/marco-themes/Quid/active-menu-button-prelight.png Binary files differnew file mode 100644 index 00000000..db0a88c8 --- /dev/null +++ b/marco-themes/Quid/active-menu-button-prelight.png diff --git a/marco-themes/Quid/active-menu-button-pressed.png b/marco-themes/Quid/active-menu-button-pressed.png Binary files differnew file mode 100644 index 00000000..8ac8201d --- /dev/null +++ b/marco-themes/Quid/active-menu-button-pressed.png diff --git a/marco-themes/Quid/active-menu-button.png b/marco-themes/Quid/active-menu-button.png Binary files differnew file mode 100644 index 00000000..de8e1a7b --- /dev/null +++ b/marco-themes/Quid/active-menu-button.png diff --git a/marco-themes/Quid/active-minimize-button.png b/marco-themes/Quid/active-minimize-button.png Binary files differnew file mode 100644 index 00000000..ea740ffb --- /dev/null +++ b/marco-themes/Quid/active-minimize-button.png diff --git a/marco-themes/Quid/active-restore-button.png b/marco-themes/Quid/active-restore-button.png Binary files differnew file mode 100644 index 00000000..ec7259e3 --- /dev/null +++ b/marco-themes/Quid/active-restore-button.png diff --git a/marco-themes/Quid/active-right-border.png b/marco-themes/Quid/active-right-border.png Binary files differnew file mode 100644 index 00000000..2dea03e3 --- /dev/null +++ b/marco-themes/Quid/active-right-border.png diff --git a/marco-themes/Quid/active-right-top-border-shaded.png b/marco-themes/Quid/active-right-top-border-shaded.png Binary files differnew file mode 100644 index 00000000..cf7ac2ec --- /dev/null +++ b/marco-themes/Quid/active-right-top-border-shaded.png diff --git a/marco-themes/Quid/active-right-top-border.png b/marco-themes/Quid/active-right-top-border.png Binary files differnew file mode 100644 index 00000000..eab9cae0 --- /dev/null +++ b/marco-themes/Quid/active-right-top-border.png diff --git a/marco-themes/Quid/active-shade-button.png b/marco-themes/Quid/active-shade-button.png Binary files differnew file mode 100644 index 00000000..2c86470e --- /dev/null +++ b/marco-themes/Quid/active-shade-button.png diff --git a/marco-themes/Quid/active-stick-button.png b/marco-themes/Quid/active-stick-button.png Binary files differnew file mode 100644 index 00000000..2bb224c5 --- /dev/null +++ b/marco-themes/Quid/active-stick-button.png diff --git a/marco-themes/Quid/active-top-center-left.png b/marco-themes/Quid/active-top-center-left.png Binary files differnew file mode 100644 index 00000000..9d43fc2f --- /dev/null +++ b/marco-themes/Quid/active-top-center-left.png diff --git a/marco-themes/Quid/active-top-center-mid-left.png b/marco-themes/Quid/active-top-center-mid-left.png Binary files differnew file mode 100644 index 00000000..927d50e9 --- /dev/null +++ b/marco-themes/Quid/active-top-center-mid-left.png diff --git a/marco-themes/Quid/active-top-center-mid-right.png b/marco-themes/Quid/active-top-center-mid-right.png Binary files differnew file mode 100644 index 00000000..8cea6f6f --- /dev/null +++ b/marco-themes/Quid/active-top-center-mid-right.png diff --git a/marco-themes/Quid/active-top-center-right.png b/marco-themes/Quid/active-top-center-right.png Binary files differnew file mode 100644 index 00000000..e471c363 --- /dev/null +++ b/marco-themes/Quid/active-top-center-right.png diff --git a/marco-themes/Quid/active-top-left-border.png b/marco-themes/Quid/active-top-left-border.png Binary files differnew file mode 100644 index 00000000..fa4a6f54 --- /dev/null +++ b/marco-themes/Quid/active-top-left-border.png diff --git a/marco-themes/Quid/active-top-left-corner.png b/marco-themes/Quid/active-top-left-corner.png Binary files differnew file mode 100644 index 00000000..477e46a9 --- /dev/null +++ b/marco-themes/Quid/active-top-left-corner.png diff --git a/marco-themes/Quid/active-top-mid-left-border.png b/marco-themes/Quid/active-top-mid-left-border.png Binary files differnew file mode 100644 index 00000000..35a42feb --- /dev/null +++ b/marco-themes/Quid/active-top-mid-left-border.png diff --git a/marco-themes/Quid/active-top-mid-right-border.png b/marco-themes/Quid/active-top-mid-right-border.png Binary files differnew file mode 100644 index 00000000..1fa16504 --- /dev/null +++ b/marco-themes/Quid/active-top-mid-right-border.png diff --git a/marco-themes/Quid/active-top-right-border.png b/marco-themes/Quid/active-top-right-border.png Binary files differnew file mode 100644 index 00000000..b3f07f2f --- /dev/null +++ b/marco-themes/Quid/active-top-right-border.png diff --git a/marco-themes/Quid/active-top-right-corner.png b/marco-themes/Quid/active-top-right-corner.png Binary files differnew file mode 100644 index 00000000..199a3780 --- /dev/null +++ b/marco-themes/Quid/active-top-right-corner.png diff --git a/marco-themes/Quid/active-unabove-button.png b/marco-themes/Quid/active-unabove-button.png Binary files differnew file mode 100644 index 00000000..af1104ce --- /dev/null +++ b/marco-themes/Quid/active-unabove-button.png diff --git a/marco-themes/Quid/active-unshade-button.png b/marco-themes/Quid/active-unshade-button.png Binary files differnew file mode 100644 index 00000000..ddaf11f5 --- /dev/null +++ b/marco-themes/Quid/active-unshade-button.png diff --git a/marco-themes/Quid/active-unstick-button.png b/marco-themes/Quid/active-unstick-button.png Binary files differnew file mode 100644 index 00000000..2936b166 --- /dev/null +++ b/marco-themes/Quid/active-unstick-button.png diff --git a/marco-themes/Quid/inactive-above-button.png b/marco-themes/Quid/inactive-above-button.png Binary files differnew file mode 100644 index 00000000..dd6de031 --- /dev/null +++ b/marco-themes/Quid/inactive-above-button.png diff --git a/marco-themes/Quid/inactive-border-top-left-border.png b/marco-themes/Quid/inactive-border-top-left-border.png Binary files differnew file mode 100644 index 00000000..0f6a1b88 --- /dev/null +++ b/marco-themes/Quid/inactive-border-top-left-border.png diff --git a/marco-themes/Quid/inactive-border-top-right-border.png b/marco-themes/Quid/inactive-border-top-right-border.png Binary files differnew file mode 100644 index 00000000..0e37f50b --- /dev/null +++ b/marco-themes/Quid/inactive-border-top-right-border.png diff --git a/marco-themes/Quid/inactive-bottom-left-border.png b/marco-themes/Quid/inactive-bottom-left-border.png Binary files differnew file mode 100644 index 00000000..ea174d65 --- /dev/null +++ b/marco-themes/Quid/inactive-bottom-left-border.png diff --git a/marco-themes/Quid/inactive-bottom-left-corner.png b/marco-themes/Quid/inactive-bottom-left-corner.png Binary files differnew file mode 100644 index 00000000..f6f43632 --- /dev/null +++ b/marco-themes/Quid/inactive-bottom-left-corner.png diff --git a/marco-themes/Quid/inactive-bottom-mid-border.png b/marco-themes/Quid/inactive-bottom-mid-border.png Binary files differnew file mode 100644 index 00000000..b24ea233 --- /dev/null +++ b/marco-themes/Quid/inactive-bottom-mid-border.png diff --git a/marco-themes/Quid/inactive-bottom-right-border.png b/marco-themes/Quid/inactive-bottom-right-border.png Binary files differnew file mode 100644 index 00000000..3302e015 --- /dev/null +++ b/marco-themes/Quid/inactive-bottom-right-border.png diff --git a/marco-themes/Quid/inactive-bottom-right-corner.png b/marco-themes/Quid/inactive-bottom-right-corner.png Binary files differnew file mode 100644 index 00000000..0fddaac5 --- /dev/null +++ b/marco-themes/Quid/inactive-bottom-right-corner.png diff --git a/marco-themes/Quid/inactive-button-prelight.png b/marco-themes/Quid/inactive-button-prelight.png Binary files differnew file mode 100644 index 00000000..070a164e --- /dev/null +++ b/marco-themes/Quid/inactive-button-prelight.png diff --git a/marco-themes/Quid/inactive-button-pressed.png b/marco-themes/Quid/inactive-button-pressed.png Binary files differnew file mode 100644 index 00000000..88f3f8a0 --- /dev/null +++ b/marco-themes/Quid/inactive-button-pressed.png diff --git a/marco-themes/Quid/inactive-button.png b/marco-themes/Quid/inactive-button.png Binary files differnew file mode 100644 index 00000000..e74564d2 --- /dev/null +++ b/marco-themes/Quid/inactive-button.png diff --git a/marco-themes/Quid/inactive-close-button.png b/marco-themes/Quid/inactive-close-button.png Binary files differnew file mode 100644 index 00000000..2f9d0a57 --- /dev/null +++ b/marco-themes/Quid/inactive-close-button.png diff --git a/marco-themes/Quid/inactive-left-border.png b/marco-themes/Quid/inactive-left-border.png Binary files differnew file mode 100644 index 00000000..3f7ad16e --- /dev/null +++ b/marco-themes/Quid/inactive-left-border.png diff --git a/marco-themes/Quid/inactive-left-top-border-shaded.png b/marco-themes/Quid/inactive-left-top-border-shaded.png Binary files differnew file mode 100644 index 00000000..177fa41f --- /dev/null +++ b/marco-themes/Quid/inactive-left-top-border-shaded.png diff --git a/marco-themes/Quid/inactive-left-top-border.png b/marco-themes/Quid/inactive-left-top-border.png Binary files differnew file mode 100644 index 00000000..74fa074e --- /dev/null +++ b/marco-themes/Quid/inactive-left-top-border.png diff --git a/marco-themes/Quid/inactive-maximize-button.png b/marco-themes/Quid/inactive-maximize-button.png Binary files differnew file mode 100644 index 00000000..73244678 --- /dev/null +++ b/marco-themes/Quid/inactive-maximize-button.png diff --git a/marco-themes/Quid/inactive-menu-button-prelight.png b/marco-themes/Quid/inactive-menu-button-prelight.png Binary files differnew file mode 100644 index 00000000..8c45a1bb --- /dev/null +++ b/marco-themes/Quid/inactive-menu-button-prelight.png diff --git a/marco-themes/Quid/inactive-menu-button-pressed.png b/marco-themes/Quid/inactive-menu-button-pressed.png Binary files differnew file mode 100644 index 00000000..757ff7c2 --- /dev/null +++ b/marco-themes/Quid/inactive-menu-button-pressed.png diff --git a/marco-themes/Quid/inactive-menu-button.png b/marco-themes/Quid/inactive-menu-button.png Binary files differnew file mode 100644 index 00000000..89b2a442 --- /dev/null +++ b/marco-themes/Quid/inactive-menu-button.png diff --git a/marco-themes/Quid/inactive-minimize-button.png b/marco-themes/Quid/inactive-minimize-button.png Binary files differnew file mode 100644 index 00000000..6cdac563 --- /dev/null +++ b/marco-themes/Quid/inactive-minimize-button.png diff --git a/marco-themes/Quid/inactive-restore-button.png b/marco-themes/Quid/inactive-restore-button.png Binary files differnew file mode 100644 index 00000000..bafa2967 --- /dev/null +++ b/marco-themes/Quid/inactive-restore-button.png diff --git a/marco-themes/Quid/inactive-right-border.png b/marco-themes/Quid/inactive-right-border.png Binary files differnew file mode 100644 index 00000000..0404cc48 --- /dev/null +++ b/marco-themes/Quid/inactive-right-border.png diff --git a/marco-themes/Quid/inactive-right-top-border-shaded.png b/marco-themes/Quid/inactive-right-top-border-shaded.png Binary files differnew file mode 100644 index 00000000..92955273 --- /dev/null +++ b/marco-themes/Quid/inactive-right-top-border-shaded.png diff --git a/marco-themes/Quid/inactive-right-top-border.png b/marco-themes/Quid/inactive-right-top-border.png Binary files differnew file mode 100644 index 00000000..c1882e96 --- /dev/null +++ b/marco-themes/Quid/inactive-right-top-border.png diff --git a/marco-themes/Quid/inactive-shade-button.png b/marco-themes/Quid/inactive-shade-button.png Binary files differnew file mode 100644 index 00000000..93ff14b2 --- /dev/null +++ b/marco-themes/Quid/inactive-shade-button.png diff --git a/marco-themes/Quid/inactive-stick-button.png b/marco-themes/Quid/inactive-stick-button.png Binary files differnew file mode 100644 index 00000000..14ffd9ed --- /dev/null +++ b/marco-themes/Quid/inactive-stick-button.png diff --git a/marco-themes/Quid/inactive-top-center-left.png b/marco-themes/Quid/inactive-top-center-left.png Binary files differnew file mode 100644 index 00000000..eaba4798 --- /dev/null +++ b/marco-themes/Quid/inactive-top-center-left.png diff --git a/marco-themes/Quid/inactive-top-center-mid.png b/marco-themes/Quid/inactive-top-center-mid.png Binary files differnew file mode 100644 index 00000000..7346fbc4 --- /dev/null +++ b/marco-themes/Quid/inactive-top-center-mid.png diff --git a/marco-themes/Quid/inactive-top-center-right.png b/marco-themes/Quid/inactive-top-center-right.png Binary files differnew file mode 100644 index 00000000..3a2e3a0a --- /dev/null +++ b/marco-themes/Quid/inactive-top-center-right.png diff --git a/marco-themes/Quid/inactive-top-left-border.png b/marco-themes/Quid/inactive-top-left-border.png Binary files differnew file mode 100644 index 00000000..8ebbdca9 --- /dev/null +++ b/marco-themes/Quid/inactive-top-left-border.png diff --git a/marco-themes/Quid/inactive-top-left-corner.png b/marco-themes/Quid/inactive-top-left-corner.png Binary files differnew file mode 100644 index 00000000..1db17706 --- /dev/null +++ b/marco-themes/Quid/inactive-top-left-corner.png diff --git a/marco-themes/Quid/inactive-top-mid-border.png b/marco-themes/Quid/inactive-top-mid-border.png Binary files differnew file mode 100644 index 00000000..0ec3b26a --- /dev/null +++ b/marco-themes/Quid/inactive-top-mid-border.png diff --git a/marco-themes/Quid/inactive-top-right-border.png b/marco-themes/Quid/inactive-top-right-border.png Binary files differnew file mode 100644 index 00000000..e86fddc7 --- /dev/null +++ b/marco-themes/Quid/inactive-top-right-border.png diff --git a/marco-themes/Quid/inactive-top-right-corner.png b/marco-themes/Quid/inactive-top-right-corner.png Binary files differnew file mode 100644 index 00000000..7b13da35 --- /dev/null +++ b/marco-themes/Quid/inactive-top-right-corner.png diff --git a/marco-themes/Quid/inactive-unabove-button.png b/marco-themes/Quid/inactive-unabove-button.png Binary files differnew file mode 100644 index 00000000..bc1052d9 --- /dev/null +++ b/marco-themes/Quid/inactive-unabove-button.png diff --git a/marco-themes/Quid/inactive-unshade-button.png b/marco-themes/Quid/inactive-unshade-button.png Binary files differnew file mode 100644 index 00000000..982abeac --- /dev/null +++ b/marco-themes/Quid/inactive-unshade-button.png diff --git a/marco-themes/Quid/inactive-unstick-button.png b/marco-themes/Quid/inactive-unstick-button.png Binary files differnew file mode 100644 index 00000000..e4822729 --- /dev/null +++ b/marco-themes/Quid/inactive-unstick-button.png diff --git a/marco-themes/Quid/metacity-theme-1.xml b/marco-themes/Quid/metacity-theme-1.xml new file mode 100644 index 00000000..47ec1583 --- /dev/null +++ b/marco-themes/Quid/metacity-theme-1.xml @@ -0,0 +1,579 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Quid</name> + <author>Anders Carlsson <[email protected]></author> + <copyright>Â Eazel Inc, 2000</copyright> + <date>February 6, 2002</date> + <description>A port of the Crux theme by Arlo Rose and John Harper</description> +</info> + +<!-- define constants --> +<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title --> +<constant name="CenterTitlePieceWidth" value="48"/> <!-- Width of center title piece --> +<constant name="ButtonWidth" value="16"/> <!-- Button width --> + +<frame_geometry name="normal"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="6"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="0" right="0" top="3" bottom="3"/> + <border name="button_border" left="0" right="0" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <distance name="title_vertical_pad" value="5"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<!-- Buttons --> + +<draw_ops name="active_button"> + <image filename="active-button.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="active_button_pressed"> + <image filename="active-button-pressed.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="active_button_prelight"> + <image filename="active-button-prelight.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button"> + <image filename="inactive-button.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button_pressed"> + <image filename="inactive-button-pressed.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button_prelight"> + <image filename="inactive-button-prelight.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<!-- Inactive style --> +<frame_style name="normal" geometry="normal"> + <piece position="left_edge"> + <draw_ops> + <image filename="inactive-left-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="right_edge"> + <draw_ops> + <image filename="inactive-right-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gtk:fg[SELECTED]" x="IconTitleSpacing" y="0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + + <image filename="inactive-left-top-border.png" + x="0" y="0" width="object_width" height="height"/> + <image filename="inactive-right-top-border.png" + x="width - object_width" y="0" width="object_width" height="height"/> + + <image filename="inactive-top-center-left.png" + x="4" y="0" + width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min` + (width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth * height / 22 - 3)" + height="height"/> + + <image filename="inactive-top-center-mid.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="inactive-top-center-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth * height / 22) `min` (width - 3 * ButtonWidth - right_width)) + 1" + y="0" + width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth * height / 22 - right_width) `max` (3 * ButtonWidth)" + height="height"/> + + </draw_ops> + </piece> + + <!-- We have to draw the bottom edge in the background piece + because that's the only way we can get the correct window height --> + <piece position="overlay"> + <draw_ops> + <image filename="inactive-bottom-left-corner.png" + x="0" y="height - object_height" width="object_width" height="object_height"/> + <image filename="inactive-bottom-left-border.png" x="5" y="height - object_height" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="inactive-bottom-mid-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + + <image filename="inactive-bottom-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="height - object_height" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + + <image filename="inactive-bottom-right-corner.png" + x="width - object_width" y="height - object_height" width="object_height" height="object_height"/> + + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width - 4" height="height - 4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <image filename="inactive-menu-button-pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="menu" state="prelight"> + <draw_ops> + <image filename="inactive-menu-button-prelight.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> +</frame_style> + +<frame_style name="normal_maximized" parent="normal"> + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width - 4" height="height - 4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> + <frame_style name="normal_shaded" geometry="normal" parent="normal"> + <piece position="left_titlebar_edge"> + <draw_ops> + <image filename="inactive-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + <piece position="right_titlebar_edge"> + <draw_ops> + <image filename="inactive-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + </frame_style> + + +<!-- Active (focused) style --> +<frame_style name="focused" geometry="normal"> + <piece position="left_edge"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-left-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="right_edge"> + <draw_ops> + <image filename="active-right-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gtk:fg[SELECTED]" x="IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + + <image filename="active-left-top-border.png" + colorize="gtk:bg[SELECTED]" + x="0" y="0" width="object_width" height="height"/> + + <image filename="active-right-top-border.png" + x="width - object_width" y="0" width="object_width" height="height"/> + + <image filename="active-top-center-left.png" + colorize="gtk:bg[SELECTED]" + x="4" y="0" + width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min` + (width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth * height / 22 - 3)" + height="height"/> + + <image filename="active-top-center-mid-left.png" + colorize="gtk:bg[SELECTED]" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="active-top-center-mid-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="active-top-center-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth * height / 22) `min` (width - 3 * ButtonWidth - right_width)) + 1" + y="0" + width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth * height / 22 - right_width) `max` (3 * ButtonWidth)" + height="height"/> + + </draw_ops> + </piece> + + <!-- We have to draw the bottom edge in the background piece + because that's the only way we can get the correct window height --> + <piece position="overlay"> + <draw_ops> + <image filename="active-bottom-left-corner.png" + colorize="gtk:bg[SELECTED]" + x="0" y="height - object_height" width="object_width" height="object_height"/> + <image filename="active-bottom-left-border.png" x="5" y="height - object_height" + colorize="gtk:bg[SELECTED]" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="active-bottom-mid-left-border.png" + colorize="gtk:bg[SELECTED]" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + <image filename="active-bottom-mid-right-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + + <image filename="active-bottom-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="height - object_height" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + + <image filename="active-bottom-right-corner.png" + x="width - object_width" y="height - object_height" width="object_height" height="object_height"/> + + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button-pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="menu" state="prelight"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button-prelight.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal" parent="focused"> + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> +<frame_style name="focused_shaded" geometry="normal" parent="focused"> + <piece position="left_titlebar_edge"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + <piece position="right_titlebar_edge"> + <draw_ops> + <image filename="active-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<!-- Inactive border style --> +<frame_style name="border_unfocused" geometry="border" parent="normal"> + <piece position="title"><draw_ops/></piece> + <piece position="titlebar"> + <draw_ops> + <image filename="inactive-top-left-corner.png" + x="0" y="0" width="object_width" height="object_height"/> + <image filename="inactive-border-top-left-border.png" x="5" y="0" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="inactive-top-mid-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="inactive-border-top-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="0" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + <image filename="inactive-top-right-corner.png" + x="width - object_width" y="0" width="object_height" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<!-- Active (focused) border style --> +<frame_style name="border_focused" geometry="border" parent="focused"> + <piece position="title"><draw_ops/></piece> + <piece position="titlebar"> + <draw_ops> + <image filename="active-top-left-corner.png" + colorize="gtk:bg[SELECTED]" + x="0" y="0" width="object_width" height="object_height"/> + <image filename="active-border-top-left-border.png" + colorize="gtk:bg[SELECTED]" x="5" y="0" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="active-top-mid-left-border.png" + colorize="gtk:bg[SELECTED]" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="active-top-mid-right-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="active-border-top-right-border.png" + x="((title_width + height / 2 + 32)) + 1" y="0" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + <image filename="active-top-right-corner.png" + x="width - object_width" y="0" width="object_height" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<frame_style_set name="normal"> +<frame focus="yes" state="shaded" style="focused_shaded"/> +<frame focus="yes" state="normal" resize="both" style="focused"/> +<frame focus="yes" state="maximized" style="focused_maximized"/> +<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<frame focus="no" state="shaded" style="normal_shaded"/> +<frame focus="no" state="maximized" style="normal_maximized"/> +<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="border"> +<frame focus="yes" state="normal" resize="both" style="border_focused"/> +<frame focus="yes" state="maximized" style="border_focused"/> +<frame focus="yes" state="shaded" style="border_focused"/> +<frame focus="yes" state="maximized_and_shaded" style="border_focused"/> +<frame focus="no" state="normal" resize="both" style="border_unfocused"/> +<frame focus="no" state="maximized" style="border_unfocused"/> +<frame focus="no" state="shaded" style="border_unfocused"/> +<frame focus="no" state="maximized_and_shaded" style="border_unfocused"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="normal"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal"> + <draw_ops> + <image filename="active-close-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + + +<menu_icon function="minimize" state="normal"> + <draw_ops> + <image filename="active-minimize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="unmaximize" state="normal"> + <draw_ops> + </draw_ops> +</menu_icon> + +</metacity_theme> diff --git a/marco-themes/Quid/metacity-theme-2.xml b/marco-themes/Quid/metacity-theme-2.xml new file mode 100644 index 00000000..2c4099e0 --- /dev/null +++ b/marco-themes/Quid/metacity-theme-2.xml @@ -0,0 +1,832 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Quid</name> + <author>Anders Carlsson <[email protected]></author> + <copyright>Â Eazel Inc, 2000</copyright> + <date>February 6, 2002</date> + <description>A port of the Crux theme by Arlo Rose and John Harper</description> +</info> + +<!-- define constants --> +<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title --> +<constant name="CenterTitlePieceWidth" value="48"/> <!-- Width of center title piece --> +<constant name="ButtonWidth" value="16"/> <!-- Button width --> + +<frame_geometry name="normal"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="6"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="0" right="0" top="3" bottom="3"/> + <border name="button_border" left="0" right="0" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <distance name="title_vertical_pad" value="5"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<!-- Buttons --> + +<draw_ops name="active_button"> + <image filename="active-button.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="active_button_pressed"> + <image filename="active-button-pressed.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="active_button_prelight"> + <image filename="active-button-prelight.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button"> + <image filename="inactive-button.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button_pressed"> + <image filename="inactive-button-pressed.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="inactive_button_prelight"> + <image filename="inactive-button-prelight.png" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<!-- Inactive style --> +<frame_style name="normal" geometry="normal"> + <piece position="left_edge"> + <draw_ops> + <image filename="inactive-left-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="right_edge"> + <draw_ops> + <image filename="inactive-right-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gtk:fg[SELECTED]" x="IconTitleSpacing" y="0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + + <image filename="inactive-left-top-border.png" + x="0" y="0" width="object_width" height="height"/> + <image filename="inactive-right-top-border.png" + x="width - object_width" y="0" width="object_width" height="height"/> + + <image filename="inactive-top-center-left.png" + x="4" y="0" + width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min` + (width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth * height / 22 - 3)" + height="height"/> + + <image filename="inactive-top-center-mid.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="inactive-top-center-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth * height / 22) `min` (width - 3 * ButtonWidth - right_width)) + 1" + y="0" + width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth * height / 22 - right_width) `max` (3 * ButtonWidth)" + height="height"/> + + </draw_ops> + </piece> + + <!-- We have to draw the bottom edge in the background piece + because that's the only way we can get the correct window height --> + <piece position="overlay"> + <draw_ops> + <image filename="inactive-bottom-left-corner.png" + x="0" y="height - object_height" width="object_width" height="object_height"/> + <image filename="inactive-bottom-left-border.png" x="5" y="height - object_height" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="inactive-bottom-mid-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + + <image filename="inactive-bottom-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="height - object_height" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + + <image filename="inactive-bottom-right-corner.png" + x="width - object_width" y="height - object_height" width="object_height" height="object_height"/> + + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width - 4" height="height - 4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <image filename="inactive-menu-button-pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="prelight"> + <draw_ops> + <image filename="inactive-menu-button-prelight.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> +</frame_style> + +<frame_style name="normal_maximized" parent="normal"> + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width - 4" height="height - 4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="inactive_button_prelight"/> + <image filename="inactive-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> + <frame_style name="normal_shaded" geometry="normal" parent="normal"> + <piece position="left_titlebar_edge"> + <draw_ops> + <image filename="inactive-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + <piece position="right_titlebar_edge"> + <draw_ops> + <image filename="inactive-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + </frame_style> + + +<!-- Active (focused) style --> +<frame_style name="focused" geometry="normal"> + <piece position="left_edge"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-left-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="right_edge"> + <draw_ops> + <image filename="active-right-border.png" x="0" y="0" width="object_width" height="height"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gtk:fg[SELECTED]" x="IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + + <image filename="active-left-top-border.png" + colorize="gtk:bg[SELECTED]" + x="0" y="0" width="object_width" height="height"/> + + <image filename="active-right-top-border.png" + x="width - object_width" y="0" width="object_width" height="height"/> + + <image filename="active-top-center-left.png" + colorize="gtk:bg[SELECTED]" + x="4" y="0" + width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min` + (width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth * height / 22 - 3)" + height="height"/> + + <image filename="active-top-center-mid-left.png" + colorize="gtk:bg[SELECTED]" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="active-top-center-mid-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width * height / 22 - right_width - 3 * ButtonWidth)) + 1" + y="0" width="object_width * height / 22" height="height"/> + + <image filename="active-top-center-right.png" + x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth * height / 22) `min` (width - 3 * ButtonWidth - right_width)) + 1" + y="0" + width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth * height / 22 - right_width) `max` (3 * ButtonWidth)" + height="height"/> + + </draw_ops> + </piece> + + <!-- We have to draw the bottom edge in the background piece + because that's the only way we can get the correct window height --> + <piece position="overlay"> + <draw_ops> + <image filename="active-bottom-left-corner.png" + colorize="gtk:bg[SELECTED]" + x="0" y="height - object_height" width="object_width" height="object_height"/> + <image filename="active-bottom-left-border.png" x="5" y="height - object_height" + colorize="gtk:bg[SELECTED]" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="active-bottom-mid-left-border.png" + colorize="gtk:bg[SELECTED]" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + <image filename="active-bottom-mid-right-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="height - object_height" width="object_width" height="object_height"/> + + <image filename="active-bottom-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="height - object_height" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + + <image filename="active-bottom-right-corner.png" + x="width - object_width" y="height - object_height" width="object_height" height="object_height"/> + + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="close" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-close-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="minimize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-minimize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-maximize-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="shade" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-shade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unshade" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-unshade-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="above" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-above-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unabove" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-unabove-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="stick" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-stick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="unstick" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-unstick-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button-pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="menu" state="prelight"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-menu-button-prelight.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal" parent="focused"> + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + + <button function="maximize" state="prelight"> + <draw_ops> + <include name="active_button_prelight"/> + <image filename="active-restore-button.png" x="2" y="2" width="width-4" height="height-4"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> +<frame_style name="focused_shaded" geometry="normal" parent="focused"> + <piece position="left_titlebar_edge"> + <draw_ops> + <image colorize="gtk:bg[SELECTED]" filename="active-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> + <piece position="right_titlebar_edge"> + <draw_ops> + <image filename="active-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<!-- Inactive border style --> +<frame_style name="border_unfocused" geometry="border" parent="normal"> + <piece position="title"><draw_ops/></piece> + <piece position="titlebar"> + <draw_ops> + <image filename="inactive-top-left-corner.png" + x="0" y="0" width="object_width" height="object_height"/> + <image filename="inactive-border-top-left-border.png" x="5" y="0" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="inactive-top-mid-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="inactive-border-top-right-border.png" + x="((title_width + height / 2 + 32)) + 1" + y="0" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + <image filename="inactive-top-right-corner.png" + x="width - object_width" y="0" width="object_height" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<!-- Active (focused) border style --> +<frame_style name="border_focused" geometry="border" parent="focused"> + <piece position="title"><draw_ops/></piece> + <piece position="titlebar"> + <draw_ops> + <image filename="active-top-left-corner.png" + colorize="gtk:bg[SELECTED]" + x="0" y="0" width="object_width" height="object_height"/> + <image filename="active-border-top-left-border.png" + colorize="gtk:bg[SELECTED]" x="5" y="0" + width="((title_width + height / 2 - 4) `min` (width - object_width - 26))" + height="object_height"/> + <image filename="active-top-mid-left-border.png" + colorize="gtk:bg[SELECTED]" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="active-top-mid-right-border.png" + x="((title_width + height / 2) `min` (width - object_width - 6)) + 1" + y="0" width="object_width" height="object_height"/> + <image filename="active-border-top-right-border.png" + x="((title_width + height / 2 + 32)) + 1" y="0" + width="(width - title_width - height / 2 - 32 - 7) `max` 0" + height="object_height"/> + <image filename="active-top-right-corner.png" + x="width - object_width" y="0" width="object_height" height="object_height"/> + </draw_ops> + </piece> +</frame_style> + +<frame_style_set name="normal"> +<frame focus="yes" state="shaded" resize="both" style="focused_shaded"/> +<frame focus="yes" state="normal" resize="both" style="focused"/> +<frame focus="yes" state="maximized" style="focused_maximized"/> +<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<frame focus="no" state="shaded" resize="both" style="normal_shaded"/> +<frame focus="no" state="maximized" style="normal_maximized"/> +<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="border"> +<frame focus="yes" state="normal" resize="both" style="border_focused"/> +<frame focus="yes" state="maximized" style="border_focused"/> +<frame focus="yes" state="shaded" resize="both" style="border_focused"/> +<frame focus="yes" state="maximized_and_shaded" style="border_focused"/> +<frame focus="no" state="normal" resize="both" style="border_unfocused"/> +<frame focus="no" state="maximized" style="border_unfocused"/> +<frame focus="no" state="shaded" resize="both" style="border_unfocused"/> +<frame focus="no" state="maximized_and_shaded" style="border_unfocused"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="normal"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal"> + <draw_ops> + <image filename="active-close-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + + +<menu_icon function="minimize" state="normal"> + <draw_ops> + <image filename="active-minimize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="unmaximize" state="normal"> + <draw_ops> + </draw_ops> +</menu_icon> + +</metacity_theme> |