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/Esco/meson.build | 4 + src/themes/Esco/metacity-theme-1.xml | 990 +++++++++++++++++++++++++++++++++++ 2 files changed, 994 insertions(+) create mode 100644 src/themes/Esco/meson.build create mode 100644 src/themes/Esco/metacity-theme-1.xml (limited to 'src/themes/Esco') diff --git a/src/themes/Esco/meson.build b/src/themes/Esco/meson.build new file mode 100644 index 00000000..099eb0f0 --- /dev/null +++ b/src/themes/Esco/meson.build @@ -0,0 +1,4 @@ +install_data( + 'metacity-theme-1.xml', + install_dir : join_paths(datadir, 'themes', 'Esco', 'metacity-1'), +) diff --git a/src/themes/Esco/metacity-theme-1.xml b/src/themes/Esco/metacity-theme-1.xml new file mode 100644 index 00000000..9a9061ba --- /dev/null +++ b/src/themes/Esco/metacity-theme-1.xml @@ -0,0 +1,990 @@ + + + + + Esco + James M. Cape <jcape@ignore-your.tv> + Â Havoc Pennington, 2002 for Atlanta. Â Gaute Lindkvist, 2002 for Bright. Â James M. Cape 2002 for modifications + February 3, 2002 + Simple theme designed to look really good & match GTK+ well. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <icon + x="width - title_width - mini_icon_width - (IconTitleSpacing * 2)" + y="(height / 2) - (mini_icon_height / 2)" + width="mini_icon_width" + height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="title_text_focused_no_icon"> + <title color="gtk:fg[INSENSITIVE]" + x="width - title_width - IconTitleSpacing" + y="(height / 2) - (title_height / 2)"/> + <icon + x="width - title_width - height - (IconTitleSpacing * 2)" + y="1" + width="height - 2" + height="height - 2"/> +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="gtk:dark[NORMAL]" + x="width - title_width - IconTitleSpacing" + y="(height / 2) - (title_height / 2) - 2"/> + <icon alpha="0.33" + x="width - title_width - mini_icon_width - (IconTitleSpacing * 2)" + y="(height / 2) - (mini_icon_height / 2) - 2" + width="mini_icon_width" + height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="title_text_no_icon"> + <title color="gtk:dark[NORMAL]" + x="width - title_width - IconTitleSpacing" + y="(height / 2) - (title_height / 2)"/> + <icon alpha="0.33" + x="width - title_width - height - (IconTitleSpacing * 2)" + y="1" + width="height - 2" + height="height - 2"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon" x="0" y="3" width="width" height="height - 3"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_background"/> + <line color="#000000" width="1" + x1="width - title_width - mini_icon_width - IconTitleSpacing * 3" + y1="0" + x2="width" + y2="0"/> + <line color="#000000" width="1" + x1="width - title_width - mini_icon_width - IconTitleSpacing * 3 - 18" + y1="height - 1" + x2="width" + y2="height - 1"/> + <include name="title_text_focused_with_icon" x="0" y="2" width="width" height="height - 3"/> +</draw_ops> + +<draw_ops name="title_maximized"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_maximized_focused"> + <include name="title_background"/> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<draw_ops name="title_utility"> + <include name="title_text_no_icon"/> +</draw_ops> + +<draw_ops name="title_utility_focused"> + <include name="title_background" + x="mini_icon_width + IconTitleSpacing" + y="0" + width="width - mini_icon_width - IconTitleSpacing" + height="height"/> + <line color="#000000" width="1" + x1="width - title_width - mini_icon_width - IconTitleSpacing * 3" + y1="0" + x2="width" + y2="0"/> + <include name="title_text_focused_no_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="background"/> + + <piece position="title" draw_ops="title_normal"/> + + <button function="menu" state="normal" + draw_ops="menu_button"/> + <button function="menu" state="pressed" + draw_ops="menu_button_pressed"/> + + <button function="minimize" state="normal" + draw_ops="minimize_button"/> + <button function="minimize" state="pressed" + draw_ops="minimize_button_pressed"/> + + <button function="maximize" state="normal" + draw_ops="maximize_button"/> + <button function="maximize" state="pressed" + draw_ops="maximize_button_pressed"/> + + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="background_focused"/> + <piece position="title" draw_ops="title_focused"/> + + <button function="close" state="normal" + draw_ops="close_button_focused"/> + <button function="close" state="prelight" + draw_ops="close_button_prelight"/> + + <button function="menu" state="normal" + draw_ops="menu_button_focused"/> + <button function="menu" state="prelight" + draw_ops="menu_button_prelight"/> + + <button function="maximize" state="normal" + draw_ops="maximize_button_focused"/> + <button function="maximize" state="prelight" + draw_ops="maximize_button_prelight"/> + + <button function="minimize" state="normal" + draw_ops="minimize_button_focused"/> + <button function="minimize" state="prelight" + draw_ops="minimize_button_prelight"/> +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" + parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + + <piece position="title" draw_ops="title_maximized"/> + + <button function="maximize" state="normal" + draw_ops="restore_button"/> + <button function="maximize" state="pressed" + draw_ops="restore_button_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" + parent="normal_focused"> + <piece position="entire_background" draw_ops="gradient_background"/> + <piece position="title" draw_ops="title_maximized_focused"/> + + <button function="maximize" state="normal" + draw_ops="restore_button_focused"/> + <button function="maximize" state="pressed" + draw_ops="restore_button_pressed"/> + <button function="maximize" state="prelight" + draw_ops="restore_button_prelight"/> +</frame_style> + +<frame_style name="utility_unfocused" geometry="utility" + parent="normal_unfocused"> + <piece position="title" draw_ops="title_utility"/> +</frame_style> + +<frame_style name="utility_focused" geometry="utility" parent="normal_focused"> + <piece position="title" draw_ops="title_utility_focused"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="normal_focused"/> + <frame focus="no" state="normal" resize="both" style="normal_unfocused"/> + <frame focus="yes" state="maximized" style="maximized_focused"/> + <frame focus="no" state="maximized" style="maximized_unfocused"/> + <frame focus="yes" state="shaded" style="normal_focused"/> + <frame focus="no" state="shaded" style="normal_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/> + <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_unfocused"/> +<!-- this is a bunch of crack since utility windows shouldn't be maximized --> + <frame focus="yes" state="maximized" style="utility_focused"/> + <frame focus="no" state="maximized" style="utility_unfocused"/> + <frame focus="yes" state="shaded" style="utility_focused"/> + <frame focus="no" state="shaded" style="utility_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="utility_focused"/> + <frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/> +</frame_style_set> + +<frame_style_set name="border"> + <frame focus="yes" state="normal" resize="both" style="border"/> + <frame focus="no" state="normal" resize="both" style="border"/> + <frame focus="yes" state="maximized" style="border"/> + <frame focus="no" state="maximized" style="border"/> + <frame focus="yes" state="shaded" style="border"/> + <frame focus="no" state="shaded" style="border"/> + <frame focus="yes" state="maximized_and_shaded" style="border"/> + <frame focus="no" state="maximized_and_shaded" style="border"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="utility"/> +<window type="modal_dialog" style_set="utility"/> +<window type="menu" style_set="utility"/> +<window type="utility" style_set="utility"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal" + draw_ops="close_button_focused"/> +<menu_icon function="maximize" state="normal" + draw_ops="maximize_button_focused"/> +<menu_icon function="unmaximize" state="normal" + draw_ops="restore_button_focused"/> +<menu_icon function="minimize" state="normal" + draw_ops="minimize_button_focused"/> + +</metacity_theme> -- cgit v1.2.1