From 7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 22 Sep 2019 15:12:48 +0200 Subject: window decoration themes: Add Atlanta, Esco, Gorilla, Motif, Raleigh --- src/themes/Gorilla/active-button.png | Bin 0 -> 844 bytes src/themes/Gorilla/active-close-button.png | Bin 0 -> 896 bytes src/themes/Gorilla/active-close-menu-icon.png | Bin 0 -> 258 bytes src/themes/Gorilla/active-maximize-button.png | Bin 0 -> 886 bytes src/themes/Gorilla/active-maximize-menu-icon.png | Bin 0 -> 284 bytes src/themes/Gorilla/active-menu-button.png | Bin 0 -> 873 bytes src/themes/Gorilla/active-minimize-button.png | Bin 0 -> 914 bytes src/themes/Gorilla/active-minimize-menu-icon.png | Bin 0 -> 332 bytes src/themes/Gorilla/inactive-close-button.png | Bin 0 -> 919 bytes src/themes/Gorilla/inactive-maximize-button.png | Bin 0 -> 903 bytes src/themes/Gorilla/inactive-menu-button.png | Bin 0 -> 900 bytes src/themes/Gorilla/inactive-minimize-button.png | Bin 0 -> 927 bytes src/themes/Gorilla/meson.build | 16 ++ src/themes/Gorilla/metacity-theme-1.xml | 260 +++++++++++++++++++++++ 14 files changed, 276 insertions(+) create mode 100644 src/themes/Gorilla/active-button.png create mode 100644 src/themes/Gorilla/active-close-button.png create mode 100644 src/themes/Gorilla/active-close-menu-icon.png create mode 100644 src/themes/Gorilla/active-maximize-button.png create mode 100644 src/themes/Gorilla/active-maximize-menu-icon.png create mode 100644 src/themes/Gorilla/active-menu-button.png create mode 100644 src/themes/Gorilla/active-minimize-button.png create mode 100644 src/themes/Gorilla/active-minimize-menu-icon.png create mode 100644 src/themes/Gorilla/inactive-close-button.png create mode 100644 src/themes/Gorilla/inactive-maximize-button.png create mode 100644 src/themes/Gorilla/inactive-menu-button.png create mode 100644 src/themes/Gorilla/inactive-minimize-button.png create mode 100644 src/themes/Gorilla/meson.build create mode 100644 src/themes/Gorilla/metacity-theme-1.xml (limited to 'src/themes/Gorilla') diff --git a/src/themes/Gorilla/active-button.png b/src/themes/Gorilla/active-button.png new file mode 100644 index 00000000..64455b33 Binary files /dev/null and b/src/themes/Gorilla/active-button.png differ diff --git a/src/themes/Gorilla/active-close-button.png b/src/themes/Gorilla/active-close-button.png new file mode 100644 index 00000000..1d292165 Binary files /dev/null and b/src/themes/Gorilla/active-close-button.png differ diff --git a/src/themes/Gorilla/active-close-menu-icon.png b/src/themes/Gorilla/active-close-menu-icon.png new file mode 100644 index 00000000..b77f77ae Binary files /dev/null and b/src/themes/Gorilla/active-close-menu-icon.png differ diff --git a/src/themes/Gorilla/active-maximize-button.png b/src/themes/Gorilla/active-maximize-button.png new file mode 100644 index 00000000..a982e5cb Binary files /dev/null and b/src/themes/Gorilla/active-maximize-button.png differ diff --git a/src/themes/Gorilla/active-maximize-menu-icon.png b/src/themes/Gorilla/active-maximize-menu-icon.png new file mode 100644 index 00000000..02ccc37a Binary files /dev/null and b/src/themes/Gorilla/active-maximize-menu-icon.png differ diff --git a/src/themes/Gorilla/active-menu-button.png b/src/themes/Gorilla/active-menu-button.png new file mode 100644 index 00000000..b55d7078 Binary files /dev/null and b/src/themes/Gorilla/active-menu-button.png differ diff --git a/src/themes/Gorilla/active-minimize-button.png b/src/themes/Gorilla/active-minimize-button.png new file mode 100644 index 00000000..4205f4e8 Binary files /dev/null and b/src/themes/Gorilla/active-minimize-button.png differ diff --git a/src/themes/Gorilla/active-minimize-menu-icon.png b/src/themes/Gorilla/active-minimize-menu-icon.png new file mode 100644 index 00000000..29276929 Binary files /dev/null and b/src/themes/Gorilla/active-minimize-menu-icon.png differ diff --git a/src/themes/Gorilla/inactive-close-button.png b/src/themes/Gorilla/inactive-close-button.png new file mode 100644 index 00000000..c566b12f Binary files /dev/null and b/src/themes/Gorilla/inactive-close-button.png differ diff --git a/src/themes/Gorilla/inactive-maximize-button.png b/src/themes/Gorilla/inactive-maximize-button.png new file mode 100644 index 00000000..9c838823 Binary files /dev/null and b/src/themes/Gorilla/inactive-maximize-button.png differ diff --git a/src/themes/Gorilla/inactive-menu-button.png b/src/themes/Gorilla/inactive-menu-button.png new file mode 100644 index 00000000..b000a378 Binary files /dev/null and b/src/themes/Gorilla/inactive-menu-button.png differ diff --git a/src/themes/Gorilla/inactive-minimize-button.png b/src/themes/Gorilla/inactive-minimize-button.png new file mode 100644 index 00000000..4459af4e Binary files /dev/null and b/src/themes/Gorilla/inactive-minimize-button.png differ diff --git a/src/themes/Gorilla/meson.build b/src/themes/Gorilla/meson.build new file mode 100644 index 00000000..b21d658e --- /dev/null +++ b/src/themes/Gorilla/meson.build @@ -0,0 +1,16 @@ +install_data( + 'active-button.png', + 'active-close-button.png', + 'active-close-menu-icon.png', + 'active-maximize-button.png', + 'active-maximize-menu-icon.png', + 'active-menu-button.png', + 'active-minimize-button.png', + 'active-minimize-menu-icon.png', + 'inactive-close-button.png', + 'inactive-maximize-button.png', + 'inactive-menu-button.png', + 'inactive-minimize-button.png', + 'metacity-theme-1.xml', + install_dir : join_paths(datadir, 'themes', 'Gorilla', 'metacity-1') +) diff --git a/src/themes/Gorilla/metacity-theme-1.xml b/src/themes/Gorilla/metacity-theme-1.xml new file mode 100644 index 00000000..7dde366a --- /dev/null +++ b/src/themes/Gorilla/metacity-theme-1.xml @@ -0,0 +1,260 @@ + + + + Gorilla + Kenneth Christiansen <kenneth@gnu.org> Anders Carlsson <andersca@gnu.org> + Â Ximian, Inc, 2001 + February 8, 2002 + A port of the Gorilla theme by Jacub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/> + </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.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + +</frame_style> + + +<!-- Active (focused) shaded style --> +<frame_style name="normal_shaded" geometry="normal" parent="normal"> + +</frame_style> + +<!-- Active (focused) style --> +<frame_style name="focused" geometry="normal"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="black" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> + <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> + <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> + <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> + <rectangle color="gtk:bg[NORMAL]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> + + <line color="gtk:bg[NORMAL]" x1="0" y1="0" x2="1" y2="1"/> + <line color="gtk:bg[NORMAL]" x1="0" y1="height - 1" x2="1" y2="height"/> + <line color="gtk:bg[NORMAL]" x1="width - 1" y1="0" x2="width" y2="1"/> + <line color="gtk:bg[NORMAL]" x1="width" y1="height" x2="width - 1" y2="height - 1"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="white" x="IconTitleSpacing" y="0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> +<frame_style name="focused_shaded" geometry="normal" parent="focused"> + +</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"/> +<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<frame focus="no" state="shaded" style="normal_shaded"/> +<frame focus="no" state="maximized" style="normal"/> +<frame focus="no" state="maximized_and_shaded" style="normal_shaded"/> +</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="normal"/> + +<menu_icon function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-menu-icon.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + + +<menu_icon function="close" state="normal"> + <draw_ops> + <image filename="active-close-menu-icon.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-menu-icon.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> -- cgit v1.2.1