From 28a029a4990d2a84f9d6a0b890eba812ea503998 Mon Sep 17 00:00:00 2001 From: Perberos Date: Thu, 1 Dec 2011 23:52:01 -0300 Subject: moving from https://github.com/perberos/mate-desktop-environment --- src/themes/ClearlooksRe/metacity-theme-1.xml | 1013 ++++++++++++++++++++++ src/themes/Dopple-Left/metacity-theme-1.xml | 1135 +++++++++++++++++++++++++ src/themes/Dopple/metacity-theme-1.xml | 1135 +++++++++++++++++++++++++ src/themes/DustBlue/button_close_normal.png | Bin 0 -> 3830 bytes src/themes/DustBlue/button_close_prelight.png | Bin 0 -> 1393 bytes src/themes/DustBlue/button_close_pressed.png | Bin 0 -> 4087 bytes src/themes/DustBlue/button_max_normal.png | Bin 0 -> 3185 bytes src/themes/DustBlue/button_max_prelight.png | Bin 0 -> 1326 bytes src/themes/DustBlue/button_max_pressed.png | Bin 0 -> 4029 bytes src/themes/DustBlue/button_menu_normal.png | Bin 0 -> 3450 bytes src/themes/DustBlue/button_menu_prelight.png | Bin 0 -> 4041 bytes src/themes/DustBlue/button_menu_pressed.png | Bin 0 -> 4065 bytes src/themes/DustBlue/button_min_normal.png | Bin 0 -> 3152 bytes src/themes/DustBlue/button_min_prelight.png | Bin 0 -> 1413 bytes src/themes/DustBlue/button_min_pressed.png | Bin 0 -> 4093 bytes src/themes/DustBlue/menu.png | Bin 0 -> 164 bytes src/themes/DustBlue/metacity-theme-1.xml | 409 +++++++++ src/themes/Makefile.am | 53 ++ src/themes/Spidey-Left/metacity-theme-1.xml | 1086 +++++++++++++++++++++++ src/themes/Spidey/metacity-theme-1.xml | 1086 +++++++++++++++++++++++ src/themes/Splint-Left/metacity-theme-1.xml | 802 +++++++++++++++++ src/themes/Splint/metacity-theme-1.xml | 802 +++++++++++++++++ src/themes/WinMe/close_normal.png | Bin 0 -> 256 bytes src/themes/WinMe/close_normal_small.png | Bin 0 -> 223 bytes src/themes/WinMe/close_pressed.png | Bin 0 -> 256 bytes src/themes/WinMe/close_pressed_small.png | Bin 0 -> 219 bytes src/themes/WinMe/maximize_normal.png | Bin 0 -> 220 bytes src/themes/WinMe/maximize_pressed.png | Bin 0 -> 241 bytes src/themes/WinMe/metacity-theme-1.xml | 375 ++++++++ src/themes/WinMe/minimize_normal.png | Bin 0 -> 213 bytes src/themes/WinMe/minimize_pressed.png | Bin 0 -> 216 bytes src/themes/WinMe/restore_normal.png | Bin 0 -> 235 bytes src/themes/WinMe/restore_pressed.png | Bin 0 -> 257 bytes src/themes/eOS/close.png | Bin 0 -> 1031 bytes src/themes/eOS/close_unfocused.png | Bin 0 -> 775 bytes src/themes/eOS/close_unfocused_over.png | Bin 0 -> 1031 bytes src/themes/eOS/maximize.png | Bin 0 -> 845 bytes src/themes/eOS/maximize_unfocused.png | Bin 0 -> 775 bytes src/themes/eOS/maximize_unfocused_over.png | Bin 0 -> 845 bytes src/themes/eOS/menu.png | Bin 0 -> 775 bytes src/themes/eOS/menu_prelight.png | Bin 0 -> 755 bytes src/themes/eOS/metacity-theme-1.xml | 537 ++++++++++++ src/themes/eOS/minimize.png | Bin 0 -> 800 bytes src/themes/eOS/minimize_unfocused.png | Bin 0 -> 775 bytes src/themes/eOS/minimize_unfocused_over.png | Bin 0 -> 800 bytes src/themes/eOS/trough_left.png | Bin 0 -> 322 bytes src/themes/eOS/trough_left_unfocused.png | Bin 0 -> 324 bytes src/themes/eOS/trough_middle.png | Bin 0 -> 188 bytes src/themes/eOS/trough_middle_unfocused.png | Bin 0 -> 195 bytes src/themes/eOS/trough_right.png | Bin 0 -> 330 bytes src/themes/eOS/trough_right_unfocused.png | Bin 0 -> 335 bytes src/themes/eOS/unmaximize.png | Bin 0 -> 845 bytes src/themes/eOS/unmaximize_unfocused.png | Bin 0 -> 775 bytes src/themes/eOS/unmaximize_unfocused_over.png | Bin 0 -> 845 bytes 54 files changed, 8433 insertions(+) create mode 100644 src/themes/ClearlooksRe/metacity-theme-1.xml create mode 100644 src/themes/Dopple-Left/metacity-theme-1.xml create mode 100644 src/themes/Dopple/metacity-theme-1.xml create mode 100644 src/themes/DustBlue/button_close_normal.png create mode 100644 src/themes/DustBlue/button_close_prelight.png create mode 100644 src/themes/DustBlue/button_close_pressed.png create mode 100644 src/themes/DustBlue/button_max_normal.png create mode 100644 src/themes/DustBlue/button_max_prelight.png create mode 100644 src/themes/DustBlue/button_max_pressed.png create mode 100644 src/themes/DustBlue/button_menu_normal.png create mode 100644 src/themes/DustBlue/button_menu_prelight.png create mode 100644 src/themes/DustBlue/button_menu_pressed.png create mode 100644 src/themes/DustBlue/button_min_normal.png create mode 100644 src/themes/DustBlue/button_min_prelight.png create mode 100644 src/themes/DustBlue/button_min_pressed.png create mode 100644 src/themes/DustBlue/menu.png create mode 100644 src/themes/DustBlue/metacity-theme-1.xml create mode 100644 src/themes/Makefile.am create mode 100644 src/themes/Spidey-Left/metacity-theme-1.xml create mode 100644 src/themes/Spidey/metacity-theme-1.xml create mode 100644 src/themes/Splint-Left/metacity-theme-1.xml create mode 100644 src/themes/Splint/metacity-theme-1.xml create mode 100644 src/themes/WinMe/close_normal.png create mode 100644 src/themes/WinMe/close_normal_small.png create mode 100644 src/themes/WinMe/close_pressed.png create mode 100644 src/themes/WinMe/close_pressed_small.png create mode 100644 src/themes/WinMe/maximize_normal.png create mode 100644 src/themes/WinMe/maximize_pressed.png create mode 100644 src/themes/WinMe/metacity-theme-1.xml create mode 100644 src/themes/WinMe/minimize_normal.png create mode 100644 src/themes/WinMe/minimize_pressed.png create mode 100644 src/themes/WinMe/restore_normal.png create mode 100644 src/themes/WinMe/restore_pressed.png create mode 100644 src/themes/eOS/close.png create mode 100644 src/themes/eOS/close_unfocused.png create mode 100644 src/themes/eOS/close_unfocused_over.png create mode 100644 src/themes/eOS/maximize.png create mode 100644 src/themes/eOS/maximize_unfocused.png create mode 100644 src/themes/eOS/maximize_unfocused_over.png create mode 100644 src/themes/eOS/menu.png create mode 100644 src/themes/eOS/menu_prelight.png create mode 100644 src/themes/eOS/metacity-theme-1.xml create mode 100644 src/themes/eOS/minimize.png create mode 100644 src/themes/eOS/minimize_unfocused.png create mode 100644 src/themes/eOS/minimize_unfocused_over.png create mode 100644 src/themes/eOS/trough_left.png create mode 100644 src/themes/eOS/trough_left_unfocused.png create mode 100644 src/themes/eOS/trough_middle.png create mode 100644 src/themes/eOS/trough_middle_unfocused.png create mode 100644 src/themes/eOS/trough_right.png create mode 100644 src/themes/eOS/trough_right_unfocused.png create mode 100644 src/themes/eOS/unmaximize.png create mode 100644 src/themes/eOS/unmaximize_unfocused.png create mode 100644 src/themes/eOS/unmaximize_unfocused_over.png (limited to 'src/themes') diff --git a/src/themes/ClearlooksRe/metacity-theme-1.xml b/src/themes/ClearlooksRe/metacity-theme-1.xml new file mode 100644 index 00000000..fbc5a174 --- /dev/null +++ b/src/themes/ClearlooksRe/metacity-theme-1.xml @@ -0,0 +1,1013 @@ + + + + + ClearlooksRe + Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com>, Germán Augusto Perugorria <perberos@gmail.com> + Â 2005-2007 Daniel Borgmann, Andrea Cimitan. 2010 Perberos + December, 2010 + The Clearlooks "Gummy" Metacity Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/> + <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="title_text_unfocused"> + <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>--> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" x="4 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> +</draw_ops> + +<draw_ops name="title"> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_unfocused"> + <include name="title_text_unfocused"/> +</draw_ops> + +<!-- ::: BUTTONS ::: --> +<draw_ops name="button_bg"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.96"/> + <color value="shade/gtk:bg[SELECTED]/1.05"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[SELECTED]/0.99" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.99" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[SELECTED]/0.91" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.90" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.03" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.90" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/1.02"/> + </gradient> + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + <color value="shade/gtk:bg[SELECTED]/0.92"/> + </gradient> + + <!-- bottom border smooth effect --> + <line color="shade/gtk:bg[SELECTED]/0.84" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.92" x1="4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.92"/> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.93" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.92" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.92" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.91" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[NORMAL]/0.87" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.86" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.93" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.935" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> + <color value="shade/gtk:bg[NORMAL]/1.15"/> + <color value="shade/gtk:bg[NORMAL]/1.07"/> + </gradient> + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.97"/> + </gradient> + + <!-- bottom border smooth effect --> + <line color="shade/gtk:bg[NORMAL]/0.89" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.97" x1="4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + <include name="button_bg"/> + <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.95"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_prelight"> + <include name="button_bg_unfocused"/> + <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.9"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/> +</draw_ops> + +<!-- ::: ICONS ::: --> +<!-- + using a minimum icon size until there is a proper way to specify relative sizes + unfortunately it's logically impossible to always center the icons on non-square + buttons (utility windows) without distortion. + + icon_size = (Bmin`max`height-Bpad*2) + hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2) + vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2) +--> + +<!-- menu icon --> +<draw_ops name="menu_button_icon"> + <!--<icon x="0" y="0" width="width" height="height"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_icon_unfocused"> + <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_normal"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_pressed"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_unfocused"> + <include name="menu_button_icon_unfocused"/> +</draw_ops> + +<!-- close icon --> +<draw_ops name="close_button_icon"> + <!-- outside border --> + + <!-- main cross --> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <!-- top-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1" + width="1" height="2"/> + <!-- top-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="1" height="2"/> + <!-- bottom-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + <!-- bottom-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + + <!-- icon --> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_icon_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_normal"> + <include name="button_bg"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_prelight"> + <include name="button_bg_prelight"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_pressed"> + <include name="button_bg_pressed"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/> + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_normal"> + <include name="button_bg"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> + +<!-- restore icon --> +<draw_ops name="restore_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+2-1" y="((height-(Bmin`max`height-Bpad*2))/2)+3-1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> + + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> + + + <!-- second window (perberos was here!) --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) +1" + y="((height-(Bmin`max`height-Bpad*2))/2) +1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" + height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+2+1" + y="((height-(Bmin`max`height-Bpad*2))/2)+3+1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" + height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1+1" + y="((height-(Bmin`max`height-Bpad*2))/2) + 1+1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" + height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2+1" + y1="((height-(Bmin`max`height-Bpad*2))/2) + 2+1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2+1" + y2="((height-(Bmin`max`height-Bpad*2))/2) + 2+1"/> + <!-- / second window at the icon button (perberos was here!) --> +</draw_ops> + +<draw_ops name="restore_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1+1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1+1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2+1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2+1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2+1" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2+1"/> + + <!-- second window at the icon button (perberos was here!) --> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1" + y1="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1" + x2="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1 + + width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" + y2="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1"/> + + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1 + + width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" + y1="((height-(Bmin`max`height-Bpad*2))/2) +1- 1" + x2="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1 + + width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" + y2="((height-(Bmin`max`height-Bpad*2))/2) +1- 1 + + (height-((height-(Bmin`max`height-Bpad*2))/2)*2-3) / 2"/> + + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1- 1" + y1="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1" + x2="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1" + y2="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1 + + height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1" + y1="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1 + + height-((height-(Bmin`max`height-Bpad*2))/2)*2-3" + x2="((width-(Bmin`max`height-Bpad*2))/2) + 1 - 1 + + (width-((width-(Bmin`max`height-Bpad*2))/2)*2-3) / 2" + y2="((height-(Bmin`max`height-Bpad*2))/2) +1 - 1 + + height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <!-- / second window at the icon button (perberos was here!) --> +</draw_ops> + +<draw_ops name="restore_button_normal"> + <include name="button_bg"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_pressed"> + <include name="button_bg_pressed"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/> + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_normal"> + <include name="button_bg"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="normal_shaded" geometry="shaded" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> +</frame_style> + +<frame_style name="focused" geometry="normal" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> +</frame_style> + +<frame_style name="focused_shaded" geometry="shaded" parent="focused"> + <piece position="entire_background" draw_ops="round_bevel_shaded"/> +</frame_style> + +<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> + <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> + <piece position="entire_background" draw_ops="bevel_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_normal"/> + <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="border" geometry="border" parent="normal"> + <piece position="entire_background" draw_ops="border"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style name="utility_normal" geometry="utility" parent="normal"> + <piece position="entire_background" draw_ops="bevel_unfocused"/> +</frame_style> +<frame_style name="utility_focused" geometry="utility" parent="focused"> + <piece position="entire_background" draw_ops="bevel"/> +</frame_style> +<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> + <piece position="entire_background" draw_ops="bevel_shaded"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="focused"/> + <frame focus="no" state="normal" resize="both" style="normal"/> + <frame focus="yes" state="maximized" style="focused_maximized"/> + <frame focus="no" state="maximized" style="normal_maximized"/> + <frame focus="yes" state="shaded" style="focused_shaded"/> + <frame focus="no" state="shaded" style="normal_shaded"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> + <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</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_normal"/> + <!-- this is a bunch of crack since utility windows shouldn't be maximized --> + <frame focus="yes" state="maximized" style="focused"/> + <frame focus="no" state="maximized" style="normal"/> + <frame focus="yes" state="shaded" style="utility_focused_shaded"/> + <frame focus="no" state="shaded" style="utility_normal"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> + <frame focus="no" state="maximized_and_shaded" style="normal"/> +</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_icon_unfocused"/> +<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> +<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> + +</metacity_theme> diff --git a/src/themes/Dopple-Left/metacity-theme-1.xml b/src/themes/Dopple-Left/metacity-theme-1.xml new file mode 100644 index 00000000..ec933ca9 --- /dev/null +++ b/src/themes/Dopple-Left/metacity-theme-1.xml @@ -0,0 +1,1135 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Dopple</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A Clearlooks-styled theme with Tango basics.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <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"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg_unfocused"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.90" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.15" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.00" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<!-- Buttons --> +<draw_ops name="button_bg"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="2" + x2="0" y2="height-3" /> --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/0.8" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Right line --> +<!-- <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> --> + + <gradient type="vertical" x="width-1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/0.8" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.22" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.07" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.22" /> + <color value="shade/gtk:bg[SELECTED]/1.07" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.22" /> + <color value="shade/gtk:bg[SELECTED]/1.07" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/1.15" /> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[SELECTED]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.00" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="white" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow"> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow_dark"> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="white" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="white" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="white" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> + + +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="white" x="2" y="height * 2 / 3" width="width-4" height="height - height * 2 / 3 - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="3" y="5" width="width-6" height="height-6" /> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="3" y="5" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow" x="2" y="4" width="width-4" height="height-4" /> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> +<!-- + <rectangle color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x="1" y="1" width="width-3" height="height-3"/> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-2" y1="1" x2="width-2" y2="height-2"/> +--> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="1" y="1" width="width-3" height="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="3" y1="height-1" + x2="width-4" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> +<!-- + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="2" y1="3" x2="2" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="3" y1="2" x2="4" y2="2" /> + + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-5" y1="2" x2="width-4" y2="2" /> +--> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + <!-- <gradient type="vertical" x="1" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-2" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="height-1" x2="1" y2="height-1" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="height-1" x2="width-2" y2="height-1" /> +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> + +<!-- <gradient type="vertical" x="0" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-1" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="1" y1="height-2" x2="width-3" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/0.945" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[SELECTED]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[SELECTED]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[SELECTED]/0.7" /> +</draw_ops> + +<draw_ops name="unfocus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[NORMAL]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[NORMAL]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[NORMAL]/0.7" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="unfocus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="0" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.4" + x="(0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/Dopple/metacity-theme-1.xml b/src/themes/Dopple/metacity-theme-1.xml new file mode 100644 index 00000000..ef3299ae --- /dev/null +++ b/src/themes/Dopple/metacity-theme-1.xml @@ -0,0 +1,1135 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Dopple</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A Clearlooks-styled theme with Tango basics.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <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"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg_unfocused"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.90" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.15" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.00" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<!-- Buttons --> +<draw_ops name="button_bg"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="2" + x2="0" y2="height-3" /> --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/0.8" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Right line --> +<!-- <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> --> + + <gradient type="vertical" x="width-1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/0.8" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.22" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.07" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.22" /> + <color value="shade/gtk:bg[SELECTED]/1.07" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.22" /> + <color value="shade/gtk:bg[SELECTED]/1.07" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/1.15" /> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + <color value="shade/gtk:bg[SELECTED]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[SELECTED]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[SELECTED]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.25" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[SELECTED]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[SELECTED]/1.00" /> + <color value="shade/gtk:bg[SELECTED]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="white" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow"> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow_dark"> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="white" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="white" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="white" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> + + +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="white" x="2" y="height * 2 / 3" width="width-4" height="height - height * 2 / 3 - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="3" y="5" width="width-6" height="height-6" /> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="3" y="5" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow" x="2" y="4" width="width-4" height="height-4" /> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> +<!-- + <rectangle color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x="1" y="1" width="width-3" height="height-3"/> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-2" y1="1" x2="width-2" y2="height-2"/> +--> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="1" y="1" width="width-3" height="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="3" y1="height-1" + x2="width-4" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> +<!-- + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="2" y1="3" x2="2" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="3" y1="2" x2="4" y2="2" /> + + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-5" y1="2" x2="width-4" y2="2" /> +--> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + <!-- <gradient type="vertical" x="1" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-2" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="height-1" x2="1" y2="height-1" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="height-1" x2="width-2" y2="height-1" /> +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> + +<!-- <gradient type="vertical" x="0" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-1" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="1" y1="height-2" x2="width-3" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/0.945" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[SELECTED]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[SELECTED]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[SELECTED]/0.7" /> +</draw_ops> + +<draw_ops name="unfocus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[NORMAL]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[NORMAL]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[NORMAL]/0.7" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="unfocus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="(((width - title_width) / 2) `max` 0)" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.4" + x="(((width - title_width) / 2) `max` 0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/DustBlue/button_close_normal.png b/src/themes/DustBlue/button_close_normal.png new file mode 100644 index 00000000..3dbfb0e2 Binary files /dev/null and b/src/themes/DustBlue/button_close_normal.png differ diff --git a/src/themes/DustBlue/button_close_prelight.png b/src/themes/DustBlue/button_close_prelight.png new file mode 100644 index 00000000..704de834 Binary files /dev/null and b/src/themes/DustBlue/button_close_prelight.png differ diff --git a/src/themes/DustBlue/button_close_pressed.png b/src/themes/DustBlue/button_close_pressed.png new file mode 100644 index 00000000..4f2263fb Binary files /dev/null and b/src/themes/DustBlue/button_close_pressed.png differ diff --git a/src/themes/DustBlue/button_max_normal.png b/src/themes/DustBlue/button_max_normal.png new file mode 100644 index 00000000..8bf2f347 Binary files /dev/null and b/src/themes/DustBlue/button_max_normal.png differ diff --git a/src/themes/DustBlue/button_max_prelight.png b/src/themes/DustBlue/button_max_prelight.png new file mode 100644 index 00000000..c549bb79 Binary files /dev/null and b/src/themes/DustBlue/button_max_prelight.png differ diff --git a/src/themes/DustBlue/button_max_pressed.png b/src/themes/DustBlue/button_max_pressed.png new file mode 100644 index 00000000..4fe6439c Binary files /dev/null and b/src/themes/DustBlue/button_max_pressed.png differ diff --git a/src/themes/DustBlue/button_menu_normal.png b/src/themes/DustBlue/button_menu_normal.png new file mode 100644 index 00000000..28600199 Binary files /dev/null and b/src/themes/DustBlue/button_menu_normal.png differ diff --git a/src/themes/DustBlue/button_menu_prelight.png b/src/themes/DustBlue/button_menu_prelight.png new file mode 100644 index 00000000..d16d92dc Binary files /dev/null and b/src/themes/DustBlue/button_menu_prelight.png differ diff --git a/src/themes/DustBlue/button_menu_pressed.png b/src/themes/DustBlue/button_menu_pressed.png new file mode 100644 index 00000000..e7dfc357 Binary files /dev/null and b/src/themes/DustBlue/button_menu_pressed.png differ diff --git a/src/themes/DustBlue/button_min_normal.png b/src/themes/DustBlue/button_min_normal.png new file mode 100644 index 00000000..114ed3a5 Binary files /dev/null and b/src/themes/DustBlue/button_min_normal.png differ diff --git a/src/themes/DustBlue/button_min_prelight.png b/src/themes/DustBlue/button_min_prelight.png new file mode 100644 index 00000000..be44d1a8 Binary files /dev/null and b/src/themes/DustBlue/button_min_prelight.png differ diff --git a/src/themes/DustBlue/button_min_pressed.png b/src/themes/DustBlue/button_min_pressed.png new file mode 100644 index 00000000..045ab77c Binary files /dev/null and b/src/themes/DustBlue/button_min_pressed.png differ diff --git a/src/themes/DustBlue/menu.png b/src/themes/DustBlue/menu.png new file mode 100644 index 00000000..4610e233 Binary files /dev/null and b/src/themes/DustBlue/menu.png differ diff --git a/src/themes/DustBlue/metacity-theme-1.xml b/src/themes/DustBlue/metacity-theme-1.xml new file mode 100644 index 00000000..69ad46f4 --- /dev/null +++ b/src/themes/DustBlue/metacity-theme-1.xml @@ -0,0 +1,409 @@ +<?xml version="1.0"?> + +<metacity_theme> +<info> + <name>Dust-Blue</name> + <author>Kido Mariano, Rico Sta. Cruz and Modded by DarkAenima</author> + <copyright>GPL</copyright> + <date>Jul 28, 2008</date> + <description>Metacity theme</description> + <!-- Based on the Elegant Brit theme (though now really far away from it :P) --> +</info> + + +<!-- + General window layout (geometric stuff) +--> +<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true"> + <distance name="left_width" value="1"/> + <distance name="right_width" value="1"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="2"/> + <distance name="right_titlebar_edge" value="1"/> + <distance name="button_width" value="28"/> + <distance name="button_height" value="20"/> + <distance name="title_vertical_pad" value="1"/> + <border name="title_border" left="2" right="2" top="3" bottom="0"/> + <border name="button_border" left="0" right="0" top="2" bottom="1"/> +</frame_geometry> + +<frame_geometry name="frame_geometry_abnormal" title_scale="medium" rounded_top_left="false" rounded_top_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="button_width" value="28"/> + <distance name="button_height" value="20"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="0" right="0" top="3" bottom="0"/> + <border name="button_border" left="0" right="0" top="2" bottom="1"/> +</frame_geometry> + + + +<!-- + Window Title +--> + +<draw_ops name="draw_title_text_normal"> + <title x="1" y="(height - title_height) / 2 + 1" color="#2F2E2B"/> + <title x="0" y="(height - title_height) / 2" color="#FFFFFF"/> +</draw_ops> + +<draw_ops name="draw_title_text_inactive"> + <title x="0" y="(height - title_height) / 2" color="#727262"/> +</draw_ops> + +<!-- + Construct titlebar from rectangles instead so we can pick up the GTK theme +--> + +<draw_ops name="draw_title"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <!--<color value="#80594D"/>--> + <color value="shade/gtk:bg[SELECTED]/0.6"/> + <color value="shade/gtk:bg[NORMAL]/0.29" /> + <color value="shade/gtk:bg[NORMAL]/0.27" /> + <color value="shade/gtk:bg[NORMAL]/0.25" /> + <color value="shade/gtk:bg[NORMAL]/0.24" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Darkening of the left arch --> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="4" y1="1" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="2" y1="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="1" y1="3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="1" y1="4" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="0" y1="5" y2="20"/> + + <!-- Top highlight --> + <!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) --> + <tint color="#ffffff" alpha="0.35" x="5" y="1" width="width - 10" height="1"/> + + <!-- Upper-left highlight --> + <!-- Draw each pixel one by one. Again, using <tint> for alpha support. --> + <tint color="#ffffff" alpha="0.30" x="3" y="2" width="2" height="1"/> + <tint color="#ffffff" alpha="0.27" x="2" y="3" width="1" height="1"/> + <tint color="#ffffff" alpha="0.24" x="2" y="4" width="1" height="1"/> + <tint color="#ffffff" alpha="0.21" x="1" y="5" width="1" height="1"/> + <tint color="#ffffff" alpha="0.18" x="1" y="6" width="1" height="1"/> + <tint color="#ffffff" alpha="0.15" x="1" y="7" width="1" height="1"/> + <tint color="#ffffff" alpha="0.12" x="1" y="8" width="1" height="1"/> + <tint color="#ffffff" alpha="0.09" x="1" y="9" width="1" height="1"/> + <tint color="#ffffff" alpha="0.06" x="1" y="10" width="1" height="1"/> + <tint color="#ffffff" alpha="0.03" x="1" y="11" width="1" height="1"/> + + <!-- Upper-right highlight --> + <!-- Same as above. --> + <tint color="#ffffff" alpha="0.30" x="width-5" y="2" width="2" height="1"/> + <tint color="#ffffff" alpha="0.27" x="width-3" y="3" width="1" height="1"/> + <tint color="#ffffff" alpha="0.24" x="width-3" y="4" width="1" height="1"/> + <tint color="#ffffff" alpha="0.21" x="width-2" y="5" width="1" height="1"/> + <tint color="#ffffff" alpha="0.18" x="width-2" y="6" width="1" height="1"/> + <tint color="#ffffff" alpha="0.15" x="width-2" y="7" width="1" height="1"/> + <tint color="#ffffff" alpha="0.12" x="width-2" y="8" width="1" height="1"/> + <tint color="#ffffff" alpha="0.09" x="width-2" y="9" width="1" height="1"/> + <tint color="#ffffff" alpha="0.06" x="width-2" y="10" width="1" height="1"/> + <tint color="#ffffff" alpha="0.03" x="width-2" y="11" width="1" 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="shade/gtk:bg[NORMAL]/0.27" /> + <color value="shade/gtk:bg[NORMAL]/0.24" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.25" x1="1" x2="width-2" y1="0" y2="0"/> + <!-- Top highlight --> + <tint color="#ffffff" alpha="0.2" x="5" y="1" width="width - 10" height="1"/> + + <!-- Lower-left highlight --> + <line color="shade/gtk:bg[NORMAL]/0.33" x1="3" x2 ="4" y1="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.32" x1="2" x2 ="2" y1="3" y2="4" /> + + <!-- Lower-left higlight fade --> + <gradient type="vertical" x="1" y="5" width="1" height="title_height - 4"> + <color value="shade/gtk:bg[NORMAL]/0.30"/> + <color value="shade/gtk:bg[NORMAL]/0.25"/> + </gradient> + + <!-- Upper right highlight --> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="width-5" x2 ="width-4" y1="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="width-3" x2 ="width-3" y1="3" y2="4" /> + + <!-- Lower-left higlight fade --> + <gradient type="vertical" x="width-2" y="5" width="1" height="title_height - 4"> + <color value="shade/gtk:bg[NORMAL]/0.30"/> + <color value="shade/gtk:bg[NORMAL]/0.25"/> + </gradient> +</draw_ops> + +<draw_ops name="draw_title_maximized"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <!--<color value="#80594D"/>--> + <color value="shade/gtk:bg[SELECTED]/0.6"/> + <color value="shade/gtk:bg[NORMAL]/0.29" /> + <color value="shade/gtk:bg[NORMAL]/0.27" /> + <color value="shade/gtk:bg[NORMAL]/0.25" /> + <color value="shade/gtk:bg[NORMAL]/0.24" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Top highlight --> + <!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) --> + <tint color="#ffffff" alpha="0.35" x="1" y="1" width="width - 2" height="1"/> + +</draw_ops> + +<draw_ops name="draw_title_maximized_inactive"> + <!-- Background gradient --> + <gradient type="vertical" x="0" y="0" width="width+9" height="height"> + <!--<color value="#80594D"/>--> + <color value="shade/gtk:bg[NORMAL]/0.27" /> + <color value="shade/gtk:bg[NORMAL]/0.24" /> + </gradient> + + <!-- Topmost dark line --> + <line color="shade/gtk:bg[NORMAL]/0.30" x1="0" x2="width" y1="0" y2="0"/> + + <!-- Top highlight --> + <!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) --> + <tint color="#ffffff" alpha="0.35" x="1" y="1" width="width - 2" height="1"/> + +</draw_ops> + +<!-- + The frame around windows +--> + +<draw_ops name="draw_frame"> + <rectangle color="shade/gtk:bg[NORMAL]/0.25" x="0" y="0" width="width" height="height" filled="true"/> + <!-- RSC: Subtle gradient on left/right edges to match the menubar --> + <gradient type="vertical" x="0" y="0" width="width" height="100"> + <color value="shade/gtk:bg[NORMAL]/0.25"/> + <color value="shade/gtk:bg[NORMAL]/0.15"/> + <color value="shade/gtk:bg[NORMAL]/0.25"/> + </gradient> +</draw_ops> + +<!--Borderless only: make bottom border less apparent. We can do this now since our statusbars are light.--> +<draw_ops name="bottom_edge"> + <rectangle color="shade/gtk:bg[NORMAL]/0.25" x="0" y="0" width="width" height="height" filled="true"/> + <gradient type="vertical" x="1" y="height-6" width="width-2" height="5"> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + <color value="shade/gtk:bg[NORMAL]/0.5"/> + </gradient> +</draw_ops> + + +<!-- + Buttons +--> +<!-- close button--> +<draw_ops name="button_close_normal"> + <image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_close_prelight"> + <image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_close_inactive_prelight"> + <image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> +<draw_ops name="button_close_pressed"> + <image filename="button_close_pressed.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_close_inactive"> + <image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> + +<!-- maximize button--> +<draw_ops name="button_max_normal"> + <image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_max_prelight"> + <image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_max_inactive_prelight"> + <image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> +<draw_ops name="button_max_pressed"> + <image filename="button_max_pressed.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_max_inactive"> + <image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> + +<!-- minimize button--> +<draw_ops name="button_min_normal"> + <image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_min_prelight"> + <image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_min_inactive_prelight"> + <image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> +<draw_ops name="button_min_pressed"> + <image filename="button_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_min_inactive"> + <image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> + +<!-- menu button --> +<!-- +<draw_ops name="button_menu_normal"> +<image filename="button_menu_normal.png" x="0" y="2" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_menu_prelight"> +<image filename="button_menu_prelight.png" x="0" y="2" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_menu_inactive_prelight"> +<image filename="button_menu_prelight.png" x="0" y="2" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops> +<draw_ops name="button_menu_pressed"> +<image filename="button_menu_pressed.png" x="0" y="2" width="object_width" height="object_height"/> +</draw_ops> +<draw_ops name="button_menu_inactive"> +<image filename="button_menu_normal.png" x="0" y="2" width="object_width" height="object_height" alpha="0.3"/> +</draw_ops>--> + +<!-- menu icon --> +<draw_ops name="button_menu_normal"> +<icon x="6" y="2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> +<draw_ops name="button_menu_prelight"> +<icon x="6" y="2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> +<draw_ops name="button_menu_inactive_prelight"> +<icon x="6" y="2" width="mini_icon_width" height="mini_icon_height" alpha="0.3"/> +</draw_ops> +<draw_ops name="button_menu_pressed"> +<icon x="6" y="2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> +<draw_ops name="button_menu_inactive"> +<icon x="6" y="2" width="mini_icon_width" height="mini_icon_height" alpha="0.3"/> +</draw_ops> + + + +<!-- + Frame styles +--> + +<!-- normal --> +<frame_style name="frame_style_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 function="close" state="normal" draw_ops="button_close_normal"/> + <button function="close" state="prelight" draw_ops="button_close_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_pressed"/> + <button function="minimize" state="normal" draw_ops="button_min_normal"/> + <button function="minimize" state="prelight" draw_ops="button_min_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_min_pressed"/> + <button function="maximize" state="normal" draw_ops="button_max_normal"/> + <button function="maximize" state="prelight" draw_ops="button_max_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_max_pressed"/> + <button function="menu" state="normal" draw_ops="button_menu_normal"/> + <button function="menu" state="prelight" draw_ops="button_menu_prelight"/> + <button function="menu" state="pressed" draw_ops="button_menu_pressed"/> +</frame_style> + +<frame_style name="frame_style_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 function="close" state="normal" draw_ops="button_close_inactive"/> + <button function="close" state="prelight" draw_ops="button_close_inactive_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_inactive"/> + <button function="minimize" state="normal" draw_ops="button_min_inactive"/> + <button function="minimize" state="prelight" draw_ops="button_min_inactive_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_min_inactive"/> + <button function="maximize" state="normal" draw_ops="button_max_inactive"/> + <button function="maximize" state="prelight" draw_ops="button_max_inactive_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_max_inactive"/> + <button function="menu" state="normal" draw_ops="button_menu_inactive"/> + <button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/> + <button function="menu" state="pressed" draw_ops="button_menu_inactive"/> +</frame_style> + +<frame_style name="frame_style_maximized_focused" geometry="frame_geometry_abnormal"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title_maximized"/> + <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 function="close" state="normal" draw_ops="button_close_normal"/> + <button function="close" state="prelight" draw_ops="button_close_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_pressed"/> + <button function="minimize" state="normal" draw_ops="button_min_normal"/> + <button function="minimize" state="prelight" draw_ops="button_min_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_min_pressed"/> + <button function="maximize" state="normal" draw_ops="button_max_normal"/> + <button function="maximize" state="prelight" draw_ops="button_max_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_max_pressed"/> + <button function="menu" state="normal" draw_ops="button_menu_normal"/> + <button function="menu" state="prelight" draw_ops="button_menu_prelight"/> + <button function="menu" state="pressed" draw_ops="button_menu_normal"/> +</frame_style> + +<frame_style name="frame_style_maximized_unfocused" geometry="frame_geometry_abnormal"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_maximized_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 function="close" state="normal" draw_ops="button_close_inactive"/> + <button function="close" state="prelight" draw_ops="button_close_prelight"/> + <button function="close" state="pressed" draw_ops="button_close_inactive"/> + <button function="minimize" state="normal" draw_ops="button_min_inactive"/> + <button function="minimize" state="prelight" draw_ops="button_min_prelight"/> + <button function="minimize" state="pressed" draw_ops="button_min_inactive"/> + <button function="maximize" state="normal" draw_ops="button_max_inactive"/> + <button function="maximize" state="prelight" draw_ops="button_max_prelight"/> + <button function="maximize" state="pressed" draw_ops="button_max_inactive"/> + <button function="menu" state="normal" draw_ops="button_menu_inactive"/> + <button function="menu" state="prelight" draw_ops="button_menu_inactive"/> + <button function="menu" state="pressed" draw_ops="button_menu_inactive"/> +</frame_style> + +<frame_style_set name="frame_style_set_normal"> + <frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused"/> + <frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused"/> + <frame focus="yes" state="maximized" style="frame_style_maximized_focused"/> + <frame focus="no" state="maximized" style="frame_style_maximized_unfocused"/> + <frame focus="yes" state="shaded" style="frame_style_normal_focused"/> + <frame focus="no" state="shaded" style="frame_style_normal_unfocused"/> + <frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused"/> + <frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused"/> +</frame_style_set> + +<window type="normal" style_set="frame_style_set_normal"/> +<window type="dialog" style_set="frame_style_set_normal"/> +<window type="modal_dialog" style_set="frame_style_set_normal"/> +<window type="menu" style_set="frame_style_set_normal"/> +<window type="utility" style_set="frame_style_set_normal"/> +<window type="border" style_set="frame_style_set_normal"/> + +<menu_icon function="close" state="normal" draw_ops="button_close_normal"/> +<menu_icon function="maximize" state="normal" draw_ops="button_max_normal"/> +<menu_icon function="unmaximize" state="normal" draw_ops="button_max_normal"/> +<menu_icon function="minimize" state="normal" draw_ops="button_min_normal"/> + + +</metacity_theme> diff --git a/src/themes/Makefile.am b/src/themes/Makefile.am new file mode 100644 index 00000000..a040a804 --- /dev/null +++ b/src/themes/Makefile.am @@ -0,0 +1,53 @@ +THEMES= \ + ClearlooksRe \ + eOS \ + DustBlue \ + WinMe \ + Splint-Left \ + Dopple \ + Spidey-Left \ + Splint \ + Dopple-Left \ + Spidey + +THEME_DIR=$(datadir)/themes +THEME_SUBDIR=metacity-1 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR); \ + for THEME in $(THEMES); do \ + echo '-- Installing theme '$$THEME; \ + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR)/$$THEME; \ + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR); \ + (installfiles=`find $(srcdir)/$$THEME -name "*.png" -o -name "*.xml"`; \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR) ; \ + done) \ + done + +uninstall-local: + for THEME in $(THEMES); do \ + echo '-- Uninstalling theme '$$THEME; \ + (uninstallfiles=`find $(srcdir)/$$THEME -name "*.png" -o -name "*.xml"`; \ + for i in $$uninstallfiles; do \ + i=`basename $$i`; \ + echo '-- Removing '$$i ; \ + rm -f $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR)/$$i ; \ + done); \ + rmdir $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR) || :; \ + rmdir $(DESTDIR)$(THEME_DIR)/$$THEME || :; \ + done + -rmdir $(DESTDIR)$(THEME_DIR) + +dist-hook: + mkdir $(distdir)/themes; \ + for THEME in $(THEMES); do \ + echo '-- Disting theme '$$THEME; \ + mkdir $(distdir)/$$THEME; \ + (installfiles=`find $(srcdir)/$$THEME -name "*.png" -o -name "*.xml"`; \ + for i in $$installfiles; do \ + echo '-- Disting '$$i ; \ + cp $$i $(distdir)/$$THEME; \ + done) \ + done diff --git a/src/themes/Spidey-Left/metacity-theme-1.xml b/src/themes/Spidey-Left/metacity-theme-1.xml new file mode 100644 index 00000000..0244d458 --- /dev/null +++ b/src/themes/Spidey-Left/metacity-theme-1.xml @@ -0,0 +1,1086 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Spidey</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A Clearlooks-styled theme with Tango basics.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <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"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.4" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.4" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.4" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + +</draw_ops> + +<draw_ops name="button_bg_prelight"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + <color value="shade/gtk:bg[NORMAL]/0.9" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.5" /> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.5" /> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + </gradient> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.9" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + </gradient> + +</draw_ops> +<!-- Buttons --> +<draw_ops name="button_bg_unfocused"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.90" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.15" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.00" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_lighter"> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_lighter"> + <rectangle color="shade/gtk:bg[NORMAL]/1.2" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_lighter"> + <rectangle color="shade/gtk:bg[NORMAL]/1.2" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_lighter" x="2" y="3" width="width-4" height="height-4" /> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_lighter" x="2" y="3" width="width-4" height="height-4" /> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="2" y="3" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="2" y="3" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="3" y="4" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="3" y="4" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_lighter" x="2" y="3" width="width-4" height="width-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_lighter" x="2" y="3" width="width-4" height="width-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> +<!-- + <rectangle color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x="1" y="1" width="width-3" height="height-3"/> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-2" y1="1" x2="width-2" y2="height-2"/> +--> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="1" y="1" width="width-3" height="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="3" y1="height-1" + x2="width-4" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> +<!-- + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="2" y1="3" x2="2" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="3" y1="2" x2="4" y2="2" /> + + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-5" y1="2" x2="width-4" y2="2" /> +--> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + <!-- <gradient type="vertical" x="1" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-2" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="height-1" x2="1" y2="height-1" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="height-1" x2="width-2" y2="height-1" /> +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> + +<!-- <gradient type="vertical" x="0" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-1" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="1" y1="height-2" x2="width-3" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/0.945" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[SELECTED]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[SELECTED]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[SELECTED]/0.7" /> +</draw_ops> + +<draw_ops name="unfocus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[NORMAL]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[NORMAL]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[NORMAL]/0.7" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="unfocus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="(0)" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.4" + x="(0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/Spidey/metacity-theme-1.xml b/src/themes/Spidey/metacity-theme-1.xml new file mode 100644 index 00000000..5472f9da --- /dev/null +++ b/src/themes/Spidey/metacity-theme-1.xml @@ -0,0 +1,1086 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Spidey</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A Clearlooks-styled theme with Tango basics.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <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"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.4" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.4" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.4" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + +</draw_ops> + +<draw_ops name="button_bg_prelight"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + <color value="shade/gtk:bg[NORMAL]/0.9" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.5" /> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.5" /> + <color value="shade/gtk:bg[NORMAL]/1.1" /> + </gradient> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + +<!-- Background --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.9" /> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + </gradient> + +<!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[SELECTED]/0.5" /> + <color value="shade/gtk:bg[SELECTED]/0.7" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="1" y1="1" + x2="1" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="0" y1="1" + x2="1" y2="0" /> --> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.5" + x1="width-2" y1="1" + x2="width-2" y2="1" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.9" + x1="width-1" y1="1" + x2="width-2" y2="0" /> --> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="1" y1="height-2" + x2="1" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="1" y2="height-1" /> --> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> +<!-- <line color="blend/gtk:bg[SELECTED]/gtk:bg[SELECTED]/0.95" + x1="width-1" y1="height-2" + x2="width-2" y2="height-1" /> --> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.0" /> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + </gradient> + +</draw_ops> +<!-- Buttons --> +<draw_ops name="button_bg_unfocused"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <gradient type="vertical" x="0" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Right line --> + <gradient type="vertical" x="width - 1" y="2" width="1" height="(height-4)"> + <color value="shade/gtk:bg[NORMAL]/0.8" /> + <color value="shade/gtk:bg[NORMAL]/0.675" /> + </gradient> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.675" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.90" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.2" /> + <color value="shade/gtk:bg[NORMAL]/0.90" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/0.9" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/1.15" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg_unfocused"> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + <color value="shade/gtk:bg[NORMAL]/0.95" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[NORMAL]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> +<!-- <line color="shade/gtk:bg[NORMAL]/1.25" + x1="2" y1="1" + x2="width-3" y2="1" /> --> + + <!-- Bottom line --> + <line color="shade/gtk:bg[NORMAL]/1.05" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> +<!-- <line color="shade/gtk:bg[NORMAL]/" + x1="1" y1="2" + x2="1" y2="height-3" /> --> +<!-- <gradient type="vertical" x="1" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.25" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> --> + + <!-- Right line --> +<!-- <line color="blend/gtk:bg[NORMAL]/#ffffff/0.18" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + <gradient type="vertical" x="width-2" y="2" width="1" height="(height-3)-1"> + <color value="shade/gtk:bg[NORMAL]/1.00" /> + <color value="shade/gtk:bg[NORMAL]/1.05" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[NORMAL]/1.0" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_lighter"> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_lighter"> + <rectangle color="shade/gtk:bg[NORMAL]/1.2" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.2" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_lighter"> + <rectangle color="shade/gtk:bg[NORMAL]/1.2" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_lighter" x="2" y="3" width="width-4" height="height-4" /> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_lighter" x="2" y="3" width="width-4" height="height-4" /> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="2" y="3" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="2" y="3" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="3" y="4" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_lighter" x="3" y="4" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_lighter" x="2" y="3" width="width-4" height="width-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_lighter" x="2" y="3" width="width-4" height="width-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_pressed_bg_unfocused"/> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> +<!-- + <rectangle color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x="1" y="1" width="width-3" height="height-3"/> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-2" y1="1" x2="width-2" y2="height-2"/> +--> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="1" y="1" width="width-3" height="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="3" y1="height-1" + x2="width-4" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.975" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> +<!-- + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="2" y1="3" x2="2" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="3" y1="2" x2="4" y2="2" /> + + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="blend/gtk:bg[SELECTED]/#ffffff/0.27" x1="width-5" y1="2" x2="width-4" y2="2" /> +--> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + <!-- <gradient type="vertical" x="1" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-2" y="5" width="1" height="height-6"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="height-1" x2="1" y2="height-1" /> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-2" y1="height-1" x2="width-2" y2="height-1" /> +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.2" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.2" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.7" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/0.95" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> + +<!-- <gradient type="vertical" x="0" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> + + <gradient type="vertical" x="width-1" y="1" width="1" height="height-2"> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.27" /> + <color value="blend/gtk:bg[SELECTED]/#ffffff/0.09" /> + </gradient> --> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="1" y1="height-2" x2="width-3" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="width-5" y1="2" x2="width-4" y2="2" /> + + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/0.945" x1="0" y1="height-2" x2="width-1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[SELECTED]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[SELECTED]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[SELECTED]/0.7" /> +</draw_ops> + +<draw_ops name="unfocus_outline"> + <rectangle x="0" y="0" width="width-1" height="height-1" color="shade/gtk:bg[NORMAL]/0.7" /> + <rectangle x="1" y="1" width="width-3" height="height-3" color="shade/gtk:bg[NORMAL]/1.2" /> + <rectangle x="2" y="2" width="width-5" height="height-5" color="shade/gtk:bg[NORMAL]/0.7" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="unfocus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="(((width - title_width) / 2) `max` 0)" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.4" + x="(((width - title_width) / 2) `max` 0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/Splint-Left/metacity-theme-1.xml b/src/themes/Splint-Left/metacity-theme-1.xml new file mode 100644 index 00000000..f81ad5a3 --- /dev/null +++ b/src/themes/Splint-Left/metacity-theme-1.xml @@ -0,0 +1,802 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Splint-Left</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A theme designed around the Tango style.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="1" y1="2" + x2="1" y2="height-3" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + + <!-- Do a fill --> + <rectangle color="shade/gtk:bg[SELECTED]/1.0" x="1" y="1" width="width-2" height = "height-2" filled="true" /> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="1" y1="2" + x2="1" y2="height-3" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + + <!-- Do a fill --> +<!-- <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="1" y="1" width="width-2" height = "height-2" filled="true" /> --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/0.9" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <!-- <line color="shade/gtk:bg[SELECTED]/1.1" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + + <gradient type="vertical" x="1" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.1" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Left line --> + <!-- <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + + + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.1" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="white" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow"> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow_dark"> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="white" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="white" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="white" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> + + +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="white" x="2" y="height * 2 / 3" width="width-4" height="height - height * 2 / 3 - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="minimize_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="maximize_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="3" y="5" width="width-6" height="height-6" /> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="3" y="5" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="maximize_glyph_unfocused" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow" x="2" y="4" width="width-4" height="height-4" /> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="close_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="1" y="1" width="width-3" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-1" + x2="width-2" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="1" y1="height-2" + x2="width-2" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.3" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-5" y1="2" x2="width-4" y2="2" /> + +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-5" y1="2" x2="width-4" y2="2" /> + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="1" y1="title_height" x2="1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="width-2" y1="title_height" x2="width-2" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="2" y1="height-2" x2="width-2" y2="height-2" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="outer_bevel"/> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="outer_bevel_unfocused" /> + <include name="focus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="(0)" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" + x="(0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/Splint/metacity-theme-1.xml b/src/themes/Splint/metacity-theme-1.xml new file mode 100644 index 00000000..d10865bb --- /dev/null +++ b/src/themes/Splint/metacity-theme-1.xml @@ -0,0 +1,802 @@ +<?xml version="1.0"?> +<metacity_theme> + +<info> + <name>Splint</name> + <author>Brandon Wright</author> + <copyright>2009</copyright> + <date>January 21, 2009</date> + <description>A theme designed around the Tango style.</description> +</info> + +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <aspect_ratio name="button" value="1"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="3" right="4" top="2" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="3"/> +</frame_geometry> + +<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_titlebar_edge" value="1" /> + <distance name="right_titlebar_edge" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="utility" parent="normal"> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_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="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> + +<!-- Buttons --> +<draw_ops name="button_bg"> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="1" y1="2" + x2="1" y2="height-3" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + + <!-- Do a fill --> + <rectangle color="shade/gtk:bg[SELECTED]/1.0" x="1" y="1" width="width-2" height = "height-2" filled="true" /> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="1" y1="2" + x2="1" y2="height-3" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="button_pressed_bg"> + + <!-- Do a fill --> +<!-- <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="1" y="1" width="width-2" height = "height-2" filled="true" /> --> + <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> + <color value="shade/gtk:bg[SELECTED]/0.9" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Dark lines --> + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="0" + x2="width-3" y2="0" /> + + <!-- Left line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="2" + x2="0" y2="height-3" /> + + <!-- Right line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-1" y1="2" + x2="width-1" y2="height-3" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="2" y1="height-1" + x2="width-3" y2="height-1" /> + + <!-- TL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="1" + x2="1" y2="1" /> + + <!-- TR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="1" + x2="width-2" y2="1" /> + + <!-- LL Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-2" + x2="1" y2="height-2" /> + + <!-- LR Corner --> + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="width-2" y1="height-2" + x2="width-2" y2="height-2" /> + + <!-- Lighter Inside --> + + <!-- Top line --> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="1" + x2="width-3" y2="1" /> + + <!-- Bottom line --> + <line color="shade/gtk:bg[SELECTED]/1.2" + x1="2" y1="height-2" + x2="width-3" y2="height-2" /> + + <!-- Left line --> + <!-- <line color="shade/gtk:bg[SELECTED]/1.1" + x1="1" y1="2" + x2="1" y2="height-3" /> --> + + <gradient type="vertical" x="1" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.1" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Left line --> + <!-- <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-2" y1="2" + x2="width-2" y2="height-3" /> --> + + + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.1" /> + <color value="shade/gtk:bg[SELECTED]/1.2" /> + </gradient> + + <!-- Corners --> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="2" y1="2" + x2="2" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.0" + x1="width-3" y1="2" + x2="width-3" y2="2" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="2" y1="height-3" + x2="2" y2="height-3" /> + <line color="shade/gtk:bg[SELECTED]/1.1" + x1="width-3" y1="height-3" + x2="width-3" y2="height-3" /> + +</draw_ops> + +<draw_ops name="menu_glyph"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" /> +</draw_ops> + +<draw_ops name="menu_glyph_unfocused"> + <icon x="(width-mini_icon_width)/2" + y="(height-mini_icon_height)/2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> +</draw_ops> + +<draw_ops name="close_glyph"> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/white/gtk:bg[SELECTED]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="white" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow"> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_shadow_dark"> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="close_glyph_unfocused_lighter"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="2" x2="width-3" y2="height-4"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="width-4" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="2" y1="height-4" x2="width-4" y2="2"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.75" x1="3" y1="height-3" x2="width-3" y2="3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="2"/> +</draw_ops> + +<draw_ops name="maximize_glyph"> + <rectangle color="white" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="white" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="white" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="white" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="maximize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="gtk:fg[NORMAL]" x1="width-3" y1="2" x2="width-3" y2="height-3"/> +</draw_ops> +<draw_ops name="maximize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="2" width="width-4" height="height/4" filled="true"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="2" x2="2" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x1="width-3" y1="2" x2="width-3" y2="height-3"/> + + +</draw_ops> + +<draw_ops name="minimize_glyph"> + <rectangle color="white" x="2" y="height * 2 / 3" width="width-4" height="height - height * 2 / 3 - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow"> + <rectangle color="shade/gtk:bg[SELECTED]/0.85" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_shadow_dark"> + <rectangle color="shade/gtk:bg[SELECTED]/0.8" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused"> + <rectangle color="gtk:fg[NORMAL]" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="minimize_glyph_unfocused_lighter"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" x="2" y="height * 2 / 3" width="width-4" height="height - (height * 2 / 3) - 2" filled="true" /> +</draw_ops> + +<draw_ops name="menu_button"> + <include name="menu_glyph" x="0" y="0"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <include name="menu_glyph_unfocused" x="0" y="0" /> +</draw_ops> + +<draw_ops name="menu_button_pressed"> + <include name="menu_glyph_unfocused" x="0" y="0"/> +</draw_ops> + +<draw_ops name="minimize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="minimize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> + <include name="minimize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4" /> +</draw_ops> + +<draw_ops name="minimize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="minimize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="minimize_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + + +<draw_ops name="maximize_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <include name="maximize_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="maximize_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="maximize_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="2" y="2" width="width-4" height="height-4"/> +</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="button_bg" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow" x="3" y="5" width="width-6" height="height-6" /> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="maximize_glyph_shadow_dark" x="3" y="5" width="width-6" height="height-6"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused"> + <include name="maximize_glyph_unfocused_lighter" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_pressed"> + <include name="button_pressed_bg"/> + <include name="maximize_glyph" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="restore_button_unfocused_pressed"> + <include name="maximize_glyph_unfocused" x="3" y="3" width="width-6" height="height-6"/> +</draw_ops> + +<draw_ops name="close_button"> + <include name="button_bg" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow" x="2" y="4" width="width-4" height="height-4" /> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_focus"> + <include name="button_bg_prelight" x="0" y="0" width="width" height="height" /> + <include name="close_glyph_shadow_dark" x="2" y="4" width="width-4" height="height-4"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <include name="close_glyph_unfocused_lighter" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_unfocused_pressed"> + <include name="close_glyph_unfocused" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="close_button_pressed"> + <include name="button_pressed_bg"/> + <include name="close_glyph" x="2" y="2" width="width-4" height="height-4"/> +</draw_ops> + +<draw_ops name="outer_bevel"> + <rectangle color="shade/gtk:bg[NORMAL]/0.5" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="outer_bevel_unfocused"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" + x="0" y="0" width="width-1" height="height-1"/> +</draw_ops> + +<draw_ops name="title_background"> + + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="1" y="1" width="width-3" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-2" y1="1" x2="width-2" y2="height-2"/> + + <gradient type="vertical" x="2" y="2" width="width-4" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="1" y1="height-1" + x2="width-2" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="1" y1="height-2" + x2="width-2" y2="height-2" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="4" y1="1" x2="4" y2="1" /> + + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[SELECTED]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.3" x1="3" y1="2" x2="4" y2="2" /> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-5" y1="2" x2="width-4" y2="2" /> + +</draw_ops> + +<draw_ops name="title_background_maximized"> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="0" y="1" width="width-2" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/1.3" x1="width-1" y1="1" x2="width-1" y2="height-2"/> + + <gradient type="vertical" x="1" y="2" width="width-2" height="height-3"> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + </gradient> + + <rectangle color="shade/gtk:bg[SELECTED]/1.3" x="0" y="1" width="width-1" height="height-3"/> + + <line color="shade/gtk:bg[SELECTED]/0.8" + x1="0" y1="height-1" + x2="width-1" y2="height-1" /> + + <line color="shade/gtk:bg[SELECTED]/1.25" + x1="0" y1="height-2" + x2="width-1" y2="height-2" /> +</draw_ops> + +<draw_ops name="title_unfocused_background"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="1" y="1" width="width-2" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="1" y1="1" x2="1" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-2" y1="1" x2="width-2" y2="height" /> + + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="3" x2="3" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="1" y1="4" x2="1" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="4" y1="1" x2="4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-4" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-5" y1="1" x2="width-5" y2="1" /> + <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-2" y1="3" x2="width-2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="2" y1="3" x2="2" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="3" y1="2" x2="4" y2="2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-3" y1="3" x2="width-3" y2="4" /> + <line color="shade/gtk:bg[NORMAL]/1.5" x1="width-5" y1="2" x2="width-4" y2="2" /> + +</draw_ops> + +<draw_ops name="title_unfocused_background_maximized"> + <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/> + + <gradient type="vertical" x="0" y="1" width="width" height="height-1"> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/1.5" x1="0" y1="1" x2="width-1" y2="1"/> + +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<draw_ops name="focus_outline"> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="1" y1="title_height" x2="1" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="width-2" y1="title_height" x2="width-2" y2="height-2" /> + <line color="shade/gtk:bg[NORMAL]/1.5" + x1="2" y1="height-2" x2="width-2" y2="height-2" /> +</draw_ops> + +<draw_ops name="focus_background"> + <include name="outer_bevel"/> + <include name="focus_outline"/> +</draw_ops> + +<draw_ops name="unfocus_background"> + <include name="outer_bevel_unfocused" /> + <include name="focus_outline" /> +</draw_ops> + +<draw_ops name="title_text_focused_with_icon"> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) - 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) + 1"/> + + <title color="shade/gtk:bg[SELECTED]/0.8" + x="(((width - title_width) / 2) `max` 0) + 1" + y="(((height - title_height) / 2) `max` 0) - 1"/> + + <title color="#ffffff" + x="(((width - title_width) / 2) `max` 0)" + y="(((height - title_height) / 2) `max` 0)"/> + +</draw_ops> + +<draw_ops name="title_text_with_icon"> + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" + x="(((width - title_width) / 2) `max` 0)" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_text_with_icon"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_text_focused_with_icon"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="unfocus_background"/> + <piece position="titlebar" draw_ops="title_unfocused_background"/> + <piece position="title" draw_ops="title_normal"/> + + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="titlebar" draw_ops="title_background"/> + <piece position="title" draw_ops="title_focused"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_focus"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_focus" /> + <button function="maximize" state="normal" draw_ops="maximize_button"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_focus"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> + +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <piece position="titlebar" draw_ops="title_unfocused_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <piece position="titlebar" draw_ops="title_background_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <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="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="titlebar" draw_ops="blank"/> + <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="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="normal"/> +<window type="border" style_set="normal"/> + +<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/WinMe/close_normal.png b/src/themes/WinMe/close_normal.png new file mode 100644 index 00000000..644378f9 Binary files /dev/null and b/src/themes/WinMe/close_normal.png differ diff --git a/src/themes/WinMe/close_normal_small.png b/src/themes/WinMe/close_normal_small.png new file mode 100644 index 00000000..bd7495c8 Binary files /dev/null and b/src/themes/WinMe/close_normal_small.png differ diff --git a/src/themes/WinMe/close_pressed.png b/src/themes/WinMe/close_pressed.png new file mode 100644 index 00000000..42970c2d Binary files /dev/null and b/src/themes/WinMe/close_pressed.png differ diff --git a/src/themes/WinMe/close_pressed_small.png b/src/themes/WinMe/close_pressed_small.png new file mode 100644 index 00000000..c7c98a1e Binary files /dev/null and b/src/themes/WinMe/close_pressed_small.png differ diff --git a/src/themes/WinMe/maximize_normal.png b/src/themes/WinMe/maximize_normal.png new file mode 100644 index 00000000..41b7694a Binary files /dev/null and b/src/themes/WinMe/maximize_normal.png differ diff --git a/src/themes/WinMe/maximize_pressed.png b/src/themes/WinMe/maximize_pressed.png new file mode 100644 index 00000000..68137306 Binary files /dev/null and b/src/themes/WinMe/maximize_pressed.png differ diff --git a/src/themes/WinMe/metacity-theme-1.xml b/src/themes/WinMe/metacity-theme-1.xml new file mode 100644 index 00000000..29d3aef0 --- /dev/null +++ b/src/themes/WinMe/metacity-theme-1.xml @@ -0,0 +1,375 @@ +<?xml version="1.0"?> +<!-- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +// MA 02110-1301, USA. + +Notes + #d4d0c8 was replaced with gtk:bg[NORMAL] + +--> +<metacity_theme> + <info> + <name>WinMe</name> + <author>Perberos</author> + <copyright>Â 2007 Srivatsa Kanchi <srivatsa_nk@dataone.in>, 2010 Perberos</copyright> + <date>April 22, 2010</date> + <description>Windows NT serie style theme</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="#404040" 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="#404040" 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="#404040" 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="#404040" 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"/> + <gradient type="horizontal" x="4" y="4" width="width-8" height="height-5"> + <color value="#0a246a"/> <!-- #0a246a (10, 36, 106)--> + <color value="#526bad"/> <!-- #526bad (82, 107, 173) is a cute color --> + <color value="#94b5dc"/> <!-- #94b5dc (148, 181, 220)--> + <color value="#a6caf0"/> <!-- #a6caf0 (166, 202, 240) --> + </gradient> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <image filename="close_normal.png" x="0" y="0" width="object_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="#ffffff"/> + </draw_ops> + </piece> + </frame_style> + + <frame_style name="normal(maximized)_focused_style" geometry="borderless_geometry" parent="normal_focused_style"> + <piece position="titlebar"> + <draw_ops> + <gradient type="horizontal" x="0" y="0" width="width-0" + height="height-0"> + <color value="#0a246a"/> + <color value="#526bad"/> + <color value="#94b5dc"/> + <color value="#a6caf0"/> + </gradient> + </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="#404040" 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"/> + <gradient type="horizontal" x="4" y="4" width="width-8" height="height-5"> + <color value="#808080"/> + <color value="#8c8c8c"/> + <color value="#a5a5a5"/> + <color value="#c6bdc6"/> + <color value="#c0c0c0"/> + </gradient> + </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> + <gradient type="horizontal" x="0" y="0" width="width-0" height="height-0"> + <color value="#808080"/> + <color value="#8c8c8c"/> + <color value="#a5a5a5"/> + <color value="#c6bdc6"/> + <color value="#c0c0c0"/> + </gradient> + </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="#404040" x1="width-1" y1="0" x2="width-1" y2="height-1"/> + <line color="#404040" x1="0" y1="height-1" x2="width-1" y2="height-1"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <gradient type="horizontal" x="3" y="3" width="width-6" height="height-4"> + <color value="#0a246a"/> + <color value="#526bad"/> + <color value="#94b5dc"/> + <color value="#a6caf0"/> + </gradient> + </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> + <gradient type="horizontal" x="3" y="3" width="width-6" height="height-4"> + <color value="#808080"/> + <color value="#8c8c8c"/> + <color value="#a5a5a5"/> + <color value="#c6bdc6"/> + <color value="#c0c0c0"/> + </gradient> + </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/WinMe/minimize_normal.png b/src/themes/WinMe/minimize_normal.png new file mode 100644 index 00000000..cfa36387 Binary files /dev/null and b/src/themes/WinMe/minimize_normal.png differ diff --git a/src/themes/WinMe/minimize_pressed.png b/src/themes/WinMe/minimize_pressed.png new file mode 100644 index 00000000..4b873d15 Binary files /dev/null and b/src/themes/WinMe/minimize_pressed.png differ diff --git a/src/themes/WinMe/restore_normal.png b/src/themes/WinMe/restore_normal.png new file mode 100644 index 00000000..95ab85ec Binary files /dev/null and b/src/themes/WinMe/restore_normal.png differ diff --git a/src/themes/WinMe/restore_pressed.png b/src/themes/WinMe/restore_pressed.png new file mode 100644 index 00000000..2b117058 Binary files /dev/null and b/src/themes/WinMe/restore_pressed.png differ diff --git a/src/themes/eOS/close.png b/src/themes/eOS/close.png new file mode 100644 index 00000000..6ba9495e Binary files /dev/null and b/src/themes/eOS/close.png differ diff --git a/src/themes/eOS/close_unfocused.png b/src/themes/eOS/close_unfocused.png new file mode 100644 index 00000000..bdff535c Binary files /dev/null and b/src/themes/eOS/close_unfocused.png differ diff --git a/src/themes/eOS/close_unfocused_over.png b/src/themes/eOS/close_unfocused_over.png new file mode 100644 index 00000000..6ba9495e Binary files /dev/null and b/src/themes/eOS/close_unfocused_over.png differ diff --git a/src/themes/eOS/maximize.png b/src/themes/eOS/maximize.png new file mode 100644 index 00000000..785aa133 Binary files /dev/null and b/src/themes/eOS/maximize.png differ diff --git a/src/themes/eOS/maximize_unfocused.png b/src/themes/eOS/maximize_unfocused.png new file mode 100644 index 00000000..4c76ed67 Binary files /dev/null and b/src/themes/eOS/maximize_unfocused.png differ diff --git a/src/themes/eOS/maximize_unfocused_over.png b/src/themes/eOS/maximize_unfocused_over.png new file mode 100644 index 00000000..785aa133 Binary files /dev/null and b/src/themes/eOS/maximize_unfocused_over.png differ diff --git a/src/themes/eOS/menu.png b/src/themes/eOS/menu.png new file mode 100644 index 00000000..1e02701c Binary files /dev/null and b/src/themes/eOS/menu.png differ diff --git a/src/themes/eOS/menu_prelight.png b/src/themes/eOS/menu_prelight.png new file mode 100644 index 00000000..c7dbd0a2 Binary files /dev/null and b/src/themes/eOS/menu_prelight.png differ diff --git a/src/themes/eOS/metacity-theme-1.xml b/src/themes/eOS/metacity-theme-1.xml new file mode 100644 index 00000000..62463cc9 --- /dev/null +++ b/src/themes/eOS/metacity-theme-1.xml @@ -0,0 +1,537 @@ +<?xml version="1.0"?> + +<metacity_theme> +<info> + <name>eOS based on radiance</name> + <author>original authors: Kenneth Wimer, James Schriver, edited by Uhave2pay4</author> + <copyright>Canonical Ltd.</copyright> + <date>Mar 19, 2010</date> + <description>Metacity theme</description> +</info> + +<!-- General window layout --> +<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="1"/> + <distance name="right_width" value="1"/> + <distance name="bottom_height" value="1"/> + <distance name="left_titlebar_edge" value="10"/> + <distance name="right_titlebar_edge" value="10"/> + <distance name="button_width" value="20"/> + <distance name="button_height" value="20"/> + <distance name="title_vertical_pad" value="8"/> + <border name="title_border" left="2" right="2" top="2" bottom="0"/> + <border name="button_border" left="0" right="0" top="2" bottom="1"/> +</frame_geometry> + +<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" 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="10"/> + <distance name="right_titlebar_edge" value="10"/> + <distance name="button_width" value="20"/> + <distance name="button_height" value="20"/> + <distance name="title_vertical_pad" value="8"/> + <border name="title_border" left="2" right="2" top="2" bottom="0"/> + <border name="button_border" left="0" right="0" top="2" bottom="1"/> +</frame_geometry> + +<frame_geometry name="border" has_title="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="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="3"/> + <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> + +<!-- Window Title --> + +<draw_ops name="draw_title_text_normal"> + <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)" + 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_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_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_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_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 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 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 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 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 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 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"/> +</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 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 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 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 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 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 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"/> +</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/minimize.png b/src/themes/eOS/minimize.png new file mode 100644 index 00000000..5083d1e2 Binary files /dev/null and b/src/themes/eOS/minimize.png differ diff --git a/src/themes/eOS/minimize_unfocused.png b/src/themes/eOS/minimize_unfocused.png new file mode 100644 index 00000000..9bd4d273 Binary files /dev/null and b/src/themes/eOS/minimize_unfocused.png differ diff --git a/src/themes/eOS/minimize_unfocused_over.png b/src/themes/eOS/minimize_unfocused_over.png new file mode 100644 index 00000000..5083d1e2 Binary files /dev/null and b/src/themes/eOS/minimize_unfocused_over.png differ diff --git a/src/themes/eOS/trough_left.png b/src/themes/eOS/trough_left.png new file mode 100644 index 00000000..070d3da0 Binary files /dev/null and b/src/themes/eOS/trough_left.png differ diff --git a/src/themes/eOS/trough_left_unfocused.png b/src/themes/eOS/trough_left_unfocused.png new file mode 100644 index 00000000..51ed9ab1 Binary files /dev/null and b/src/themes/eOS/trough_left_unfocused.png differ diff --git a/src/themes/eOS/trough_middle.png b/src/themes/eOS/trough_middle.png new file mode 100644 index 00000000..28238835 Binary files /dev/null and b/src/themes/eOS/trough_middle.png differ diff --git a/src/themes/eOS/trough_middle_unfocused.png b/src/themes/eOS/trough_middle_unfocused.png new file mode 100644 index 00000000..961e4f48 Binary files /dev/null and b/src/themes/eOS/trough_middle_unfocused.png differ diff --git a/src/themes/eOS/trough_right.png b/src/themes/eOS/trough_right.png new file mode 100644 index 00000000..84bfad11 Binary files /dev/null and b/src/themes/eOS/trough_right.png differ diff --git a/src/themes/eOS/trough_right_unfocused.png b/src/themes/eOS/trough_right_unfocused.png new file mode 100644 index 00000000..acab4faf Binary files /dev/null and b/src/themes/eOS/trough_right_unfocused.png differ diff --git a/src/themes/eOS/unmaximize.png b/src/themes/eOS/unmaximize.png new file mode 100644 index 00000000..785aa133 Binary files /dev/null and b/src/themes/eOS/unmaximize.png differ diff --git a/src/themes/eOS/unmaximize_unfocused.png b/src/themes/eOS/unmaximize_unfocused.png new file mode 100644 index 00000000..d7c35fc1 Binary files /dev/null and b/src/themes/eOS/unmaximize_unfocused.png differ diff --git a/src/themes/eOS/unmaximize_unfocused_over.png b/src/themes/eOS/unmaximize_unfocused_over.png new file mode 100644 index 00000000..785aa133 Binary files /dev/null and b/src/themes/eOS/unmaximize_unfocused_over.png differ -- cgit v1.2.1