From 4a2a5dc092814bfee30758eafc394f3b807da87a Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 24 Sep 2019 00:25:41 +0200 Subject: eOS theme: Add single button backgrounds --- src/themes/eOS/meson.build | 1 + src/themes/eOS/metacity-theme-3.xml | 599 +++++++++++++++++++++++++++++ src/themes/eOS/trough_single.png | Bin 0 -> 372 bytes src/themes/eOS/trough_single.xcf | Bin 0 -> 1869 bytes src/themes/eOS/trough_single_unfocused.png | Bin 0 -> 361 bytes src/themes/eOS/trough_single_unfocused.xcf | Bin 0 -> 1899 bytes 6 files changed, 600 insertions(+) create mode 100644 src/themes/eOS/metacity-theme-3.xml create mode 100644 src/themes/eOS/trough_single.png create mode 100644 src/themes/eOS/trough_single.xcf create mode 100644 src/themes/eOS/trough_single_unfocused.png create mode 100644 src/themes/eOS/trough_single_unfocused.xcf diff --git a/src/themes/eOS/meson.build b/src/themes/eOS/meson.build index 309cae15..44773402 100644 --- a/src/themes/eOS/meson.build +++ b/src/themes/eOS/meson.build @@ -8,6 +8,7 @@ install_data( 'menu.png', 'menu_prelight.png', 'metacity-theme-1.xml', + 'metacity-theme-3.xml', 'minimize.png', 'minimize_unfocused_over.png', 'minimize_unfocused.png', diff --git a/src/themes/eOS/metacity-theme-3.xml b/src/themes/eOS/metacity-theme-3.xml new file mode 100644 index 00000000..e662b07b --- /dev/null +++ b/src/themes/eOS/metacity-theme-3.xml @@ -0,0 +1,599 @@ + + + + + eOS based on radiance + original authors: Kenneth Wimer, James Schriver, edited by Uhave2pay4 + Canonical Ltd. + Mar 19, 2010 + Metacity theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <title color="#f7f9fa" + x="((3 `max` (width-title_width)) / 2)" + y="(((height - title_height) / 2) `max` 0)-1"/> + <title color="#f7f9fa" + x="((3 `max` (width-title_width)) / 2)-1" + y="(((height - title_height) / 2) `max` 0)"/> + <title color="#f7f9fa" + x="((3 `max` (width-title_width)) / 2)+1" + y="(((height - title_height) / 2) `max` 0)"/> + <title color="#3c3c3c" + x="((3 `max` (width-title_width)) / 2)" + y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="draw_title_text_inactive"> + <title color="#e8e5dd" + x="((3 `max` (width-title_width)) / 2)" + y="(((height - title_height) / 2) `max` 0)+1"/> + <title color="#e8e5dd" + x="((3 `max` (width-title_width)) / 2)" + y="(((height - title_height) / 2) `max` 0)-1"/> + <title color="#e8e5dd" + x="((3 `max` (width-title_width)) / 2)-1" + y="(((height - title_height) / 2) `max` 0)"/> + <title color="#e8e5dd" + x="((3 `max` (width-title_width)) / 2)+1" + y="(((height - title_height) / 2) `max` 0)"/> + <title color="#666" + x="((3 `max` (width-title_width)) / 2)" + y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="draw_title"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <color value="#f4f4f4" /> + <color value="#d6d6d6" /> + <color value="#d6d6d6" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Darkening of the left arch --> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="4" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="2" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="4" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="0" y1="5" y2="40"/> + + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-5" x2="width" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-3" x2="width" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="4" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-1" x2="width" y1="5" y2="90"/> + + <!-- Top highlight --> + <!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) --> + <tint color="#ffffff" alpha="0.55" x="5" y="1" width="width - 10" height="1"/> + <tint color="#ffffff" alpha="0.15" x="5" y="2" width="width - 10" height="1"/> + +</draw_ops> + +<draw_ops name="draw_title_inactive"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <color value="#f4f4f4" /> + <color value="#d6d6d6" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Darkening of the left arch --> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="4" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="2" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="4" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="0" y1="5" y2="40"/> + + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-5" x2="width" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-3" x2="width" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="4" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-1" x2="width" y1="5" y2="90"/> + + <!-- Top highlight --> + <tint color="#ffffff" alpha="0.55" x="5" y="1" width="width - 10" height="1"/> + <tint color="#ffffff" alpha="0.15" x="5" y="2" width="width - 10" height="1"/> +</draw_ops> + + +<draw_ops name="draw_title_maximized"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <color value="#f4f4f4" /> + <color value="#d6d6d6" /> + <color value="#d6d6d6" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Top highlight --> + <tint color="#ffffff" alpha="0.55" x="0" y="1" width="width" height="1"/> + <tint color="#ffffff" alpha="0.15" x="0" y="2" width="width" height="1"/> +</draw_ops> + +<draw_ops name="draw_title_maximized_inactive"> + <include name="draw_title_maximized" /> + + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <color value="#f4f4f4" /> + <color value="#d6d6d6" /> + </gradient> +</draw_ops> + +<!-- Window Frames --> + +<draw_ops name="draw_frame"> + <rectangle color="shade/gtk:bg[NORMAL]/0.74" x="0" y="0" width="width" height="height" filled="true"/> +</draw_ops> + +<!--bottom border--> +<draw_ops name="bottom_edge"> +<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="height-1" y2="height-1"/> +<!--bottom left rounding--> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="0" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="2" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="4" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="10" y1="4" y2="4"/> +<!--bottom right rounding--> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width-1" y1="0" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width-1" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-3" x2="width-2" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.74" x1="width-5" x2="width-3" y1="3" y2="3"/> +</draw_ops> + +<draw_ops name="border"> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="1" y2="height - 2"/> + + <rectangle color="shade/gtk:bg[NORMAL]/0.25" filled="false" + x="0" y="0" + width="width - 1" + height="height - 1"/> +</draw_ops> + +<!-- BUTTONS --> + +<!-- Button trough --> + <draw_ops name="left_single_background_focused_normal"> + <image filename="trough_single.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_single_background_focused_pressed"> + <image filename="trough_single.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_focused_normal"> + <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_focused_pressed"> + <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_focused_normal"> + <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_focused_pressed"> + <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_focused_normal"> + <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_focused_pressed"> + <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_single_background_unfocused_normal"> + <image filename="trough_single_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_single_background_unfocused_pressed"> + <image filename="trough_single_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_unfocused_normal"> + <image filename="trough_left_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_unfocused_pressed"> + <image filename="trough_left_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_unfocused_normal"> + <image filename="trough_middle_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_unfocused_pressed"> + <image filename="trough_middle_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_unfocused_normal"> + <image filename="trough_right_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_unfocused_pressed"> + <image filename="trough_right_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + + +<!-- Button Trough Right --> + <draw_ops name="right_single_background_focused_normal"> + <image filename="trough_single.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_single_background_focused_pressed"> + <image filename="trough_single.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_focused_normal"> + <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_focused_pressed"> + <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_focused_normal"> + <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_focused_pressed"> + <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_focused_normal"> + <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_focused_pressed"> + <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_single_background_unfocused_normal"> + <image filename="trough_single_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_single_background_unfocused_pressed"> + <image filename="trough_single_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_unfocused_normal"> + <image filename="trough_left_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_unfocused_pressed"> + <image filename="trough_left_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_unfocused_normal"> + <image filename="trough_middle_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_unfocused_pressed"> + <image filename="trough_middle_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_unfocused_normal"> + <image filename="trough_right_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_unfocused_pressed"> + <image filename="trough_right_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + +<!-- Button Overlays --> + <draw_ops name="menu_focused_normal"> + <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_focused_prelight"> + <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_unfocused_normal"> + <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_unfocused_prelight"> + <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_focused_normal"> + <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_focused_prelight"> + <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height" colorize="shade/gtk:bg[SELECTED]/.7"/> + </draw_ops> + <draw_ops name="minimize_focused_pressed"> + <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height" alpha=".2"/> + </draw_ops> + <draw_ops name="minimize_unfocused_normal"> + <image filename="minimize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_unfocused_prelight"> + <image filename="minimize_unfocused_over.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_unfocused_pressed"> + <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_focused_normal"> + <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_focused_prelight"> + <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height" colorize="shade/gtk:bg[SELECTED]/.7"/> + </draw_ops> + <draw_ops name="maximize_focused_pressed"> + <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height" alpha=".2"/> + </draw_ops> + <draw_ops name="maximize_unfocused_normal"> + <image filename="maximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_unfocused_prelight"> + <image filename="maximize_unfocused_over.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_unfocused_pressed"> + <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_focused_normal"> + <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_focused_prelight"> + <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height" colorize="shade/gtk:bg[SELECTED]/.7"/> + </draw_ops> + <draw_ops name="unmaximize_focused_pressed"> + <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height" alpha=".2"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_normal"> + <image filename="unmaximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_prelight"> + <image filename="unmaximize_unfocused_over.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_pressed"> + <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_focused_normal"> + <image filename="close.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_focused_prelight"> + <image filename="close.png" x="0" y="1" width="object_width" height="object_height" alpha=".7"/> + </draw_ops> + <draw_ops name="close_focused_pressed"> + <image filename="close.png" x="0" y="1" width="object_width" height="object_height" alpha=".9"/> + </draw_ops> + <draw_ops name="close_unfocused_normal"> + <image filename="close_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_unfocused_prelight"> + <image filename="close_unfocused_over.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_unfocused_pressed"> + <image filename="close.png" x="0" y="1" width="object_width" height="object_height"/> + </draw_ops> + +<!-- FRAME STYLE --> +<frame_style name="normal_focused" geometry="frame_geometry_normal"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title"/> + <piece position="left_edge" draw_ops="draw_frame"/> + <piece position="right_edge" draw_ops="draw_frame"/> + <piece position="bottom_edge" draw_ops="bottom_edge"/> + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="left_single_background_focused_normal"/> + <button function="left_left_background" state="normal" draw_ops="left_left_background_focused_normal"/> + <button function="left_middle_background" state="normal" draw_ops="left_middle_background_focused_normal"/> + <button function="left_right_background" state="normal" draw_ops="left_right_background_focused_normal"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="left_single_background_focused_normal"/> + <button function="left_left_background" state="prelight" draw_ops="left_left_background_focused_normal"/> + <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_focused_normal"/> + <button function="left_right_background" state="prelight" draw_ops="left_right_background_focused_normal"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="left_single_background_focused_pressed"/> + <button function="left_left_background" state="pressed" draw_ops="left_left_background_focused_pressed"/> + <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_focused_pressed"/> + <button function="left_right_background" state="pressed" draw_ops="left_right_background_focused_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="right_single_background_focused_normal"/> + <button function="right_left_background" state="normal" draw_ops="right_left_background_focused_normal"/> + <button function="right_middle_background" state="normal" draw_ops="right_middle_background_focused_normal"/> + <button function="right_right_background" state="normal" draw_ops="right_right_background_focused_normal"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="right_single_background_focused_normal"/> + <button function="right_left_background" state="prelight" draw_ops="right_left_background_focused_normal"/> + <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_focused_normal"/> + <button function="right_right_background" state="prelight" draw_ops="right_right_background_focused_normal"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="right_single_background_focused_pressed"/> + <button function="right_left_background" state="pressed" draw_ops="right_left_background_focused_pressed"/> + <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_focused_pressed"/> + <button function="right_right_background" state="pressed" draw_ops="right_right_background_focused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_focused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_focused_normal"/> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_focused_normal"/> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/> + <button function="close" state="normal" draw_ops="close_focused_normal"/> + <button function="close" state="prelight" draw_ops="close_focused_prelight"/> + <button function="close" state="pressed" draw_ops="close_focused_pressed"/> + + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="frame_geometry_normal"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_inactive"/> + <piece position="left_edge" draw_ops="draw_frame"/> + <piece position="right_edge" draw_ops="draw_frame"/> + <piece position="bottom_edge" draw_ops="bottom_edge"/> + <button version=">= 3.3" function="left_single_background" state="normal" draw_ops="left_single_background_unfocused_normal"/> + <button function="left_left_background" state="normal" draw_ops="left_left_background_unfocused_normal"/> + <button function="left_middle_background" state="normal" draw_ops="left_middle_background_unfocused_normal"/> + <button function="left_right_background" state="normal" draw_ops="left_right_background_unfocused_normal"/> + <button version=">= 3.3" function="left_single_background" state="prelight" draw_ops="left_single_background_unfocused_normal"/> + <button function="left_left_background" state="prelight" draw_ops="left_left_background_unfocused_normal"/> + <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_unfocused_normal"/> + <button function="left_right_background" state="prelight" draw_ops="left_right_background_unfocused_normal"/> + <button version=">= 3.3" function="left_single_background" state="pressed" draw_ops="left_single_background_unfocused_pressed"/> + <button function="left_left_background" state="pressed" draw_ops="left_left_background_unfocused_pressed"/> + <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_unfocused_pressed"/> + <button function="left_right_background" state="pressed" draw_ops="left_right_background_unfocused_pressed"/> + <button version=">= 3.3" function="right_single_background" state="normal" draw_ops="right_single_background_unfocused_normal"/> + <button function="right_left_background" state="normal" draw_ops="right_left_background_unfocused_normal"/> + <button function="right_middle_background" state="normal" draw_ops="right_middle_background_unfocused_normal"/> + <button function="right_right_background" state="normal" draw_ops="right_right_background_unfocused_normal"/> + <button version=">= 3.3" function="right_single_background" state="prelight" draw_ops="right_single_background_unfocused_normal"/> + <button function="right_left_background" state="prelight" draw_ops="right_left_background_unfocused_normal"/> + <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_unfocused_normal"/> + <button function="right_right_background" state="prelight" draw_ops="right_right_background_unfocused_normal"/> + <button version=">= 3.3" function="right_single_background" state="pressed" draw_ops="right_single_background_unfocused_pressed"/> + <button function="right_left_background" state="pressed" draw_ops="right_left_background_unfocused_pressed"/> + <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_unfocused_pressed"/> + <button function="right_right_background" state="pressed" draw_ops="right_right_background_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused_normal"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused_normal"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="close" state="normal" draw_ops="close_unfocused_normal"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> + + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title_maximized"/> + <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/> + <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/> + <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/> +</frame_style> + +<frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_maximized_inactive"/> + <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/> + <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/> +</frame_style> + +<frame_style name="utility_focused" parent="normal_focused"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title"/> + <button function="menu" state="normal" draw_ops="menu_focused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="close" state="normal" draw_ops="close_focused_normal"/> + <button function="close" state="prelight" draw_ops="close_focused_prelight"/> + <button function="close" state="pressed" draw_ops="close_focused_pressed"/> +</frame_style> + +<frame_style name="utility_unfocused" parent="normal_unfocused"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_inactive"/> + <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="close" state="normal" draw_ops="close_unfocused_normal"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal_focused"> + <piece position="title" draw_ops="draw_title"/> + <piece position="titlebar" draw_ops="draw_title_inactive"/> +</frame_style> + +<!-- STYLE SET --> +<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"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo --> +</frame_style_set> + +<frame_style_set name="utility"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_unfocused"/> + <frame focus="yes" state="maximized" style="maximized_focused"/> + <frame focus="no" state="maximized" style="normal_focused"/> + <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo --> +</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="maximized_focused"/> + <frame focus="no" state="maximized" style="normal_focused"/> + <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo --> +</frame_style_set> + +<!-- WINDOW --> +<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"/> + +</metacity_theme> diff --git a/src/themes/eOS/trough_single.png b/src/themes/eOS/trough_single.png new file mode 100644 index 00000000..57919fd5 Binary files /dev/null and b/src/themes/eOS/trough_single.png differ diff --git a/src/themes/eOS/trough_single.xcf b/src/themes/eOS/trough_single.xcf new file mode 100644 index 00000000..04800a43 Binary files /dev/null and b/src/themes/eOS/trough_single.xcf differ diff --git a/src/themes/eOS/trough_single_unfocused.png b/src/themes/eOS/trough_single_unfocused.png new file mode 100644 index 00000000..028d9ec4 Binary files /dev/null and b/src/themes/eOS/trough_single_unfocused.png differ diff --git a/src/themes/eOS/trough_single_unfocused.xcf b/src/themes/eOS/trough_single_unfocused.xcf new file mode 100644 index 00000000..42752862 Binary files /dev/null and b/src/themes/eOS/trough_single_unfocused.xcf differ -- cgit v1.2.1