diff options
author | rbuj <[email protected]> | 2019-09-22 15:12:48 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-01 09:39:39 -0400 |
commit | 7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0 (patch) | |
tree | 688ddf25b42460b6f1f8e5c309ff660a36727678 /src | |
parent | 232127afd896bce5afc02cccf1c96309ceb1b521 (diff) | |
download | marco-7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0.tar.bz2 marco-7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0.tar.xz |
window decoration themes: Add Atlanta, Esco, Gorilla, Motif, Raleigh
Diffstat (limited to 'src')
34 files changed, 2656 insertions, 12 deletions
diff --git a/src/themes/Atlanta/meson.build b/src/themes/Atlanta/meson.build new file mode 100644 index 00000000..b9ead6df --- /dev/null +++ b/src/themes/Atlanta/meson.build @@ -0,0 +1,4 @@ +install_data( + 'metacity-theme-1.xml', + install_dir : join_paths(datadir, 'themes', 'Atlanta', 'metacity-1'), +) diff --git a/src/themes/Atlanta/metacity-theme-1.xml b/src/themes/Atlanta/metacity-theme-1.xml new file mode 100644 index 00000000..c8670f22 --- /dev/null +++ b/src/themes/Atlanta/metacity-theme-1.xml @@ -0,0 +1,256 @@ +<?xml version="1.0"?> +<metacity_theme> + <info> + <name>Atlanta</name> + <author>Havoc Pennington <[email protected]></author> + <copyright>Â Havoc Pennington, 2002</copyright> + <date>February 3, 2002</date> + <description>Simple low-overhead default theme that comes with Metacity.</description> + </info> + <frame_geometry name="normal"> + <distance name="left_width" value="6"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="7"/> + <distance name="left_titlebar_edge" value="6"/> + <distance name="right_titlebar_edge" value="6"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="3"/> + <border name="title_border" left="3" right="4" top="4" bottom="3"/> + <border name="button_border" left="0" right="0" top="1" bottom="1"/> + </frame_geometry> + <!-- strip borders off the normal geometry --> + <frame_geometry name="normal_small_borders" parent="normal"> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + </frame_geometry> + <frame_geometry name="utility" title_scale="xx-small"> + <distance name="left_width" value="3"/> + <distance name="right_width" value="3"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="3"/> + <distance name="right_titlebar_edge" value="3"/> + <distance name="button_width" value="11"/> + <distance name="button_height" value="11"/> + <distance name="title_vertical_pad" value="1"/> + <border name="title_border" left="3" right="4" top="3" bottom="3"/> + <border name="button_border" left="0" right="0" top="1" bottom="1"/> + </frame_geometry> + <frame_geometry name="border" has_title="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <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="4"/> + <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> + <!-- define constants --> + <constant name="ArrowSpacer" value="8"/> + <constant name="MinArrowSize" value="7"/> + <constant name="ButtonIPad" value="6"/> + <constant name="ThickLineWidth" value="3"/> + <constant name="IconTitleSpacing" value="2"/> + <constant name="SpacerWidth" value="6"/> + <constant name="SpacerHeight" value="9"/> + <constant name="SpacerOffset" value="4"/> + <!-- Buttons --> + <draw_ops name="button_pressed_bg"> + <gtk_box state="active" shadow="in" x="0" y="0" width="width" height="height"/> + </draw_ops> + <draw_ops name="menu_button"> + <gtk_arrow state="normal" shadow="out" arrow="down" x="ArrowSpacer `min` (width-MinArrowSize)/2" y="ArrowSpacer `min` (height-MinArrowSize)/2" width="(width-(ArrowSpacer*2)) `max` MinArrowSize" height="(height-(ArrowSpacer*2)) `max` MinArrowSize"/> + </draw_ops> + <draw_ops name="menu_button_pressed"> + <include name="menu_button"/> + </draw_ops> + <draw_ops name="minimize_button"> + <line color="gtk:fg[NORMAL]" x1="ButtonIPad" y1="height - ButtonIPad - ThickLineWidth + 1" x2="width - ButtonIPad" y2="height - ButtonIPad - ThickLineWidth + 1" width="3"/> + <!-- FIXME allow a constant here --> + </draw_ops> + <draw_ops name="minimize_button_pressed"> + <include name="minimize_button"/> + </draw_ops> + <draw_ops name="maximize_button"> + <rectangle color="gtk:fg[NORMAL]" filled="false" x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/> + <line color="gtk:fg[NORMAL]" width="3" x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/> + </draw_ops> + <draw_ops name="maximize_button_pressed"> + <include name="maximize_button"/> + </draw_ops> + <draw_ops name="mini_window_icon"> + <rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width-1" height="height-1"/> + <rectangle color="gtk:fg[NORMAL]" filled="false" x="0" y="0" width="width-1" height="height-1"/> + <line color="gtk:fg[NORMAL]" width="2" x1="0" y1="1" x2="width" y2="1"/> + </draw_ops> + <draw_ops name="restore_button"> + <include name="mini_window_icon" x="ButtonIPad" y="ButtonIPad" width="width - 5 - ButtonIPad" height="height - 5 - ButtonIPad"/> + <include name="mini_window_icon" x="3 + ButtonIPad" y="3 + ButtonIPad" width="width - 5 - ButtonIPad" height="height - 5 - ButtonIPad"/> + </draw_ops> + <draw_ops name="restore_button_pressed"> + <include name="restore_button"/> + </draw_ops> + <draw_ops name="close_button"> + <line color="gtk:fg[NORMAL]" x1="ButtonIPad" y1="ButtonIPad" x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1" width="1"/> + <line color="gtk:fg[NORMAL]" x1="ButtonIPad" y1="height - ButtonIPad - 1" x2="width - ButtonIPad - 1" y2="ButtonIPad" width="1"/> + </draw_ops> + <draw_ops name="close_button_pressed"> + <include name="close_button"/> + </draw_ops> + <draw_ops name="outer_bevel"> + <rectangle color="gtk:bg[NORMAL]" filled="true" x="1" y="1" width="width-3" height="height-3"/> + <rectangle color="gtk:fg[NORMAL]" filled="false" x="0" y="0" width="width-1" height="height-1"/> + <line color="gtk:light[NORMAL]" x1="1" y1="1" x2="1" y2="height-2"/> + <line color="gtk:light[NORMAL]" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="gtk:dark[NORMAL]" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + <line color="gtk:dark[NORMAL]" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + </draw_ops> + <draw_ops name="blank"> + <!-- nothing --> + </draw_ops> + <draw_ops name="focus_outline"> + <rectangle color="gtk:fg[NORMAL]" x="left_width-1" y="top_height-1" width="width-left_width-right_width+1" height="height-top_height-bottom_height+1"/> + </draw_ops> + <draw_ops name="focus_background"> + <include name="outer_bevel"/> + <include name="focus_outline"/> + </draw_ops> + <draw_ops name="background_unfocused"> + <include name="outer_bevel"/> + <include name="focus_outline"/> + </draw_ops> + <draw_ops name="title_gradient"> + <gradient type="diagonal" x="0" y="0" width="width-SpacerWidth" height="height"> + <color value="#666699"/> + <color value="#666699"/> + </gradient> + </draw_ops> + <draw_ops name="title_spacer"> + <gtk_vline state="normal" x="width+1-SpacerWidth/2" y1="SpacerOffset" y2="height - SpacerOffset"/> + </draw_ops> + <draw_ops name="title_text_focused_with_icon"> + <clip x="0" y="0" width="width-SpacerWidth" height="height"/> + <title color="#FFFFFF" x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/> + <icon x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2" y="(height-mini_icon_height) / 2" width="mini_icon_width" height="mini_icon_height"/> + </draw_ops> + <draw_ops name="title_text_focused_no_icon"> + <clip x="0" y="0" width="width-SpacerWidth" height="height"/> + <title color="gtk:fg[SELECTED]" x="(0 `max` (width-title_width)) / 2" y="((height - title_height) / 2) `max` 0"/> + </draw_ops> + <draw_ops name="title_text_with_icon"> + <clip x="0" y="0" width="width-SpacerWidth" height="height"/> + <title color="gtk:fg[NORMAL]" x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/> + <icon x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2" y="(height-mini_icon_height) / 2" width="mini_icon_width" height="mini_icon_height"/> + </draw_ops> + <draw_ops name="title_text_no_icon"> + <clip x="0" y="0" width="width-SpacerWidth" height="height"/> + <title color="gtk:fg[NORMAL]" x="(0 `max` (width-title_width)) / 2" y="((height - title_height) / 2) `max` 0"/> + </draw_ops> + <draw_ops name="title_normal"> + <include name="title_spacer"/> + <include name="title_text_with_icon"/> + </draw_ops> + <draw_ops name="title_focused"> + <include name="title_gradient"/> + <include name="title_spacer"/> + <include name="title_text_focused_with_icon"/> + </draw_ops> + <draw_ops name="title_utility"> + <include name="title_spacer"/> + <include name="title_text_no_icon"/> + </draw_ops> + <draw_ops name="title_utility_focused"> + <include name="title_gradient"/> + <include name="title_spacer"/> + <include name="title_text_focused_no_icon"/> + </draw_ops> + <frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="background_unfocused"/> + <piece position="title" draw_ops="title_normal"/> + <!-- we don't specify for prelight, so normal is used --> + <button function="left_left_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="left_middle_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="left_right_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="right_left_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="right_middle_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="right_right_background" state="pressed" draw_ops="button_pressed_bg"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_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="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + </frame_style> + <frame_style name="normal_focused" geometry="normal" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="title" draw_ops="title_focused"/> + </frame_style> + <frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="background_unfocused"/> + <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="focus_background"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> + </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="normal"/> + <window type="modal_dialog" style_set="normal"/> + <window type="menu" style_set="normal"/> + <window type="utility" style_set="utility"/> + <window type="border" style_set="border"/> + <menu_icon function="close" state="normal" draw_ops="close_button"/> + <menu_icon function="maximize" state="normal" draw_ops="maximize_button"/> + <menu_icon function="unmaximize" state="normal" draw_ops="restore_button"/> + <menu_icon function="minimize" state="normal" draw_ops="minimize_button"/> +</metacity_theme> 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 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Esco</name> + <author>James M. Cape <[email protected]></author> + <copyright>Â Havoc Pennington, 2002 for Atlanta. Â Gaute Lindkvist, 2002 for Bright. Â James M. Cape 2002 for modifications</copyright> + <date>February 3, 2002</date> + <description>Simple theme designed to look really good & match GTK+ well.</description> +</info> + +<frame_geometry name="normal"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="5"/> + <distance name="bottom_height" value="5"/> + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="5"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="1"/> + <border name="title_border" left="5" right="5" top="3" bottom="2"/> + <border name="button_border" left="0" right="0" top="3" bottom="2"/> +</frame_geometry> + +<!-- strip borders off the normal geometry --> +<frame_geometry name="normal_small_borders" parent="normal"> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="5" right="5" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<frame_geometry name="utility" title_scale="small"> + <distance name="left_width" value="1"/> + <distance name="right_width" value="1"/> + <distance name="bottom_height" value="5"/> + <distance name="left_titlebar_edge" value="2"/> + <distance name="right_titlebar_edge" value="2"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="3"/> + <border name="title_border" left="2" right="2" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="2" bottom="0"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false"> + <distance name="left_width" value="5"/> + <distance name="right_width" value="5"/> + <distance name="bottom_height" value="5"/> + <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> + +<!-- define constants --> +<constant name="ButtonIPad" value="3"/> +<constant name="IconTitleSpacing" value="8"/> + +<!-- Button Outlines --> +<draw_ops name="button_prelight_bg"> + <gtk_box state="prelight" shadow="out" x="0" y="0" width="width" + height="height"/> +</draw_ops> + +<draw_ops name="button_pressed_bg"> + <gtk_box state="active" shadow="in" x="0" y="0" width="width" + height="height"/> +</draw_ops> + +<draw_ops name="right_button_normal_bg"> + <rectangle color="#ffffff" filled="true" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<!-- Button Icons --> + +<!-- Minimize Button --> +<draw_ops name="minimize_button"> + <rectangle color="gtk:dark[NORMAL]" filled="true" + x="ButtonIPad" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="minimize_button_focused"> + <rectangle color="gtk:fg[SELECTED]" filled="true" + x="ButtonIPad" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="minimize_button_prelight"> + <include name="button_prelight_bg"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="true" + x="ButtonIPad + 1" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4)" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="false" + x="ButtonIPad" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <rectangle color="gtk:dark[ACTIVE]" filled="true" + x="ButtonIPad + 1" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4)" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/> + <rectangle color="gtk:fg[ACTIVE]" filled="false" + x="ButtonIPad" + y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> + +<!-- Maximize Button --> +<draw_ops name="maximize_button"> + <rectangle color="gtk:dark[NORMAL]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:dark[NORMAL]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="maximize_button_focused"> + <rectangle color="gtk:fg[SELECTED]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:fg[SELECTED]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="maximize_button_prelight"> + <include name="button_prelight_bg"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="false" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="true" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <rectangle color="gtk:dark[ACTIVE]" filled="false" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:dark[ACTIVE]" filled="true" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/> + <rectangle color="gtk:fg[ACTIVE]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="height - (ButtonIPad + 1) * 2"/> + <rectangle color="gtk:fg[ACTIVE]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="width - (ButtonIPad + 1) * 2" + height="(height - (ButtonIPad + 1) * 2) * 0.4"/> +</draw_ops> + +<!-- UnMaximize Button --> +<draw_ops name="restore_button"> + <rectangle color="gtk:dark[NORMAL]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[NORMAL]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:dark[NORMAL]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[NORMAL]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> +</draw_ops> +<draw_ops name="restore_button_focused"> + <rectangle color="gtk:fg[SELECTED]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[SELECTED]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:fg[SELECTED]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[SELECTED]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> +</draw_ops> +<draw_ops name="restore_button_prelight"> + <include name="button_prelight_bg"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="false" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="true" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[PRELIGHT]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[PRELIGHT]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> +</draw_ops> +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <rectangle color="gtk:dark[ACTIVE]" filled="false" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[ACTIVE]" filled="true" + x="ButtonIPad + 1" + y="ButtonIPad + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:dark[ACTIVE]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:dark[ACTIVE]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:fg[ACTIVE]" filled="false" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[ACTIVE]" filled="true" + x="ButtonIPad" + y="ButtonIPad" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> + <rectangle color="gtk:fg[ACTIVE]" filled="false" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="(height - (ButtonIPad + 1) * 2) * 0.67"/> + <rectangle color="gtk:fg[ACTIVE]" filled="true" + x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33" + y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33" + width="(width - (ButtonIPad + 1) * 2) * 0.67" + height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/> +</draw_ops> + +<!-- Menu Button --> +<draw_ops name="menu_button"> + <line color="gtk:dark[NORMAL]" width="3" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="ButtonIPad + 1" + y2="height - ButtonIPad - 3"/> + <line color="gtk:dark[NORMAL]" width="3" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 2" + y2="height - ButtonIPad - 5"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 5"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="width - ButtonIPad - 4" + y1="height - ButtonIPad - 3 - 4" + x2="width - ButtonIPad - 4" + y2="height - ButtonIPad - 2"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="width - ButtonIPad - 5" + y1="height - ButtonIPad - 3 - 5" + x2="width - ButtonIPad - 5" + y2="height - ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="menu_button_focused"> + <line color="gtk:fg[SELECTED]" width="3" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="ButtonIPad + 1" + y2="height - ButtonIPad - 3"/> + <line color="gtk:fg[SELECTED]" width="3" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 2" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="width - ButtonIPad - 4" + y1="height - ButtonIPad - 3 - 4" + x2="width - ButtonIPad - 4" + y2="height - ButtonIPad - 2"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="width - ButtonIPad - 5" + y1="height - ButtonIPad - 3 - 5" + x2="width - ButtonIPad - 5" + y2="height - ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="menu_button_prelight"> + <include name="button_prelight_bg"/> + <line color="gtk:dark[PRELIGHT]" width="3" + x1="ButtonIPad + 1 + 1" + y1="ButtonIPad + 1" + x2="ButtonIPad + 1 + 1" + y2="height - ButtonIPad - 3 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="3" + x1="ButtonIPad + 1" + y1="height - ButtonIPad - 5 + 1" + x2="width - ButtonIPad - 2 + 1" + y2="height - ButtonIPad - 5 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="height - ButtonIPad - 5 + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 5 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="width - ButtonIPad - 4 + 1" + y1="height - ButtonIPad - 3 - 4 + 1" + x2="width - ButtonIPad - 4 + 1" + y2="height - ButtonIPad - 2 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="width - ButtonIPad - 5 + 1" + y1="height - ButtonIPad - 3 - 5 + 1" + x2="width - ButtonIPad - 5 + 1" + y2="height - ButtonIPad - 1 + 1"/> + <line color="gtk:fg[PRELIGHT]" width="3" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="ButtonIPad + 1" + y2="height - ButtonIPad - 3"/> + <line color="gtk:fg[PRELIGHT]" width="3" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 2" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="width - ButtonIPad - 4" + y1="height - ButtonIPad - 3 - 4" + x2="width - ButtonIPad - 4" + y2="height - ButtonIPad - 2"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="width - ButtonIPad - 5" + y1="height - ButtonIPad - 3 - 5" + x2="width - ButtonIPad - 5" + y2="height - ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="menu_button_pressed"> + <include name="button_pressed_bg"/> + <line color="gtk:dark[ACTIVE]" width="3" + x1="ButtonIPad + 1 + 1" + y1="ButtonIPad + 1" + x2="ButtonIPad + 1 + 1" + y2="height - ButtonIPad - 3 + 1"/> + <line color="gtk:dark[ACTIVE]" width="3" + x1="ButtonIPad + 1" + y1="height - ButtonIPad - 5 + 1" + x2="width - ButtonIPad - 2 + 1" + y2="height - ButtonIPad - 5 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="height - ButtonIPad - 5 + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 5 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="width - ButtonIPad - 4 + 1" + y1="height - ButtonIPad - 3 - 4 + 1" + x2="width - ButtonIPad - 4 + 1" + y2="height - ButtonIPad - 2 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="width - ButtonIPad - 5 + 1" + y1="height - ButtonIPad - 3 - 5 + 1" + x2="width - ButtonIPad - 5 + 1" + y2="height - ButtonIPad - 1 + 1"/> + <line color="gtk:fg[ACTIVE]" width="3" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="ButtonIPad + 1" + y2="height - ButtonIPad - 3"/> + <line color="gtk:fg[ACTIVE]" width="3" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 2" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad" + y1="height - ButtonIPad - 5" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 5"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="width - ButtonIPad - 4" + y1="height - ButtonIPad - 3 - 4" + x2="width - ButtonIPad - 4" + y2="height - ButtonIPad - 2"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="width - ButtonIPad - 5" + y1="height - ButtonIPad - 3 - 5" + x2="width - ButtonIPad - 5" + y2="height - ButtonIPad - 1"/> +</draw_ops> + +<!-- Close Button --> +<draw_ops name="close_button"> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1 - 1"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 - 1" + y2="height - ButtonIPad - 1"/> + + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad - 1"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad"/> + <line color="gtk:dark[NORMAL]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1 - 1" + x2="width - 1 - ButtonIPad - 1" + y2="ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="close_button_focused"> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1 - 1"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 - 1" + y2="height - ButtonIPad - 1"/> + + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad - 1"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad"/> + <line color="gtk:fg[SELECTED]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1 - 1" + x2="width - 1 - ButtonIPad - 1" + y2="ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="close_button_prelight"> + <include name="button_prelight_bg"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 1 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1 + 1" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 1 - 1 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad + 1 + 1" + x2="width - ButtonIPad - 1 - 1 + 1" + y2="height - ButtonIPad - 1 + 1"/> + + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1 + 1" + x2="width - 1 - ButtonIPad + 1" + y2="ButtonIPad - 1 + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1 + 1" + y1="height - 1 - ButtonIPad - 1 + 1" + x2="width - 1 - ButtonIPad + 1" + y2="ButtonIPad + 1"/> + <line color="gtk:dark[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1 - 1 + 1" + x2="width - 1 - ButtonIPad - 1 + 1" + y2="ButtonIPad - 1 + 1"/> + + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1 - 1"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 - 1" + y2="height - ButtonIPad - 1"/> + + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad - 1"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad"/> + <line color="gtk:fg[PRELIGHT]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1 - 1" + x2="width - 1 - ButtonIPad - 1" + y2="ButtonIPad - 1"/> +</draw_ops> +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 1 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1 + 1" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 + 1" + y2="height - ButtonIPad - 1 - 1 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad + 1 + 1" + x2="width - ButtonIPad - 1 - 1 + 1" + y2="height - ButtonIPad - 1 + 1"/> + + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1 + 1" + x2="width - 1 - ButtonIPad + 1" + y2="ButtonIPad - 1 + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1 + 1" + y1="height - 1 - ButtonIPad - 1 + 1" + x2="width - 1 - ButtonIPad + 1" + y2="ButtonIPad + 1"/> + <line color="gtk:dark[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1 - 1 + 1" + x2="width - 1 - ButtonIPad - 1 + 1" + y2="ButtonIPad - 1 + 1"/> + + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="ButtonIPad" + x2="width - ButtonIPad - 1" + y2="height - ButtonIPad - 1 - 1"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad" + y1="ButtonIPad + 1" + x2="width - ButtonIPad - 1 - 1" + y2="height - ButtonIPad - 1"/> + + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad - 1"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad + 1" + y1="height - 1 - ButtonIPad - 1" + x2="width - 1 - ButtonIPad" + y2="ButtonIPad"/> + <line color="gtk:fg[ACTIVE]" width="1" + x1="ButtonIPad" + y1="height - 1 - ButtonIPad - 1 - 1" + x2="width - 1 - ButtonIPad - 1" + y2="ButtonIPad - 1"/> +</draw_ops> +<!-- End Buttons Icons --> + +<!-- Outer Bevel --> +<draw_ops name="outer_bevel"> + <rectangle color="gtk:dark[NORMAL]" + x="0" y="0" width="width - 1" height="height - 1"/> + <rectangle color="gtk:bg[NORMAL]" filled="true" + x="1" y="1" width="width - 2" height="height - 2"/> +</draw_ops> + +<draw_ops name="gradient_background"> + <gradient type="vertical" x="0" y="0" width="width" height="top_height"> + <color value="gtk:light[SELECTED]"/> + <color value="gtk:dark[SELECTED]"/> + </gradient> +</draw_ops> + +<draw_ops name="outer_bevel_focused"> + <gtk_box state="selected" shadow="out" x="2" y="2" width="width - 2" + height="height - 2"/> + <rectangle color="gtk:bg[NORMAL]" filled="true" + x="left_width" y="top_height" + width="width - left_width - right_width - 1" + height="height - top_height - bottom_height - 1"/> + <rectangle color="gtk:fg[NORMAL]" + x="0" y="0" width="width - 1" height="height - 1"/> + <include name="gradient_background" + x="3" y="3" width="width - 7" height="height - 7"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="outline_focused"> + <rectangle color="gtk:fg[NORMAL]" + x="left_width - 1" y="top_height - 1" + width="width - left_width - right_width + 1" + height="height - top_height - bottom_height + 1"/> +</draw_ops> + +<draw_ops name="background"> + <include name="outer_bevel"/> +</draw_ops> + +<draw_ops name="background_focused"> + <include name="outer_bevel_focused"/> + <include name="outline_focused"/> +</draw_ops> + +<draw_ops name="title_background"> + <line color="#000000" width="50" + x1="width - title_width - IconTitleSpacing + 25 - 1 + 3" + y1="0 - 25" + x2="width - title_width - IconTitleSpacing - height - 25 - 1 + 3" + y2="height + 25"/> + <line color="#ffffff" width="50" + x1="width - title_width - IconTitleSpacing + 25 + 3" + y1="0 - 25" + x2="width - title_width - IconTitleSpacing - height - 25 + 3" + y2="height + 25"/> + <line color="#000000" width="1" + x1="width - 1" + y1="0" + x2="width - 1" + y2="height"/> + <rectangle color="#ffffff" filled="true" + x="width - title_width - mini_icon_width - IconTitleSpacing * 3" + y="0" + width="title_width + mini_icon_width + IconTitleSpacing * 3 - 1" + height="height"/> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + <title color="#000000" + x="width - title_width - IconTitleSpacing" + y="(height / 2) - (title_height / 2) - 1"/> + <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> diff --git a/src/themes/Gorilla/active-button.png b/src/themes/Gorilla/active-button.png Binary files differnew file mode 100644 index 00000000..64455b33 --- /dev/null +++ b/src/themes/Gorilla/active-button.png diff --git a/src/themes/Gorilla/active-close-button.png b/src/themes/Gorilla/active-close-button.png Binary files differnew file mode 100644 index 00000000..1d292165 --- /dev/null +++ b/src/themes/Gorilla/active-close-button.png diff --git a/src/themes/Gorilla/active-close-menu-icon.png b/src/themes/Gorilla/active-close-menu-icon.png Binary files differnew file mode 100644 index 00000000..b77f77ae --- /dev/null +++ b/src/themes/Gorilla/active-close-menu-icon.png diff --git a/src/themes/Gorilla/active-maximize-button.png b/src/themes/Gorilla/active-maximize-button.png Binary files differnew file mode 100644 index 00000000..a982e5cb --- /dev/null +++ b/src/themes/Gorilla/active-maximize-button.png diff --git a/src/themes/Gorilla/active-maximize-menu-icon.png b/src/themes/Gorilla/active-maximize-menu-icon.png Binary files differnew file mode 100644 index 00000000..02ccc37a --- /dev/null +++ b/src/themes/Gorilla/active-maximize-menu-icon.png diff --git a/src/themes/Gorilla/active-menu-button.png b/src/themes/Gorilla/active-menu-button.png Binary files differnew file mode 100644 index 00000000..b55d7078 --- /dev/null +++ b/src/themes/Gorilla/active-menu-button.png diff --git a/src/themes/Gorilla/active-minimize-button.png b/src/themes/Gorilla/active-minimize-button.png Binary files differnew file mode 100644 index 00000000..4205f4e8 --- /dev/null +++ b/src/themes/Gorilla/active-minimize-button.png diff --git a/src/themes/Gorilla/active-minimize-menu-icon.png b/src/themes/Gorilla/active-minimize-menu-icon.png Binary files differnew file mode 100644 index 00000000..29276929 --- /dev/null +++ b/src/themes/Gorilla/active-minimize-menu-icon.png diff --git a/src/themes/Gorilla/inactive-close-button.png b/src/themes/Gorilla/inactive-close-button.png Binary files differnew file mode 100644 index 00000000..c566b12f --- /dev/null +++ b/src/themes/Gorilla/inactive-close-button.png diff --git a/src/themes/Gorilla/inactive-maximize-button.png b/src/themes/Gorilla/inactive-maximize-button.png Binary files differnew file mode 100644 index 00000000..9c838823 --- /dev/null +++ b/src/themes/Gorilla/inactive-maximize-button.png diff --git a/src/themes/Gorilla/inactive-menu-button.png b/src/themes/Gorilla/inactive-menu-button.png Binary files differnew file mode 100644 index 00000000..b000a378 --- /dev/null +++ b/src/themes/Gorilla/inactive-menu-button.png diff --git a/src/themes/Gorilla/inactive-minimize-button.png b/src/themes/Gorilla/inactive-minimize-button.png Binary files differnew file mode 100644 index 00000000..4459af4e --- /dev/null +++ b/src/themes/Gorilla/inactive-minimize-button.png 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 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Gorilla</name> + <author>Kenneth Christiansen <[email protected]> Anders Carlsson <[email protected]></author> + <copyright>Â Ximian, Inc, 2001</copyright> + <date>February 8, 2002</date> + <description>A port of the Gorilla theme by Jacub Steiner</description> +</info> + +<!-- define constants --> +<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title --> +<constant name="ButtonWidth" value="18"/> <!-- Button width --> + +<frame_geometry name="normal"> + <distance name="left_width" value="6"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="8"/> + <distance name="right_titlebar_edge" value="8"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="0" right="0" top="7" bottom="4"/> + <border name="button_border" left="0" right="0" top="9" bottom="0"/> +</frame_geometry> + + +<!-- Buttons --> + +<draw_ops name="title_tile"> + <line color="#494d59" x1="0" y1="0" x2="width" y2="0"/> + <line color="#515961" x1="0" y1="1" x2="width" y2="1"/> +</draw_ops> + +<!-- Inactive style --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="black" x="1" y="1" width="width - 2" height="height - 2" 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[INSENSITIVE]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> + + <line color="gtk:bg[INSENSITIVE]" x1="1" y1="1" x2="2" y2="2"/> + <line color="gtk:bg[INSENSITIVE]" x1="1" y1="height - 2" x2="1" y2="height"/> + <line color="gtk:bg[INSENSITIVE]" x1="width - 2" y1="1" x2="width - 1" y2="2"/> + <line color="gtk:bg[INSENSITIVE]" x1="width - 1" y1="height - 1" x2="width - 2" y2="height - 2"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gray" 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="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> diff --git a/src/themes/Makefile.am b/src/themes/Makefile.am index 036c3152..6e8b1c98 100644 --- a/src/themes/Makefile.am +++ b/src/themes/Makefile.am @@ -1,14 +1,19 @@ THEMES= \ + Atlanta \ ClearlooksRe \ - eOS \ - DustBlue \ - WinMe \ - Splint-Left \ Dopple \ + Dopple-Left \ + DustBlue \ + Esco \ + eOS \ + Gorilla \ + Motif \ + Raleigh \ + Spidey \ Spidey-Left \ Splint \ - Dopple-Left \ - Spidey + Splint-Left \ + WinMe THEME_DIR=$(datadir)/themes THEME_SUBDIR=metacity-1 diff --git a/src/themes/Motif/meson.build b/src/themes/Motif/meson.build new file mode 100644 index 00000000..617b11dd --- /dev/null +++ b/src/themes/Motif/meson.build @@ -0,0 +1,4 @@ +install_data( + 'metacity-theme-1.xml', + install_dir : join_paths(datadir, 'themes', 'Motif', 'metacity-1'), +) diff --git a/src/themes/Motif/metacity-theme-1.xml b/src/themes/Motif/metacity-theme-1.xml new file mode 100644 index 00000000..c3990b55 --- /dev/null +++ b/src/themes/Motif/metacity-theme-1.xml @@ -0,0 +1,765 @@ +<?xml version="1.0"?> +<metacity_theme> + <info> + <name>Motif</name> + <author>Alexander Rokashevich</author> + <copyright>Alexander Rokashevich, 2007</copyright> + <date>2007-09-05</date> + <description>Motif Window Manager Theme based on colors from GTK+ theme, modified from mwm-north theme</description> + </info> +<!-- +####################################################### +# THEME COLORS +####################################################### + + Focused colors + ============== + Light gtk:base[SELECTED] + Normal gtk:bg[SELECTED] + Dark gtk:fg[SELECTED] + + Unfocused colors + ================ + Light gtk:base[NORMAL] + Normal gtk:bg[NORMAL] + Dark gtk:fg[NORMAL] + +####################################################### +# FRAME GEOMETRY +####################################################### +--> + <frame_geometry name="maximized"> + <distance name="title_vertical_pad" value="3"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> + <aspect_ratio name="button" value="1.0"/> + </frame_geometry> + <frame_geometry name="normal"> + <distance name="title_vertical_pad" value="3"/> + <distance name="left_titlebar_edge" value="3"/> + <distance name="right_titlebar_edge" value="3"/> + <distance name="left_width" value="3"/> + <distance name="right_width" value="3"/> + <distance name="bottom_height" value="3"/> + <border name="title_border" left="0" right="0" top="3" bottom="0"/> + <border name="button_border" left="0" right="0" top="3" bottom="0"/> + <aspect_ratio name="button" value="1.0"/> + </frame_geometry> + <frame_geometry name="shaded"> + <distance name="title_vertical_pad" value="3"/> + <distance name="left_titlebar_edge" value="6"/> + <distance name="right_titlebar_edge" value="6"/> + <distance name="left_width" value="6"/> + <distance name="right_width" value="60"/> + <distance name="bottom_height" value="0"/> + <border name="title_border" left="0" right="0" top="60" bottom="6"/> + <border name="button_border" left="0" right="0" top="60" bottom="6"/> + <aspect_ratio name="button" value="1.0"/> + </frame_geometry> + <frame_geometry name="border" has_title="false"> + <distance name="title_vertical_pad" value="6"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="left_width" value="60"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <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> +<!-- +####################################################### +# PANEL DRAW OPS +####################################################### +--> + <!-- special to draw just a border without interiour, used for title bar to get text cropoff --> + <draw_ops name="draw_relief_focused"> + <!-- light --> + <line color="gtk:light[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:light[SELECTED]" x1="0" y1="1" x2="0" y2="height-1"/> + <!-- dark --> + <line color="gtk:dark[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:dark[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-1"/> + </draw_ops> + <draw_ops name="draw_relief_unfocused"> + <!-- dark --> + <line color="gtk:light[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:light[NORMAL]" x1="0" y1="1" x2="0" y2="height-1"/> + <!-- light --> + <line color="gtk:dark[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:dark[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-1"/> + </draw_ops> + <draw_ops name="draw_relief_pressed_focused"> + <!-- light --> + <line color="gtk:dark[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:dark[SELECTED]" x1="0" y1="1" x2="0" y2="height-1"/> + <!-- dark --> + <line color="gtk:light[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:light[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-1"/> + </draw_ops> + <draw_ops name="draw_relief_pressed_unfocused"> + <!-- dark --> + <line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:dark[NORMAL]" x1="0" y1="1" x2="0" y2="height-1"/> + <!-- light --> + <line color="gtk:light[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:light[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-1"/> + </draw_ops> + <draw_ops name="draw_panel_focused"> + <!-- normal --> + <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <include name="draw_relief_focused"/> + </draw_ops> + <draw_ops name="draw_panel_pressed_focused"> + <!-- normal --> + <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <include name="draw_relief_pressed_focused"/> + </draw_ops> + <draw_ops name="draw_panel_unfocused"> + <!-- normal --> + <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <include name="draw_relief_unfocused"/> + </draw_ops> + <draw_ops name="draw_panel_pressed_unfocused"> + <!-- normal --> + <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <include name="draw_relief_pressed_unfocused"/> + </draw_ops> + <draw_ops name="draw_title_focused"> + <!-- normal --> + <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <title color="gtk:fg[SELECTED]" x="(width-title_width)/2 `max` 10" y="(height-title_height)/2"/> + <include name="draw_relief_focused"/> + </draw_ops> + <draw_ops name="draw_title_unfocused"> + <!-- normal --> + <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/> + <title color="gtk:fg[NORMAL]" x="(width-title_width)/2 `max` 10" y="(height-title_height)/2"/> + <include name="draw_relief_unfocused"/> + </draw_ops> +<!-- +####################################################### +# BORDER DRAW OPS +####################################################### +--> + <draw_ops name="draw_border_corners_focused"> + <!-- top left --> + <line color="gtk:dark[SELECTED]" x1="top_height-1" y1="1" x2="top_height-1" y2="bottom_height-1"/> + <line color="gtk:light[SELECTED]" x1="top_height" y1="1" x2="top_height" y2="bottom_height-1"/> + <!-- top right --> + <line color="gtk:dark[SELECTED]" x1="width-top_height-1" y1="1" x2="width-top_height-1" y2="bottom_height-1"/> + <line color="gtk:light[SELECTED]" x1="width-top_height" y1="1" x2="width-top_height" y2="bottom_height-1"/> + <!-- right top --> + <line color="gtk:dark[SELECTED]" x1="width-right_width+1" y1="top_height-1" x2="width-2" y2="top_height-1"/> + <line color="gtk:light[SELECTED]" x1="width-right_width+1" y1="top_height" x2="width-2" y2="top_height"/> + <!-- right bottom --> + <line color="gtk:dark[SELECTED]" x1="width-right_width+1" y1="height-top_height-1" x2="width-2" y2="height-top_height-1"/> + <line color="gtk:light[SELECTED]" x1="width-right_width+1" y1="height-top_height" x2="width-2" y2="height-top_height"/> + <!-- bottom right --> + <line color="gtk:dark[SELECTED]" x1="width-top_height-1" y1="height-bottom_height+1" x2="width-top_height-1" y2="height-2"/> + <line color="gtk:light[SELECTED]" x1="width-top_height" y1="height-bottom_height+1" x2="width-top_height" y2="height-2"/> + <!-- bottom left --> + <line color="gtk:dark[SELECTED]" x1="top_height-1" y1="height-bottom_height+1" x2="top_height-1" y2="height-2"/> + <line color="gtk:light[SELECTED]" x1="top_height" y1="height-bottom_height+1" x2="top_height" y2="height-2"/> + <!-- left bottom --> + <line color="gtk:dark[SELECTED]" x1="1" y1="height-top_height-1" x2="left_width-1" y2="height-top_height-1"/> + <line color="gtk:light[SELECTED]" x1="1" y1="height-top_height" x2="left_width-1" y2="height-top_height"/> + <!-- left top --> + <line color="gtk:dark[SELECTED]" x1="1" y1="top_height-1" x2="left_width-1" y2="top_height-1"/> + <line color="gtk:light[SELECTED]" x1="1" y1="top_height" x2="left_width-1" y2="top_height"/> + </draw_ops> + <draw_ops name="draw_border_corners_unfocused"> + <!-- top left --> + <line color="gtk:dark[NORMAL]" x1="top_height-1" y1="1" x2="top_height-1" y2="bottom_height-1"/> + <line color="gtk:light[NORMAL]" x1="top_height" y1="1" x2="top_height" y2="bottom_height-1"/> + <!-- top right --> + <line color="gtk:dark[NORMAL]" x1="width-top_height-1" y1="1" x2="width-top_height-1" y2="bottom_height-1"/> + <line color="gtk:light[NORMAL]" x1="width-top_height" y1="1" x2="width-top_height" y2="bottom_height-1"/> + <!-- right top --> + <line color="gtk:dark[NORMAL]" x1="width-right_width+1" y1="top_height-1" x2="width-2" y2="top_height-1"/> + <line color="gtk:light[NORMAL]" x1="width-right_width+1" y1="top_height" x2="width-2" y2="top_height"/> + <!-- right bottom --> + <line color="gtk:dark[NORMAL]" x1="width-right_width+1" y1="height-top_height-1" x2="width-2" y2="height-top_height-1"/> + <line color="gtk:light[NORMAL]" x1="width-right_width+1" y1="height-top_height" x2="width-2" y2="height-top_height"/> + <!-- bottom right --> + <line color="gtk:dark[NORMAL]" x1="width-top_height-1" y1="height-bottom_height+1" x2="width-top_height-1" y2="height-2"/> + <line color="gtk:light[NORMAL]" x1="width-top_height" y1="height-bottom_height+1" x2="width-top_height" y2="height-2"/> + <!-- bottom left --> + <line color="gtk:dark[NORMAL]" x1="top_height-1" y1="height-bottom_height+1" x2="top_height-1" y2="height-2"/> + <line color="gtk:light[NORMAL]" x1="top_height" y1="height-bottom_height+1" x2="top_height" y2="height-2"/> + <!-- left bottom --> + <line color="gtk:dark[NORMAL]" x1="1" y1="height-top_height-1" x2="left_width-1" y2="height-top_height-1"/> + <line color="gtk:light[NORMAL]" x1="1" y1="height-top_height" x2="left_width-1" y2="height-top_height"/> + <!-- left top --> + <line color="gtk:dark[NORMAL]" x1="1" y1="top_height-1" x2="left_width-1" y2="top_height-1"/> + <line color="gtk:light[NORMAL]" x1="1" y1="top_height" x2="left_width-1" y2="top_height"/> + </draw_ops> + <draw_ops name="draw_border_base_focused"> + <!-- background --> + <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="width" height="right_width" filled="true"/> + <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="left_width" height="height" filled="true"/> + <rectangle color="gtk:bg[SELECTED]" x="width-right_width" y="0" width="right_width" height="height" filled="true"/> + <rectangle color="gtk:bg[SELECTED]" x="0" y="height-right_width" width="width" height="right_width" filled="true"/> + <!-- light --> + <line color="gtk:light[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:light[SELECTED]" x1="0" y1="1" x2="width-2" y2="1"/> + <line color="gtk:light[SELECTED]" x1="0" y1="2" x2="0" y2="height-1"/> + <line color="gtk:light[SELECTED]" x1="1" y1="2" x2="1" y2="height-2"/> + <line color="gtk:light[SELECTED]" x1="left_width" y1="height-right_width" x2="width-right_width" y2="height-right_width"/> + <line color="gtk:light[SELECTED]" x1="width-right_width" y1="right_width" x2="width-right_width" y2="height-right_width-1"/> + <!-- dark --> + <line color="gtk:dark[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:dark[SELECTED]" x1="2" y1="height-2" x2="width-1" y2="height-2"/> + <line color="gtk:dark[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-3"/> + <line color="gtk:dark[SELECTED]" x1="width-2" y1="2" x2="width-2" y2="height-3"/> + <line color="gtk:dark[SELECTED]" x1="left_width-1" y1="right_width-1" x2="width-right_width" y2="right_width-1"/> + <line color="gtk:dark[SELECTED]" x1="left_width-1" y1="right_width" x2="left_width-1" y2="height-right_width"/> + </draw_ops> + <draw_ops name="draw_border_focused"> + <include name="draw_border_base_focused"/> + <include name="draw_border_corners_focused"/> + </draw_ops> + <draw_ops name="draw_border_nocorners_focused"> + <include name="draw_border_base_focused"/> + </draw_ops> + <draw_ops name="draw_border_base_unfocused"> + <!-- background --> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="right_width" filled="true"/> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="left_width" height="height" filled="true"/> + <rectangle color="gtk:bg[NORMAL]" x="width-right_width" y="0" width="right_width" height="height" filled="true"/> + <rectangle color="gtk:bg[NORMAL]" x="0" y="height-right_width" width="width" height="right_width" filled="true"/> + <!-- light --> + <line color="gtk:light[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/> + <line color="gtk:light[NORMAL]" x1="0" y1="1" x2="width-2" y2="1"/> + <line color="gtk:light[NORMAL]" x1="0" y1="2" x2="0" y2="height-1"/> + <line color="gtk:light[NORMAL]" x1="1" y1="2" x2="1" y2="height-2"/> + <line color="gtk:light[NORMAL]" x1="left_width" y1="height-right_width" x2="width-right_width" y2="height-right_width"/> + <line color="gtk:light[NORMAL]" x1="width-right_width" y1="right_width" x2="width-right_width" y2="height-right_width-1"/> + <!-- dark --> + <line color="gtk:dark[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/> + <line color="gtk:dark[NORMAL]" x1="2" y1="height-2" x2="width-1" y2="height-2"/> + <line color="gtk:dark[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-3"/> + <line color="gtk:dark[NORMAL]" x1="width-2" y1="2" x2="width-2" y2="height-3"/> + <line color="gtk:dark[NORMAL]" x1="left_width-1" y1="right_width-1" x2="width-right_width" y2="right_width-1"/> + <line color="gtk:dark[NORMAL]" x1="left_width-1" y1="right_width" x2="left_width-1" y2="height-right_width"/> + </draw_ops> + <draw_ops name="draw_border_unfocused"> + <include name="draw_border_base_unfocused"/> + <include name="draw_border_corners_unfocused"/> + </draw_ops> + <draw_ops name="draw_border_nocorners_unfocused"> + <include name="draw_border_base_unfocused"/> + </draw_ops> +<!-- +####################################################### +# BUTTON DRAW OPS +####################################################### +############## +# FOCUSED +############### +--> + <!-- MENU BUTTON --> + <draw_ops name="draw_button_menu_icon_focused"> + <!-- draw menu icon --> + <line color="gtk:dark[SELECTED]" x1="width-5" y1="height/2-1" x2="width-5" y2="height/2+2"/> + <line color="gtk:dark[SELECTED]" x1="4" y1="height/2+2" x2="width-5" y2="height/2+2"/> + <line color="gtk:light[SELECTED]" x1="4" y1="height/2-1" x2="width-5" y2="height/2-1"/> + <line color="gtk:light[SELECTED]" x1="4" y1="height/2-1" x2="4" y2="height/2+2"/> + </draw_ops> + <draw_ops name="draw_button_menu_focused"> + <include name="draw_panel_focused"/> + <include name="draw_button_menu_icon_focused"/> + </draw_ops> + <draw_ops name="draw_button_menu_pressed_focused"> + <include name="draw_panel_pressed_focused"/> + <include name="draw_button_menu_icon_focused"/> + </draw_ops> + <!-- MINIMIZE BUTTON --> + <draw_ops name="draw_button_minimize_icon_focused"> + <!-- draw minimize icon --> + <line color="gtk:light[SELECTED]" x1="width/2-2" y1="height/2-1" x2="width/2+1" y2="height/2-1"/> + <line color="gtk:light[SELECTED]" x1="width/2-2" y1="height/2-1" x2="width/2-2" y2="height/2+2"/> + <line color="gtk:dark[SELECTED]" x1="width/2+1" y1="height/2" x2="width/2+1" y2="height/2+2"/> + <line color="gtk:dark[SELECTED]" x1="width/2-1" y1="height/2+2" x2="width/2+1" y2="height/2+2"/> + </draw_ops> + <draw_ops name="draw_button_minimize_focused"> + <include name="draw_panel_focused"/> + <include name="draw_button_minimize_icon_focused"/> + </draw_ops> + <draw_ops name="draw_button_minimize_pressed_focused"> + <include name="draw_panel_pressed_focused"/> + <include name="draw_button_minimize_icon_focused"/> + </draw_ops> + <!-- MAXIMIZE BUTTON --> + <draw_ops name="draw_button_maximize_icon_focused"> + <!-- draw maximize icon --> + <line color="gtk:light[SELECTED]" x1="4" y1="4" x2="width-5" y2="4"/> + <line color="gtk:light[SELECTED]" x1="4" y1="4" x2="4" y2="height-5"/> + <line color="gtk:dark[SELECTED]" x1="width-5" y1="5" x2="width-5" y2="height-5"/> + <line color="gtk:dark[SELECTED]" x1="5" y1="height-5" x2="width-5" y2="height-5"/> + </draw_ops> + <draw_ops name="draw_button_maximize_focused"> + <include name="draw_panel_focused"/> + <include name="draw_button_maximize_icon_focused"/> + </draw_ops> + <draw_ops name="draw_button_maximize_pressed_focused"> + <include name="draw_panel_pressed_focused"/> + <include name="draw_button_maximize_icon_focused"/> + </draw_ops> + <!-- RESTORE BUTTON --> + <draw_ops name="draw_button_restore_icon_focused"> + <!-- draw restore icon --> + <line color="gtk:dark[SELECTED]" x1="4" y1="4" x2="width-5" y2="4"/> + <line color="gtk:dark[SELECTED]" x1="4" y1="4" x2="4" y2="height-5"/> + <line color="gtk:light[SELECTED]" x1="width-5" y1="5" x2="width-5" y2="height-5"/> + <line color="gtk:light[SELECTED]" x1="5" y1="height-5" x2="width-5" y2="height-5"/> + </draw_ops> + <draw_ops name="draw_button_restore_focused"> + <include name="draw_panel_focused"/> + <include name="draw_button_restore_icon_focused"/> + </draw_ops> + <draw_ops name="draw_button_restore_pressed_focused"> + <include name="draw_panel_pressed_focused"/> + <include name="draw_button_restore_icon_focused"/> + </draw_ops> + <!-- CLOSE BUTTON --> + <draw_ops name="draw_button_close_icon_focused"> + <!-- draw close icon --> + <line color="gtk:light[SELECTED]" x1="4" y1="height-7" x2="width-7" y2="4"/> + <line color="gtk:dark[SELECTED]" x1="6" y1="height-5" x2="width-5" y2="6"/> + <line color="gtk:light[SELECTED]" x1="4" y1="6" x2="width-7" y2="height-5"/> + <line color="gtk:dark[SELECTED]" x1="6" y1="4" x2="width-5" y2="height-7"/> + <line color="gtk:dark[SELECTED]" x1="5" y1="height-6" x2="6" y2="height-5"/> + <line color="gtk:light[SELECTED]" x1="4" y1="6" x2="6" y2="4"/> + <line color="gtk:dark[SELECTED]" x1="width-7" y1="height-5" x2="width-5" y2="height-7"/> + <line color="gtk:dark[SELECTED]" x1="width-6" y1="5" x2="width-5" y2="6"/> + <line color="gtk:bg[SELECTED]" x1="5" y1="height-5" x2="width-6" y2="6"/> + <line color="gtk:bg[SELECTED]" x1="6" y1="height-7" x2="width-7" y2="6"/> + <line color="gtk:bg[SELECTED]" x1="4" y1="height-6" x2="width-7" y2="5"/> + <line color="gtk:bg[SELECTED]" x1="5" y1="6" x2="width-7" y2="height-6"/> + <line color="gtk:bg[SELECTED]" x1="6" y1="6" x2="width-7" y2="height-7"/> + <line color="gtk:bg[SELECTED]" x1="7" y1="6" x2="width-6" y2="height-7"/> + </draw_ops> + <draw_ops name="draw_button_close_focused"> + <include name="draw_panel_focused"/> + <include name="draw_button_close_icon_focused"/> + </draw_ops> + <draw_ops name="draw_button_close_pressed_focused"> + <include name="draw_panel_pressed_focused"/> + <include name="draw_button_close_icon_focused"/> + </draw_ops> +<!-- +################ +# UNFOCUSED +################ +--> + <!-- MENU BUTTON --> + <draw_ops name="draw_button_menu_icon_unfocused"> + <!-- draw menu icon --> + <line color="gtk:dark[NORMAL]" x1="width-5" y1="height/2-1" x2="width-5" y2="height/2+2"/> + <line color="gtk:dark[NORMAL]" x1="4" y1="height/2+2" x2="width-5" y2="height/2+2"/> + <line color="gtk:light[NORMAL]" x1="4" y1="height/2-1" x2="width-5" y2="height/2-1"/> + <line color="gtk:light[NORMAL]" x1="4" y1="height/2-1" x2="4" y2="height/2+2"/> + </draw_ops> + <draw_ops name="draw_button_menu_unfocused"> + <include name="draw_panel_unfocused"/> + <include name="draw_button_menu_icon_unfocused"/> + </draw_ops> + <draw_ops name="draw_button_menu_pressed_unfocused"> + <include name="draw_panel_pressed_unfocused"/> + <include name="draw_button_menu_icon_unfocused"/> + </draw_ops> + <!-- MINIMIZE BUTTON --> + <draw_ops name="draw_button_minimize_icon_unfocused"> + <!-- draw minimize icon --> + <line color="gtk:light[NORMAL]" x1="width/2-2" y1="height/2-1" x2="width/2+1" y2="height/2-1"/> + <line color="gtk:light[NORMAL]" x1="width/2-2" y1="height/2-1" x2="width/2-2" y2="height/2+2"/> + <line color="gtk:dark[NORMAL]" x1="width/2+1" y1="height/2" x2="width/2+1" y2="height/2+2"/> + <line color="gtk:dark[NORMAL]" x1="width/2-1" y1="height/2+2" x2="width/2+1" y2="height/2+2"/> + </draw_ops> + <draw_ops name="draw_button_minimize_unfocused"> + <include name="draw_panel_unfocused"/> + <include name="draw_button_minimize_icon_unfocused"/> + </draw_ops> + <draw_ops name="draw_button_minimize_pressed_unfocused"> + <include name="draw_panel_pressed_unfocused"/> + <include name="draw_button_minimize_icon_unfocused"/> + </draw_ops> + <!-- MAXIMIZE BUTTON --> + <draw_ops name="draw_button_maximize_icon_unfocused"> + <!-- draw maximize icon --> + <line color="gtk:light[NORMAL]" x1="4" y1="4" x2="width-5" y2="4"/> + <line color="gtk:light[NORMAL]" x1="4" y1="4" x2="4" y2="height-5"/> + <line color="gtk:dark[NORMAL]" x1="width-5" y1="5" x2="width-5" y2="height-5"/> + <line color="gtk:dark[NORMAL]" x1="5" y1="height-5" x2="width-5" y2="height-5"/> + </draw_ops> + <draw_ops name="draw_button_maximize_unfocused"> + <include name="draw_panel_unfocused"/> + <include name="draw_button_maximize_icon_unfocused"/> + </draw_ops> + <draw_ops name="draw_button_maximize_pressed_unfocused"> + <include name="draw_panel_pressed_unfocused"/> + <include name="draw_button_maximize_icon_unfocused"/> + </draw_ops> + <!-- RESTORE BUTTON --> + <draw_ops name="draw_button_restore_icon_unfocused"> + <!-- draw maximize icon --> + <line color="gtk:dark[NORMAL]" x1="4" y1="4" x2="width-5" y2="4"/> + <line color="gtk:dark[NORMAL]" x1="4" y1="4" x2="4" y2="height-5"/> + <line color="gtk:light[NORMAL]" x1="width-5" y1="5" x2="width-5" y2="height-5"/> + <line color="gtk:light[NORMAL]" x1="5" y1="height-5" x2="width-5" y2="height-5"/> + </draw_ops> + <draw_ops name="draw_button_restore_unfocused"> + <include name="draw_panel_unfocused"/> + <include name="draw_button_restore_icon_unfocused"/> + </draw_ops> + <draw_ops name="draw_button_restore_pressed_unfocused"> + <include name="draw_panel_pressed_unfocused"/> + <include name="draw_button_restore_icon_unfocused"/> + </draw_ops> + <!-- CLOSE BUTTON --> + <draw_ops name="draw_button_close_icon_unfocused"> + <!-- draw close icon --> + <line color="gtk:light[NORMAL]" x1="4" y1="height-7" x2="width-7" y2="4"/> + <line color="gtk:dark[NORMAL]" x1="6" y1="height-5" x2="width-5" y2="6"/> + <line color="gtk:light[NORMAL]" x1="4" y1="6" x2="width-7" y2="height-5"/> + <line color="gtk:dark[NORMAL]" x1="6" y1="4" x2="width-5" y2="height-7"/> + <line color="gtk:dark[NORMAL]" x1="5" y1="height-6" x2="6" y2="height-5"/> + <line color="gtk:light[NORMAL]" x1="4" y1="6" x2="6" y2="4"/> + <line color="gtk:dark[NORMAL]" x1="width-7" y1="height-5" x2="width-5" y2="height-7"/> + <line color="gtk:dark[NORMAL]" x1="width-6" y1="5" x2="width-5" y2="6"/> + <line color="gtk:bg[NORMAL]" x1="5" y1="height-5" x2="width-6" y2="6"/> + <line color="gtk:bg[NORMAL]" x1="6" y1="height-7" x2="width-7" y2="6"/> + <line color="gtk:bg[NORMAL]" x1="4" y1="height-6" x2="width-7" y2="5"/> + <line color="gtk:bg[NORMAL]" x1="5" y1="6" x2="width-7" y2="height-6"/> + <line color="gtk:bg[NORMAL]" x1="6" y1="6" x2="width-7" y2="height-7"/> + <line color="gtk:bg[NORMAL]" x1="7" y1="6" x2="width-6" y2="height-7"/> + </draw_ops> + <draw_ops name="draw_button_close_unfocused"> + <include name="draw_panel_unfocused"/> + <include name="draw_button_close_icon_unfocused"/> + </draw_ops> + <draw_ops name="draw_button_close_pressed_unfocused"> + <include name="draw_panel_pressed_unfocused"/> + <include name="draw_button_close_icon_unfocused"/> + </draw_ops> + <!-- BORDER BUTTON STUB--> + <draw_ops name="border_stub"/> +<!-- +####################################################### +# FRAME STYLES +####################################################### +############## +# FOCUSED +############## +--> + <!-- NORMAL + SHADED STYLE --> + <frame_style name="style_focused_common" geometry="normal"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_focused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_focused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_focused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/> + <button function="maximize" state="normal" draw_ops="draw_button_maximize_focused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_focused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/> + </frame_style> + <frame_style name="style_nocorners_focused" geometry="normal"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_focused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_focused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_focused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/> + <button function="maximize" state="normal" draw_ops="draw_button_maximize_focused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_focused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/> + </frame_style> + <frame_style name="style_maximized_focused" geometry="maximized"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_focused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_focused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_focused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/> + <button function="maximize" state="normal" draw_ops="draw_button_restore_focused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_focused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/> + </frame_style> + <frame_style name="style_maximized_shaded_focused" geometry="shaded"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_focused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_focused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_focused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/> + <button function="maximize" state="normal" draw_ops="draw_button_restore_focused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_focused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/> + </frame_style> + <!-- NORMAL STYLE --> + <frame_style name="style_focused" geometry="normal" parent="style_focused_common"/> + <!-- SHADED STYLE --> + <frame_style name="style_shaded_focused" geometry="shaded" parent="style_nocorners_focused"/> + <!-- BORDER STYLE --> + <frame_style name="style_focused_border" geometry="border"> + <!-- borders --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_focused"/> + </draw_ops> + </piece> + <!-- buttons : Not sure why i need these --> + <button function="close" state="normal" draw_ops="border_stub"/> + <button function="close" state="pressed" draw_ops="border_stub"/> + <button function="minimize" state="normal" draw_ops="border_stub"/> + <button function="minimize" state="pressed" draw_ops="border_stub"/> + <button function="maximize" state="normal" draw_ops="border_stub"/> + <button function="maximize" state="pressed" draw_ops="border_stub"/> + <button function="menu" state="normal" draw_ops="border_stub"/> + <button function="menu" state="pressed" draw_ops="border_stub"/> + </frame_style> +<!-- +################ +# UNFOCUSED +################ +--> + <!-- NORMAL + SHADED STYLE --> + <frame_style name="style_unfocused_common" geometry="normal"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_unfocused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_unfocused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/> + <button function="maximize" state="normal" draw_ops="draw_button_maximize_unfocused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_unfocused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/> + </frame_style> + <frame_style name="style_nocorners_unfocused" geometry="normal"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_unfocused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_unfocused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/> + <button function="maximize" state="normal" draw_ops="draw_button_maximize_unfocused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_unfocused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/> + </frame_style> + <frame_style name="style_maximized_unfocused" geometry="maximized"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_unfocused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_unfocused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/> + <button function="maximize" state="normal" draw_ops="draw_button_restore_unfocused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_unfocused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/> + </frame_style> + <!-- maximized without resize handles --> + <frame_style name="style_maximized_shaded_unfocused" geometry="shaded"> + <!-- border --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_unfocused"/> + </draw_ops> + </piece> + <!-- Title Text --> + <piece position="title"> + <draw_ops> + <include name="draw_title_unfocused"/> + </draw_ops> + </piece> + <!-- buttons --> + <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/> + <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/> + <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/> + <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/> + <button function="maximize" state="normal" draw_ops="draw_button_restore_unfocused"/> + <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_unfocused"/> + <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/> + <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/> + </frame_style> + <!-- NORMAL STYLE --> + <frame_style name="style_unfocused" geometry="normal" parent="style_unfocused_common"/> + <!-- SHADED STYLE --> + <frame_style name="style_shaded_unfocused" geometry="shaded" parent="style_nocorners_unfocused"/> + <!-- BORDER STYLE --> + <frame_style name="style_unfocused_border" geometry="border"> + <!-- borders --> + <piece position="entire_background"> + <draw_ops> + <include name="draw_border_nocorners_unfocused"/> + </draw_ops> + </piece> + <!-- buttons : Not sure why i need these --> + <button function="close" state="normal" draw_ops="border_stub"/> + <button function="close" state="pressed" draw_ops="border_stub"/> + <button function="minimize" state="normal" draw_ops="border_stub"/> + <button function="minimize" state="pressed" draw_ops="border_stub"/> + <button function="maximize" state="normal" draw_ops="border_stub"/> + <button function="maximize" state="pressed" draw_ops="border_stub"/> + <button function="menu" state="normal" draw_ops="border_stub"/> + <button function="menu" state="pressed" draw_ops="border_stub"/> + </frame_style> +<!-- +####################################################### +# STYLES SETS +####################################################### +--> + <!-- NORMAL STYLE SET --> + <frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="style_focused"/> + <frame focus="no" state="normal" resize="both" style="style_unfocused"/> + <frame focus="yes" state="maximized" style="style_maximized_focused"/> + <frame focus="no" state="maximized" style="style_maximized_unfocused"/> + <frame focus="yes" state="shaded" style="style_shaded_focused"/> + <frame focus="no" state="shaded" style="style_shaded_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="style_maximized_shaded_focused"/> + <frame focus="no" state="maximized_and_shaded" style="style_maximized_shaded_unfocused"/> + </frame_style_set> + <!-- NOCORNERS STYLE SET --> + <frame_style_set name="nocorners"> + <frame focus="yes" state="normal" resize="both" style="style_nocorners_focused"/> + <frame focus="no" state="normal" resize="both" style="style_nocorners_unfocused"/> + <frame focus="yes" state="maximized" style="style_nocorners_focused"/> + <frame focus="no" state="maximized" style="style_nocorners_unfocused"/> + <frame focus="yes" state="shaded" style="style_shaded_focused"/> + <frame focus="no" state="shaded" style="style_shaded_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="style_nocorners_focused"/> + <frame focus="no" state="maximized_and_shaded" style="style_nocorners_unfocused"/> + </frame_style_set> + <!-- BORDER STYLE SET --> + <frame_style_set name="border"> + <frame focus="yes" state="normal" resize="both" style="style_focused_border"/> + <frame focus="no" state="normal" resize="both" style="style_unfocused_border"/> + <frame focus="yes" state="maximized" style="style_focused_border"/> + <frame focus="no" state="maximized" style="style_unfocused_border"/> + <frame focus="yes" state="shaded" style="style_focused_border"/> + <frame focus="no" state="shaded" style="style_unfocused_border"/> + <frame focus="yes" state="maximized_and_shaded" style="style_focused_border"/> + <frame focus="no" state="maximized_and_shaded" style="style_unfocused_border"/> + </frame_style_set> + <window type="normal" style_set="normal"/> + <window type="dialog" style_set="nocorners"/> + <window type="modal_dialog" style_set="nocorners"/> + <window type="menu" style_set="nocorners"/> + <window type="utility" style_set="normal"/> + <window type="border" style_set="border"/> +<!-- +####################################################### +# MENU ICONS +####################################################### +--> + <menu_icon function="maximize" state="normal"> + <draw_ops> + <include name="draw_button_maximize_icon_unfocused"/> + </draw_ops> + </menu_icon> + <menu_icon function="close" state="normal"> + <draw_ops> + <include name="draw_button_close_icon_unfocused"/> + </draw_ops> + </menu_icon> + <menu_icon function="minimize" state="normal"> + <draw_ops> + <include name="draw_button_minimize_icon_unfocused"/> + </draw_ops> + </menu_icon> + <menu_icon function="unmaximize" state="normal"> + <draw_ops/> + </menu_icon> +</metacity_theme> diff --git a/src/themes/Raleigh/close_normal.png b/src/themes/Raleigh/close_normal.png Binary files differnew file mode 100644 index 00000000..51df4272 --- /dev/null +++ b/src/themes/Raleigh/close_normal.png diff --git a/src/themes/Raleigh/close_normal_small.png b/src/themes/Raleigh/close_normal_small.png Binary files differnew file mode 100644 index 00000000..7c87b0a5 --- /dev/null +++ b/src/themes/Raleigh/close_normal_small.png diff --git a/src/themes/Raleigh/close_pressed.png b/src/themes/Raleigh/close_pressed.png Binary files differnew file mode 100644 index 00000000..83a6d5f5 --- /dev/null +++ b/src/themes/Raleigh/close_pressed.png diff --git a/src/themes/Raleigh/close_pressed_small.png b/src/themes/Raleigh/close_pressed_small.png Binary files differnew file mode 100644 index 00000000..8523ba67 --- /dev/null +++ b/src/themes/Raleigh/close_pressed_small.png diff --git a/src/themes/Raleigh/maximize_normal.png b/src/themes/Raleigh/maximize_normal.png Binary files differnew file mode 100644 index 00000000..f99a7761 --- /dev/null +++ b/src/themes/Raleigh/maximize_normal.png diff --git a/src/themes/Raleigh/maximize_pressed.png b/src/themes/Raleigh/maximize_pressed.png Binary files differnew file mode 100644 index 00000000..fb97a357 --- /dev/null +++ b/src/themes/Raleigh/maximize_pressed.png diff --git a/src/themes/Raleigh/meson.build b/src/themes/Raleigh/meson.build new file mode 100644 index 00000000..fb69239f --- /dev/null +++ b/src/themes/Raleigh/meson.build @@ -0,0 +1,14 @@ +install_data( + 'close_normal.png', + 'close_normal_small.png', + 'close_pressed.png', + 'close_pressed_small.png', + 'maximize_normal.png', + 'maximize_pressed.png', + 'metacity-theme-1.xml', + 'minimize_normal.png', + 'minimize_pressed.png', + 'restore_normal.png', + 'restore_pressed.png', + install_dir : join_paths(datadir, 'themes', 'Raleigh', 'metacity-1') +) diff --git a/src/themes/Raleigh/metacity-theme-1.xml b/src/themes/Raleigh/metacity-theme-1.xml new file mode 100644 index 00000000..86c2e5ae --- /dev/null +++ b/src/themes/Raleigh/metacity-theme-1.xml @@ -0,0 +1,321 @@ +<?xml version="1.0"?> +<metacity_theme> + <info> + <name>Raleigh</name> + <author>Grassmunk</author> + <copyright>Â 2007 Srivatsa Kanchi <[email protected]>, 2010 Perberos</copyright> + <date>April 22, 2016</date> + <description>GTK default theme, successed by Adwaita.</description> + </info> + <frame_geometry name="normal_geometry" has_title="true" rounded_top_left="false" rounded_top_right="false" title_scale="medium" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="6"/> + <distance name="title_vertical_pad" value="5"/> + <distance name="button_width" value="17"/> + <distance name="button_height" value="16"/> + <border name="title_border" left="0" right="0" top="4" bottom="0"/> + <border name="button_border" left="0" right="0" top="3" bottom="0"/> + </frame_geometry> + <frame_geometry name="borderless_geometry" has_title="true" rounded_top_left="false" rounded_top_right="false" title_scale="medium" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="2"/> + <distance name="title_vertical_pad" value="2"/> + <distance name="button_width" value="17"/> + <distance name="button_height" value="16"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="1" bottom="1"/> + </frame_geometry> + <frame_geometry name="utility_geometry" has_title="true" rounded_top_left="false" rounded_top_right="false" title_scale="small" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="3"/> + <distance name="right_width" value="3"/> + <distance name="bottom_height" value="3"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <distance name="title_vertical_pad" value="4"/> + <distance name="button_width" value="10"/> + <distance name="button_height" value="11"/> + <border name="title_border" left="0" right="0" top="4" bottom="2"/> + <border name="button_border" left="0" right="0" top="2" bottom="0"/> + </frame_geometry> + <frame_geometry name="border_geometry" has_title="false"> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="0"/> + <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="0"/> + <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> + <frame_style name="normal_focused_style" geometry="normal_geometry"> + <piece position="left_edge"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#ffffff" x1="1" y1="0" x2="1" y2="height" width="1"/> + </draw_ops> + </piece> + <piece position="right_edge"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#808080" x1="width-2" y1="0" x2="width-2" y2="height" width="1"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height" width="1"/> + </draw_ops> + </piece> + <piece position="bottom_edge"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#808080" x1="1" y1="height-2" x2="width" y2="height-2" width="1"/> + <line color="#000000" x1="0" y1="height-1" x2="width" y2="height-1" width="1"/> + <line color="#ffffff" x1="1" y1="0" x2="1" y2="height-2" width="1"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height" width="1"/> + <line color="#808080" x1="width-2" y1="0" x2="width-2" y2="height-2" width="1"/> + </draw_ops> + </piece> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#ffffff" x1="1" y1="1" x2="1" y2="height" width="1"/> + <line color="#ffffff" x1="1" y1="1" x2="width-2" y2="1" width="1"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height" width="1"/> + <line color="#808080" x1="width-2" y1="1" x2="width-2" y2="height" width="1"/> + <rectangle color="gtk:bg[SELECTED]" x="4" y="4" width="width-8" height="height-5" filled="true"/> + </draw_ops> + </piece> + <button function="close" state="normal"> + <draw_ops> + <image filename="close_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="close" state="pressed"> + <draw_ops> + <image filename="close_pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="normal"> + <draw_ops> + <image filename="maximize_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="pressed"> + <draw_ops> + <image filename="maximize_pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="minimize" state="normal"> + <draw_ops> + <image filename="minimize_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="minimize" state="pressed"> + <draw_ops> + <image filename="minimize_pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="menu" state="normal"> + <draw_ops> + <icon x="1" y="0" width="16" height="16"/> + </draw_ops> + </button> + <button function="menu" state="pressed"> + <draw_ops> + <icon x="1" y="0" width="16" height="16"/> + </draw_ops> + </button> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="#000000"/> + </draw_ops> + </piece> + </frame_style> + <frame_style name="normal(maximized)_focused_style" geometry="borderless_geometry" parent="normal_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <button function="maximize" state="normal"> + <draw_ops> + <image filename="restore_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="pressed"> + <draw_ops> + <image filename="restore_pressed.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + </frame_style> + <frame_style name="normal_unfocused_style" geometry="normal_geometry" parent="normal_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <line color="#ffffff" x1="1" y1="1" x2="1" y2="height" width="1"/> + <line color="#ffffff" x1="1" y1="1" x2="width-2" y2="1" width="1"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height" width="1"/> + <line color="#808080" x1="width-2" y1="1" x2="width-2" y2="height" width="1"/> + <rectangle color="#808080" x="4" y="4" width="width-8" height="height-5" filled="true"/> + </draw_ops> + </piece> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="gtk:bg[NORMAL]"/> + </draw_ops> + </piece> + </frame_style> + <frame_style name="normal(maximized)_unfocused_style" geometry="borderless_geometry" parent="normal_unfocused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="#808080" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <button function="maximize" state="normal"> + <draw_ops> + <image filename="restore_normal.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + </frame_style> + <frame_style name="utility_focused_style" geometry="utility_geometry"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="#ffffff" x="1" y="1" width="width-3" height="height-3" filled="false"/> + <line color="#808080" x1="width-2" y1="1" x2="width-2" y2="height-3"/> + <line color="#808080" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="#000000" x1="width-1" y1="0" x2="width-1" y2="height-1"/> + <line color="#808080" x1="0" y1="height-1" x2="width-1" y2="height-1"/> + </draw_ops> + </piece> + <piece position="titlebar"> + <draw_ops> + <rectangle color="gtk:bg[SELECTED]" x="4" y="4" width="width-8" height="height-5" filled="true"/> + </draw_ops> + </piece> + <button function="menu" state="normal"> + <draw_ops/> + </button> + <button function="menu" state="pressed"> + <draw_ops/> + </button> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="#ffffff"/> + </draw_ops> + </piece> + <button function="close" state="normal"> + <draw_ops> + <image filename="close_normal_small.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="close" state="pressed"> + <draw_ops> + <image filename="close_pressed_small.png" x="0" y="0" width="width" height="height"/> + </draw_ops> + </button> + <button function="maximize" state="normal"> + <draw_ops/> + </button> + <button function="maximize" state="pressed"> + <draw_ops/> + </button> + <button function="minimize" state="normal"> + <draw_ops/> + </button> + <button function="minimize" state="pressed"> + <draw_ops/> + </button> + </frame_style> + <frame_style name="utility_unfocused_style" geometry="utility_geometry" parent="utility_focused_style"> + <piece position="titlebar"> + <draw_ops> + <rectangle color="#808080" x="0" y="0" width="width-0" height="height-0" filled="true"/> + </draw_ops> + </piece> + <piece position="title"> + <draw_ops> + <title x="3" y="2" color="gtk:bg[NORMAL]"/> + </draw_ops> + </piece> + </frame_style> + <frame_style name="border_style" geometry="border_geometry"> + <button function="close" state="normal"> + <draw_ops/> + </button> + <button function="close" state="pressed"> + <draw_ops/> + </button> + <button function="maximize" state="normal"> + <draw_ops/> + </button> + <button function="maximize" state="pressed"> + <draw_ops/> + </button> + <button function="minimize" state="normal"> + <draw_ops/> + </button> + <button function="minimize" state="pressed"> + <draw_ops/> + </button> + <button function="menu" state="normal"> + <draw_ops/> + </button> + <button function="menu" state="pressed"> + <draw_ops/> + </button> + </frame_style> + <!-- system menu icon : default drawn by metacity --> + <menu_icon function="close" state="normal"> + <draw_ops/> + </menu_icon> + <menu_icon function="maximize" state="normal"> + <draw_ops/> + </menu_icon> + <menu_icon function="minimize" state="normal"> + <draw_ops/> + </menu_icon> + <menu_icon function="unmaximize" state="normal"> + <draw_ops/> + </menu_icon> + <frame_style_set name="normal_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused_style"/> + <frame focus="no" state="normal" resize="both" style="normal_unfocused_style"/> + <frame focus="yes" state="normal" resize="none" style="normal_focused_style"/> + <frame focus="no" state="normal" resize="none" style="normal_unfocused_style"/> + <frame focus="yes" state="maximized" style="normal(maximized)_focused_style"/> + <frame focus="no" state="maximized" style="normal(maximized)_unfocused_style"/> + <frame focus="yes" state="shaded" style="normal_focused_style"/> + <frame focus="no" state="shaded" style="normal_unfocused_style"/> + <frame focus="yes" state="maximized_and_shaded" style="normal(maximized)_focused_style"/> + <frame focus="no" state="maximized_and_shaded" style="normal_unfocused_style"/> + </frame_style_set> + <frame_style_set name="border_set"> + <frame focus="yes" state="normal" resize="both" style="border_style"/> + <frame focus="no" state="normal" resize="both" style="border_style"/> + <frame focus="yes" state="normal" resize="none" style="border_style"/> + <frame focus="no" state="normal" resize="none" style="border_style"/> + <frame focus="yes" state="maximized" style="border_style"/> + <frame focus="no" state="maximized" style="border_style"/> + <frame focus="yes" state="shaded" style="border_style"/> + <frame focus="no" state="shaded" style="border_style"/> + <frame focus="yes" state="maximized_and_shaded" style="border_style"/> + <frame focus="no" state="maximized_and_shaded" style="border_style"/> + </frame_style_set> + <frame_style_set name="utility_set" parent="border_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused_style"/> + <frame focus="no" state="normal" resize="both" style="utility_unfocused_style"/> + <frame focus="yes" state="normal" resize="none" style="utility_focused_style"/> + <frame focus="no" state="normal" resize="none" style="utility_unfocused_style"/> + </frame_style_set> + <window type="normal" style_set="normal_set"/> + <window type="dialog" style_set="normal_set"/> + <window type="modal_dialog" style_set="normal_set"/> + <window type="menu" style_set="utility_set"/> + <window type="utility" style_set="utility_set"/> + <window type="border" style_set="border_set"/> +</metacity_theme> diff --git a/src/themes/Raleigh/minimize_normal.png b/src/themes/Raleigh/minimize_normal.png Binary files differnew file mode 100644 index 00000000..873a82d7 --- /dev/null +++ b/src/themes/Raleigh/minimize_normal.png diff --git a/src/themes/Raleigh/minimize_pressed.png b/src/themes/Raleigh/minimize_pressed.png Binary files differnew file mode 100644 index 00000000..fabcfbd4 --- /dev/null +++ b/src/themes/Raleigh/minimize_pressed.png diff --git a/src/themes/Raleigh/restore_normal.png b/src/themes/Raleigh/restore_normal.png Binary files differnew file mode 100644 index 00000000..029643c2 --- /dev/null +++ b/src/themes/Raleigh/restore_normal.png diff --git a/src/themes/Raleigh/restore_pressed.png b/src/themes/Raleigh/restore_pressed.png Binary files differnew file mode 100644 index 00000000..872eb05e --- /dev/null +++ b/src/themes/Raleigh/restore_pressed.png diff --git a/src/themes/meson.build b/src/themes/meson.build index f9a4470d..6236cbea 100644 --- a/src/themes/meson.build +++ b/src/themes/meson.build @@ -1,10 +1,15 @@ +subdir('Atlanta') subdir('ClearlooksRe') -subdir('eOS') -subdir('DustBlue') -subdir('WinMe') -subdir('Splint-Left') subdir('Dopple') -subdir('Spidey-Left') -subdir('Splint') subdir('Dopple-Left') +subdir('DustBlue') +subdir('Esco') +subdir('eOS') +subdir('Gorilla') +subdir('Motif') +subdir('Raleigh') subdir('Spidey') +subdir('Spidey-Left') +subdir('Splint') +subdir('Splint-Left') +subdir('WinMe') |