summaryrefslogtreecommitdiff
path: root/src/themes/Motif
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-22 15:12:48 +0200
committerVictor Kareh <[email protected]>2019-10-01 09:39:39 -0400
commit7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0 (patch)
tree688ddf25b42460b6f1f8e5c309ff660a36727678 /src/themes/Motif
parent232127afd896bce5afc02cccf1c96309ceb1b521 (diff)
downloadmarco-7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0.tar.bz2
marco-7ff2e5f10e8b0d15a1e75b29312e2afb4256fbb0.tar.xz
window decoration themes: Add Atlanta, Esco, Gorilla, Motif, Raleigh
Diffstat (limited to 'src/themes/Motif')
-rw-r--r--src/themes/Motif/meson.build4
-rw-r--r--src/themes/Motif/metacity-theme-1.xml765
2 files changed, 769 insertions, 0 deletions
diff --git a/src/themes/Motif/meson.build b/src/themes/Motif/meson.build
new file mode 100644
index 00000000..617b11dd
--- /dev/null
+++ b/src/themes/Motif/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'metacity-theme-1.xml',
+ install_dir : join_paths(datadir, 'themes', 'Motif', 'metacity-1'),
+)
diff --git a/src/themes/Motif/metacity-theme-1.xml b/src/themes/Motif/metacity-theme-1.xml
new file mode 100644
index 00000000..c3990b55
--- /dev/null
+++ b/src/themes/Motif/metacity-theme-1.xml
@@ -0,0 +1,765 @@
+<?xml version="1.0"?>
+<metacity_theme>
+ <info>
+ <name>Motif</name>
+ <author>Alexander Rokashevich</author>
+ <copyright>Alexander Rokashevich, 2007</copyright>
+ <date>2007-09-05</date>
+ <description>Motif Window Manager Theme based on colors from GTK+ theme, modified from mwm-north theme</description>
+ </info>
+<!--
+#######################################################
+# THEME COLORS
+#######################################################
+
+ Focused colors
+ ==============
+ Light gtk:base[SELECTED]
+ Normal gtk:bg[SELECTED]
+ Dark gtk:fg[SELECTED]
+
+ Unfocused colors
+ ================
+ Light gtk:base[NORMAL]
+ Normal gtk:bg[NORMAL]
+ Dark gtk:fg[NORMAL]
+
+#######################################################
+# FRAME GEOMETRY
+#######################################################
+-->
+ <frame_geometry name="maximized">
+ <distance name="title_vertical_pad" value="3"/>
+ <distance name="left_titlebar_edge" value="0"/>
+ <distance name="right_titlebar_edge" value="0"/>
+ <distance name="left_width" value="0"/>
+ <distance name="right_width" value="0"/>
+ <distance name="bottom_height" value="0"/>
+ <border name="title_border" left="0" right="0" top="0" bottom="0"/>
+ <border name="button_border" left="0" right="0" top="0" bottom="0"/>
+ <aspect_ratio name="button" value="1.0"/>
+ </frame_geometry>
+ <frame_geometry name="normal">
+ <distance name="title_vertical_pad" value="3"/>
+ <distance name="left_titlebar_edge" value="3"/>
+ <distance name="right_titlebar_edge" value="3"/>
+ <distance name="left_width" value="3"/>
+ <distance name="right_width" value="3"/>
+ <distance name="bottom_height" value="3"/>
+ <border name="title_border" left="0" right="0" top="3" bottom="0"/>
+ <border name="button_border" left="0" right="0" top="3" bottom="0"/>
+ <aspect_ratio name="button" value="1.0"/>
+ </frame_geometry>
+ <frame_geometry name="shaded">
+ <distance name="title_vertical_pad" value="3"/>
+ <distance name="left_titlebar_edge" value="6"/>
+ <distance name="right_titlebar_edge" value="6"/>
+ <distance name="left_width" value="6"/>
+ <distance name="right_width" value="60"/>
+ <distance name="bottom_height" value="0"/>
+ <border name="title_border" left="0" right="0" top="60" bottom="6"/>
+ <border name="button_border" left="0" right="0" top="60" bottom="6"/>
+ <aspect_ratio name="button" value="1.0"/>
+ </frame_geometry>
+ <frame_geometry name="border" has_title="false">
+ <distance name="title_vertical_pad" value="6"/>
+ <distance name="left_titlebar_edge" value="0"/>
+ <distance name="right_titlebar_edge" value="0"/>
+ <distance name="left_width" value="60"/>
+ <distance name="right_width" value="6"/>
+ <distance name="bottom_height" value="6"/>
+ <distance name="button_width" value="0"/>
+ <distance name="button_height" value="0"/>
+ <border name="title_border" left="0" right="0" top="0" bottom="0"/>
+ <border name="button_border" left="0" right="0" top="0" bottom="0"/>
+ </frame_geometry>
+<!--
+#######################################################
+# PANEL DRAW OPS
+#######################################################
+-->
+ <!-- special to draw just a border without interiour, used for title bar to get text cropoff -->
+ <draw_ops name="draw_relief_focused">
+ <!-- light -->
+ <line color="gtk:light[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:light[SELECTED]" x1="0" y1="1" x2="0" y2="height-1"/>
+ <!-- dark -->
+ <line color="gtk:dark[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:dark[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-1"/>
+ </draw_ops>
+ <draw_ops name="draw_relief_unfocused">
+ <!-- dark -->
+ <line color="gtk:light[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:light[NORMAL]" x1="0" y1="1" x2="0" y2="height-1"/>
+ <!-- light -->
+ <line color="gtk:dark[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:dark[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-1"/>
+ </draw_ops>
+ <draw_ops name="draw_relief_pressed_focused">
+ <!-- light -->
+ <line color="gtk:dark[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:dark[SELECTED]" x1="0" y1="1" x2="0" y2="height-1"/>
+ <!-- dark -->
+ <line color="gtk:light[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:light[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-1"/>
+ </draw_ops>
+ <draw_ops name="draw_relief_pressed_unfocused">
+ <!-- dark -->
+ <line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:dark[NORMAL]" x1="0" y1="1" x2="0" y2="height-1"/>
+ <!-- light -->
+ <line color="gtk:light[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:light[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-1"/>
+ </draw_ops>
+ <draw_ops name="draw_panel_focused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <include name="draw_relief_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_panel_pressed_focused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <include name="draw_relief_pressed_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_panel_unfocused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <include name="draw_relief_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_panel_pressed_unfocused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <include name="draw_relief_pressed_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_title_focused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[SELECTED]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <title color="gtk:fg[SELECTED]" x="(width-title_width)/2 `max` 10" y="(height-title_height)/2"/>
+ <include name="draw_relief_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_title_unfocused">
+ <!-- normal -->
+ <rectangle color="gtk:bg[NORMAL]" x="1" y="1" width="width-2" height="height-2" filled="true"/>
+ <title color="gtk:fg[NORMAL]" x="(width-title_width)/2 `max` 10" y="(height-title_height)/2"/>
+ <include name="draw_relief_unfocused"/>
+ </draw_ops>
+<!--
+#######################################################
+# BORDER DRAW OPS
+#######################################################
+-->
+ <draw_ops name="draw_border_corners_focused">
+ <!-- top left -->
+ <line color="gtk:dark[SELECTED]" x1="top_height-1" y1="1" x2="top_height-1" y2="bottom_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="top_height" y1="1" x2="top_height" y2="bottom_height-1"/>
+ <!-- top right -->
+ <line color="gtk:dark[SELECTED]" x1="width-top_height-1" y1="1" x2="width-top_height-1" y2="bottom_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="width-top_height" y1="1" x2="width-top_height" y2="bottom_height-1"/>
+ <!-- right top -->
+ <line color="gtk:dark[SELECTED]" x1="width-right_width+1" y1="top_height-1" x2="width-2" y2="top_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="width-right_width+1" y1="top_height" x2="width-2" y2="top_height"/>
+ <!-- right bottom -->
+ <line color="gtk:dark[SELECTED]" x1="width-right_width+1" y1="height-top_height-1" x2="width-2" y2="height-top_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="width-right_width+1" y1="height-top_height" x2="width-2" y2="height-top_height"/>
+ <!-- bottom right -->
+ <line color="gtk:dark[SELECTED]" x1="width-top_height-1" y1="height-bottom_height+1" x2="width-top_height-1" y2="height-2"/>
+ <line color="gtk:light[SELECTED]" x1="width-top_height" y1="height-bottom_height+1" x2="width-top_height" y2="height-2"/>
+ <!-- bottom left -->
+ <line color="gtk:dark[SELECTED]" x1="top_height-1" y1="height-bottom_height+1" x2="top_height-1" y2="height-2"/>
+ <line color="gtk:light[SELECTED]" x1="top_height" y1="height-bottom_height+1" x2="top_height" y2="height-2"/>
+ <!-- left bottom -->
+ <line color="gtk:dark[SELECTED]" x1="1" y1="height-top_height-1" x2="left_width-1" y2="height-top_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="1" y1="height-top_height" x2="left_width-1" y2="height-top_height"/>
+ <!-- left top -->
+ <line color="gtk:dark[SELECTED]" x1="1" y1="top_height-1" x2="left_width-1" y2="top_height-1"/>
+ <line color="gtk:light[SELECTED]" x1="1" y1="top_height" x2="left_width-1" y2="top_height"/>
+ </draw_ops>
+ <draw_ops name="draw_border_corners_unfocused">
+ <!-- top left -->
+ <line color="gtk:dark[NORMAL]" x1="top_height-1" y1="1" x2="top_height-1" y2="bottom_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="top_height" y1="1" x2="top_height" y2="bottom_height-1"/>
+ <!-- top right -->
+ <line color="gtk:dark[NORMAL]" x1="width-top_height-1" y1="1" x2="width-top_height-1" y2="bottom_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="width-top_height" y1="1" x2="width-top_height" y2="bottom_height-1"/>
+ <!-- right top -->
+ <line color="gtk:dark[NORMAL]" x1="width-right_width+1" y1="top_height-1" x2="width-2" y2="top_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="width-right_width+1" y1="top_height" x2="width-2" y2="top_height"/>
+ <!-- right bottom -->
+ <line color="gtk:dark[NORMAL]" x1="width-right_width+1" y1="height-top_height-1" x2="width-2" y2="height-top_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="width-right_width+1" y1="height-top_height" x2="width-2" y2="height-top_height"/>
+ <!-- bottom right -->
+ <line color="gtk:dark[NORMAL]" x1="width-top_height-1" y1="height-bottom_height+1" x2="width-top_height-1" y2="height-2"/>
+ <line color="gtk:light[NORMAL]" x1="width-top_height" y1="height-bottom_height+1" x2="width-top_height" y2="height-2"/>
+ <!-- bottom left -->
+ <line color="gtk:dark[NORMAL]" x1="top_height-1" y1="height-bottom_height+1" x2="top_height-1" y2="height-2"/>
+ <line color="gtk:light[NORMAL]" x1="top_height" y1="height-bottom_height+1" x2="top_height" y2="height-2"/>
+ <!-- left bottom -->
+ <line color="gtk:dark[NORMAL]" x1="1" y1="height-top_height-1" x2="left_width-1" y2="height-top_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="1" y1="height-top_height" x2="left_width-1" y2="height-top_height"/>
+ <!-- left top -->
+ <line color="gtk:dark[NORMAL]" x1="1" y1="top_height-1" x2="left_width-1" y2="top_height-1"/>
+ <line color="gtk:light[NORMAL]" x1="1" y1="top_height" x2="left_width-1" y2="top_height"/>
+ </draw_ops>
+ <draw_ops name="draw_border_base_focused">
+ <!-- background -->
+ <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="width" height="right_width" filled="true"/>
+ <rectangle color="gtk:bg[SELECTED]" x="0" y="0" width="left_width" height="height" filled="true"/>
+ <rectangle color="gtk:bg[SELECTED]" x="width-right_width" y="0" width="right_width" height="height" filled="true"/>
+ <rectangle color="gtk:bg[SELECTED]" x="0" y="height-right_width" width="width" height="right_width" filled="true"/>
+ <!-- light -->
+ <line color="gtk:light[SELECTED]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:light[SELECTED]" x1="0" y1="1" x2="width-2" y2="1"/>
+ <line color="gtk:light[SELECTED]" x1="0" y1="2" x2="0" y2="height-1"/>
+ <line color="gtk:light[SELECTED]" x1="1" y1="2" x2="1" y2="height-2"/>
+ <line color="gtk:light[SELECTED]" x1="left_width" y1="height-right_width" x2="width-right_width" y2="height-right_width"/>
+ <line color="gtk:light[SELECTED]" x1="width-right_width" y1="right_width" x2="width-right_width" y2="height-right_width-1"/>
+ <!-- dark -->
+ <line color="gtk:dark[SELECTED]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:dark[SELECTED]" x1="2" y1="height-2" x2="width-1" y2="height-2"/>
+ <line color="gtk:dark[SELECTED]" x1="width-1" y1="1" x2="width-1" y2="height-3"/>
+ <line color="gtk:dark[SELECTED]" x1="width-2" y1="2" x2="width-2" y2="height-3"/>
+ <line color="gtk:dark[SELECTED]" x1="left_width-1" y1="right_width-1" x2="width-right_width" y2="right_width-1"/>
+ <line color="gtk:dark[SELECTED]" x1="left_width-1" y1="right_width" x2="left_width-1" y2="height-right_width"/>
+ </draw_ops>
+ <draw_ops name="draw_border_focused">
+ <include name="draw_border_base_focused"/>
+ <include name="draw_border_corners_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_border_nocorners_focused">
+ <include name="draw_border_base_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_border_base_unfocused">
+ <!-- background -->
+ <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="right_width" filled="true"/>
+ <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="left_width" height="height" filled="true"/>
+ <rectangle color="gtk:bg[NORMAL]" x="width-right_width" y="0" width="right_width" height="height" filled="true"/>
+ <rectangle color="gtk:bg[NORMAL]" x="0" y="height-right_width" width="width" height="right_width" filled="true"/>
+ <!-- light -->
+ <line color="gtk:light[NORMAL]" x1="0" y1="0" x2="width-1" y2="0"/>
+ <line color="gtk:light[NORMAL]" x1="0" y1="1" x2="width-2" y2="1"/>
+ <line color="gtk:light[NORMAL]" x1="0" y1="2" x2="0" y2="height-1"/>
+ <line color="gtk:light[NORMAL]" x1="1" y1="2" x2="1" y2="height-2"/>
+ <line color="gtk:light[NORMAL]" x1="left_width" y1="height-right_width" x2="width-right_width" y2="height-right_width"/>
+ <line color="gtk:light[NORMAL]" x1="width-right_width" y1="right_width" x2="width-right_width" y2="height-right_width-1"/>
+ <!-- dark -->
+ <line color="gtk:dark[NORMAL]" x1="1" y1="height-1" x2="width-1" y2="height-1"/>
+ <line color="gtk:dark[NORMAL]" x1="2" y1="height-2" x2="width-1" y2="height-2"/>
+ <line color="gtk:dark[NORMAL]" x1="width-1" y1="1" x2="width-1" y2="height-3"/>
+ <line color="gtk:dark[NORMAL]" x1="width-2" y1="2" x2="width-2" y2="height-3"/>
+ <line color="gtk:dark[NORMAL]" x1="left_width-1" y1="right_width-1" x2="width-right_width" y2="right_width-1"/>
+ <line color="gtk:dark[NORMAL]" x1="left_width-1" y1="right_width" x2="left_width-1" y2="height-right_width"/>
+ </draw_ops>
+ <draw_ops name="draw_border_unfocused">
+ <include name="draw_border_base_unfocused"/>
+ <include name="draw_border_corners_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_border_nocorners_unfocused">
+ <include name="draw_border_base_unfocused"/>
+ </draw_ops>
+<!--
+#######################################################
+# BUTTON DRAW OPS
+#######################################################
+##############
+# FOCUSED
+###############
+-->
+ <!-- MENU BUTTON -->
+ <draw_ops name="draw_button_menu_icon_focused">
+ <!-- draw menu icon -->
+ <line color="gtk:dark[SELECTED]" x1="width-5" y1="height/2-1" x2="width-5" y2="height/2+2"/>
+ <line color="gtk:dark[SELECTED]" x1="4" y1="height/2+2" x2="width-5" y2="height/2+2"/>
+ <line color="gtk:light[SELECTED]" x1="4" y1="height/2-1" x2="width-5" y2="height/2-1"/>
+ <line color="gtk:light[SELECTED]" x1="4" y1="height/2-1" x2="4" y2="height/2+2"/>
+ </draw_ops>
+ <draw_ops name="draw_button_menu_focused">
+ <include name="draw_panel_focused"/>
+ <include name="draw_button_menu_icon_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_menu_pressed_focused">
+ <include name="draw_panel_pressed_focused"/>
+ <include name="draw_button_menu_icon_focused"/>
+ </draw_ops>
+ <!-- MINIMIZE BUTTON -->
+ <draw_ops name="draw_button_minimize_icon_focused">
+ <!-- draw minimize icon -->
+ <line color="gtk:light[SELECTED]" x1="width/2-2" y1="height/2-1" x2="width/2+1" y2="height/2-1"/>
+ <line color="gtk:light[SELECTED]" x1="width/2-2" y1="height/2-1" x2="width/2-2" y2="height/2+2"/>
+ <line color="gtk:dark[SELECTED]" x1="width/2+1" y1="height/2" x2="width/2+1" y2="height/2+2"/>
+ <line color="gtk:dark[SELECTED]" x1="width/2-1" y1="height/2+2" x2="width/2+1" y2="height/2+2"/>
+ </draw_ops>
+ <draw_ops name="draw_button_minimize_focused">
+ <include name="draw_panel_focused"/>
+ <include name="draw_button_minimize_icon_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_minimize_pressed_focused">
+ <include name="draw_panel_pressed_focused"/>
+ <include name="draw_button_minimize_icon_focused"/>
+ </draw_ops>
+ <!-- MAXIMIZE BUTTON -->
+ <draw_ops name="draw_button_maximize_icon_focused">
+ <!-- draw maximize icon -->
+ <line color="gtk:light[SELECTED]" x1="4" y1="4" x2="width-5" y2="4"/>
+ <line color="gtk:light[SELECTED]" x1="4" y1="4" x2="4" y2="height-5"/>
+ <line color="gtk:dark[SELECTED]" x1="width-5" y1="5" x2="width-5" y2="height-5"/>
+ <line color="gtk:dark[SELECTED]" x1="5" y1="height-5" x2="width-5" y2="height-5"/>
+ </draw_ops>
+ <draw_ops name="draw_button_maximize_focused">
+ <include name="draw_panel_focused"/>
+ <include name="draw_button_maximize_icon_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_maximize_pressed_focused">
+ <include name="draw_panel_pressed_focused"/>
+ <include name="draw_button_maximize_icon_focused"/>
+ </draw_ops>
+ <!-- RESTORE BUTTON -->
+ <draw_ops name="draw_button_restore_icon_focused">
+ <!-- draw restore icon -->
+ <line color="gtk:dark[SELECTED]" x1="4" y1="4" x2="width-5" y2="4"/>
+ <line color="gtk:dark[SELECTED]" x1="4" y1="4" x2="4" y2="height-5"/>
+ <line color="gtk:light[SELECTED]" x1="width-5" y1="5" x2="width-5" y2="height-5"/>
+ <line color="gtk:light[SELECTED]" x1="5" y1="height-5" x2="width-5" y2="height-5"/>
+ </draw_ops>
+ <draw_ops name="draw_button_restore_focused">
+ <include name="draw_panel_focused"/>
+ <include name="draw_button_restore_icon_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_restore_pressed_focused">
+ <include name="draw_panel_pressed_focused"/>
+ <include name="draw_button_restore_icon_focused"/>
+ </draw_ops>
+ <!-- CLOSE BUTTON -->
+ <draw_ops name="draw_button_close_icon_focused">
+ <!-- draw close icon -->
+ <line color="gtk:light[SELECTED]" x1="4" y1="height-7" x2="width-7" y2="4"/>
+ <line color="gtk:dark[SELECTED]" x1="6" y1="height-5" x2="width-5" y2="6"/>
+ <line color="gtk:light[SELECTED]" x1="4" y1="6" x2="width-7" y2="height-5"/>
+ <line color="gtk:dark[SELECTED]" x1="6" y1="4" x2="width-5" y2="height-7"/>
+ <line color="gtk:dark[SELECTED]" x1="5" y1="height-6" x2="6" y2="height-5"/>
+ <line color="gtk:light[SELECTED]" x1="4" y1="6" x2="6" y2="4"/>
+ <line color="gtk:dark[SELECTED]" x1="width-7" y1="height-5" x2="width-5" y2="height-7"/>
+ <line color="gtk:dark[SELECTED]" x1="width-6" y1="5" x2="width-5" y2="6"/>
+ <line color="gtk:bg[SELECTED]" x1="5" y1="height-5" x2="width-6" y2="6"/>
+ <line color="gtk:bg[SELECTED]" x1="6" y1="height-7" x2="width-7" y2="6"/>
+ <line color="gtk:bg[SELECTED]" x1="4" y1="height-6" x2="width-7" y2="5"/>
+ <line color="gtk:bg[SELECTED]" x1="5" y1="6" x2="width-7" y2="height-6"/>
+ <line color="gtk:bg[SELECTED]" x1="6" y1="6" x2="width-7" y2="height-7"/>
+ <line color="gtk:bg[SELECTED]" x1="7" y1="6" x2="width-6" y2="height-7"/>
+ </draw_ops>
+ <draw_ops name="draw_button_close_focused">
+ <include name="draw_panel_focused"/>
+ <include name="draw_button_close_icon_focused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_close_pressed_focused">
+ <include name="draw_panel_pressed_focused"/>
+ <include name="draw_button_close_icon_focused"/>
+ </draw_ops>
+<!--
+################
+# UNFOCUSED
+################
+-->
+ <!-- MENU BUTTON -->
+ <draw_ops name="draw_button_menu_icon_unfocused">
+ <!-- draw menu icon -->
+ <line color="gtk:dark[NORMAL]" x1="width-5" y1="height/2-1" x2="width-5" y2="height/2+2"/>
+ <line color="gtk:dark[NORMAL]" x1="4" y1="height/2+2" x2="width-5" y2="height/2+2"/>
+ <line color="gtk:light[NORMAL]" x1="4" y1="height/2-1" x2="width-5" y2="height/2-1"/>
+ <line color="gtk:light[NORMAL]" x1="4" y1="height/2-1" x2="4" y2="height/2+2"/>
+ </draw_ops>
+ <draw_ops name="draw_button_menu_unfocused">
+ <include name="draw_panel_unfocused"/>
+ <include name="draw_button_menu_icon_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_menu_pressed_unfocused">
+ <include name="draw_panel_pressed_unfocused"/>
+ <include name="draw_button_menu_icon_unfocused"/>
+ </draw_ops>
+ <!-- MINIMIZE BUTTON -->
+ <draw_ops name="draw_button_minimize_icon_unfocused">
+ <!-- draw minimize icon -->
+ <line color="gtk:light[NORMAL]" x1="width/2-2" y1="height/2-1" x2="width/2+1" y2="height/2-1"/>
+ <line color="gtk:light[NORMAL]" x1="width/2-2" y1="height/2-1" x2="width/2-2" y2="height/2+2"/>
+ <line color="gtk:dark[NORMAL]" x1="width/2+1" y1="height/2" x2="width/2+1" y2="height/2+2"/>
+ <line color="gtk:dark[NORMAL]" x1="width/2-1" y1="height/2+2" x2="width/2+1" y2="height/2+2"/>
+ </draw_ops>
+ <draw_ops name="draw_button_minimize_unfocused">
+ <include name="draw_panel_unfocused"/>
+ <include name="draw_button_minimize_icon_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_minimize_pressed_unfocused">
+ <include name="draw_panel_pressed_unfocused"/>
+ <include name="draw_button_minimize_icon_unfocused"/>
+ </draw_ops>
+ <!-- MAXIMIZE BUTTON -->
+ <draw_ops name="draw_button_maximize_icon_unfocused">
+ <!-- draw maximize icon -->
+ <line color="gtk:light[NORMAL]" x1="4" y1="4" x2="width-5" y2="4"/>
+ <line color="gtk:light[NORMAL]" x1="4" y1="4" x2="4" y2="height-5"/>
+ <line color="gtk:dark[NORMAL]" x1="width-5" y1="5" x2="width-5" y2="height-5"/>
+ <line color="gtk:dark[NORMAL]" x1="5" y1="height-5" x2="width-5" y2="height-5"/>
+ </draw_ops>
+ <draw_ops name="draw_button_maximize_unfocused">
+ <include name="draw_panel_unfocused"/>
+ <include name="draw_button_maximize_icon_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_maximize_pressed_unfocused">
+ <include name="draw_panel_pressed_unfocused"/>
+ <include name="draw_button_maximize_icon_unfocused"/>
+ </draw_ops>
+ <!-- RESTORE BUTTON -->
+ <draw_ops name="draw_button_restore_icon_unfocused">
+ <!-- draw maximize icon -->
+ <line color="gtk:dark[NORMAL]" x1="4" y1="4" x2="width-5" y2="4"/>
+ <line color="gtk:dark[NORMAL]" x1="4" y1="4" x2="4" y2="height-5"/>
+ <line color="gtk:light[NORMAL]" x1="width-5" y1="5" x2="width-5" y2="height-5"/>
+ <line color="gtk:light[NORMAL]" x1="5" y1="height-5" x2="width-5" y2="height-5"/>
+ </draw_ops>
+ <draw_ops name="draw_button_restore_unfocused">
+ <include name="draw_panel_unfocused"/>
+ <include name="draw_button_restore_icon_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_restore_pressed_unfocused">
+ <include name="draw_panel_pressed_unfocused"/>
+ <include name="draw_button_restore_icon_unfocused"/>
+ </draw_ops>
+ <!-- CLOSE BUTTON -->
+ <draw_ops name="draw_button_close_icon_unfocused">
+ <!-- draw close icon -->
+ <line color="gtk:light[NORMAL]" x1="4" y1="height-7" x2="width-7" y2="4"/>
+ <line color="gtk:dark[NORMAL]" x1="6" y1="height-5" x2="width-5" y2="6"/>
+ <line color="gtk:light[NORMAL]" x1="4" y1="6" x2="width-7" y2="height-5"/>
+ <line color="gtk:dark[NORMAL]" x1="6" y1="4" x2="width-5" y2="height-7"/>
+ <line color="gtk:dark[NORMAL]" x1="5" y1="height-6" x2="6" y2="height-5"/>
+ <line color="gtk:light[NORMAL]" x1="4" y1="6" x2="6" y2="4"/>
+ <line color="gtk:dark[NORMAL]" x1="width-7" y1="height-5" x2="width-5" y2="height-7"/>
+ <line color="gtk:dark[NORMAL]" x1="width-6" y1="5" x2="width-5" y2="6"/>
+ <line color="gtk:bg[NORMAL]" x1="5" y1="height-5" x2="width-6" y2="6"/>
+ <line color="gtk:bg[NORMAL]" x1="6" y1="height-7" x2="width-7" y2="6"/>
+ <line color="gtk:bg[NORMAL]" x1="4" y1="height-6" x2="width-7" y2="5"/>
+ <line color="gtk:bg[NORMAL]" x1="5" y1="6" x2="width-7" y2="height-6"/>
+ <line color="gtk:bg[NORMAL]" x1="6" y1="6" x2="width-7" y2="height-7"/>
+ <line color="gtk:bg[NORMAL]" x1="7" y1="6" x2="width-6" y2="height-7"/>
+ </draw_ops>
+ <draw_ops name="draw_button_close_unfocused">
+ <include name="draw_panel_unfocused"/>
+ <include name="draw_button_close_icon_unfocused"/>
+ </draw_ops>
+ <draw_ops name="draw_button_close_pressed_unfocused">
+ <include name="draw_panel_pressed_unfocused"/>
+ <include name="draw_button_close_icon_unfocused"/>
+ </draw_ops>
+ <!-- BORDER BUTTON STUB-->
+ <draw_ops name="border_stub"/>
+<!--
+#######################################################
+# FRAME STYLES
+#######################################################
+##############
+# FOCUSED
+##############
+-->
+ <!-- NORMAL + SHADED STYLE -->
+ <frame_style name="style_focused_common" geometry="normal">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_focused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_maximize_focused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_focused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/>
+ </frame_style>
+ <frame_style name="style_nocorners_focused" geometry="normal">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_focused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_maximize_focused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_focused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/>
+ </frame_style>
+ <frame_style name="style_maximized_focused" geometry="maximized">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_focused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_restore_focused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_focused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/>
+ </frame_style>
+ <frame_style name="style_maximized_shaded_focused" geometry="shaded">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_focused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_focused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_focused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_focused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_restore_focused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_focused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_focused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_focused"/>
+ </frame_style>
+ <!-- NORMAL STYLE -->
+ <frame_style name="style_focused" geometry="normal" parent="style_focused_common"/>
+ <!-- SHADED STYLE -->
+ <frame_style name="style_shaded_focused" geometry="shaded" parent="style_nocorners_focused"/>
+ <!-- BORDER STYLE -->
+ <frame_style name="style_focused_border" geometry="border">
+ <!-- borders -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_focused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons : Not sure why i need these -->
+ <button function="close" state="normal" draw_ops="border_stub"/>
+ <button function="close" state="pressed" draw_ops="border_stub"/>
+ <button function="minimize" state="normal" draw_ops="border_stub"/>
+ <button function="minimize" state="pressed" draw_ops="border_stub"/>
+ <button function="maximize" state="normal" draw_ops="border_stub"/>
+ <button function="maximize" state="pressed" draw_ops="border_stub"/>
+ <button function="menu" state="normal" draw_ops="border_stub"/>
+ <button function="menu" state="pressed" draw_ops="border_stub"/>
+ </frame_style>
+<!--
+################
+# UNFOCUSED
+################
+-->
+ <!-- NORMAL + SHADED STYLE -->
+ <frame_style name="style_unfocused_common" geometry="normal">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_maximize_unfocused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_unfocused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/>
+ </frame_style>
+ <frame_style name="style_nocorners_unfocused" geometry="normal">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_maximize_unfocused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_maximize_pressed_unfocused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/>
+ </frame_style>
+ <frame_style name="style_maximized_unfocused" geometry="maximized">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_restore_unfocused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_unfocused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/>
+ </frame_style>
+ <!-- maximized without resize handles -->
+ <frame_style name="style_maximized_shaded_unfocused" geometry="shaded">
+ <!-- border -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- Title Text -->
+ <piece position="title">
+ <draw_ops>
+ <include name="draw_title_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons -->
+ <button function="close" state="normal" draw_ops="draw_button_close_unfocused"/>
+ <button function="close" state="pressed" draw_ops="draw_button_close_pressed_unfocused"/>
+ <button function="minimize" state="normal" draw_ops="draw_button_minimize_unfocused"/>
+ <button function="minimize" state="pressed" draw_ops="draw_button_minimize_pressed_unfocused"/>
+ <button function="maximize" state="normal" draw_ops="draw_button_restore_unfocused"/>
+ <button function="maximize" state="pressed" draw_ops="draw_button_restore_pressed_unfocused"/>
+ <button function="menu" state="normal" draw_ops="draw_button_menu_unfocused"/>
+ <button function="menu" state="pressed" draw_ops="draw_button_menu_pressed_unfocused"/>
+ </frame_style>
+ <!-- NORMAL STYLE -->
+ <frame_style name="style_unfocused" geometry="normal" parent="style_unfocused_common"/>
+ <!-- SHADED STYLE -->
+ <frame_style name="style_shaded_unfocused" geometry="shaded" parent="style_nocorners_unfocused"/>
+ <!-- BORDER STYLE -->
+ <frame_style name="style_unfocused_border" geometry="border">
+ <!-- borders -->
+ <piece position="entire_background">
+ <draw_ops>
+ <include name="draw_border_nocorners_unfocused"/>
+ </draw_ops>
+ </piece>
+ <!-- buttons : Not sure why i need these -->
+ <button function="close" state="normal" draw_ops="border_stub"/>
+ <button function="close" state="pressed" draw_ops="border_stub"/>
+ <button function="minimize" state="normal" draw_ops="border_stub"/>
+ <button function="minimize" state="pressed" draw_ops="border_stub"/>
+ <button function="maximize" state="normal" draw_ops="border_stub"/>
+ <button function="maximize" state="pressed" draw_ops="border_stub"/>
+ <button function="menu" state="normal" draw_ops="border_stub"/>
+ <button function="menu" state="pressed" draw_ops="border_stub"/>
+ </frame_style>
+<!--
+#######################################################
+# STYLES SETS
+#######################################################
+-->
+ <!-- NORMAL STYLE SET -->
+ <frame_style_set name="normal">
+ <frame focus="yes" state="normal" resize="both" style="style_focused"/>
+ <frame focus="no" state="normal" resize="both" style="style_unfocused"/>
+ <frame focus="yes" state="maximized" style="style_maximized_focused"/>
+ <frame focus="no" state="maximized" style="style_maximized_unfocused"/>
+ <frame focus="yes" state="shaded" style="style_shaded_focused"/>
+ <frame focus="no" state="shaded" style="style_shaded_unfocused"/>
+ <frame focus="yes" state="maximized_and_shaded" style="style_maximized_shaded_focused"/>
+ <frame focus="no" state="maximized_and_shaded" style="style_maximized_shaded_unfocused"/>
+ </frame_style_set>
+ <!-- NOCORNERS STYLE SET -->
+ <frame_style_set name="nocorners">
+ <frame focus="yes" state="normal" resize="both" style="style_nocorners_focused"/>
+ <frame focus="no" state="normal" resize="both" style="style_nocorners_unfocused"/>
+ <frame focus="yes" state="maximized" style="style_nocorners_focused"/>
+ <frame focus="no" state="maximized" style="style_nocorners_unfocused"/>
+ <frame focus="yes" state="shaded" style="style_shaded_focused"/>
+ <frame focus="no" state="shaded" style="style_shaded_unfocused"/>
+ <frame focus="yes" state="maximized_and_shaded" style="style_nocorners_focused"/>
+ <frame focus="no" state="maximized_and_shaded" style="style_nocorners_unfocused"/>
+ </frame_style_set>
+ <!-- BORDER STYLE SET -->
+ <frame_style_set name="border">
+ <frame focus="yes" state="normal" resize="both" style="style_focused_border"/>
+ <frame focus="no" state="normal" resize="both" style="style_unfocused_border"/>
+ <frame focus="yes" state="maximized" style="style_focused_border"/>
+ <frame focus="no" state="maximized" style="style_unfocused_border"/>
+ <frame focus="yes" state="shaded" style="style_focused_border"/>
+ <frame focus="no" state="shaded" style="style_unfocused_border"/>
+ <frame focus="yes" state="maximized_and_shaded" style="style_focused_border"/>
+ <frame focus="no" state="maximized_and_shaded" style="style_unfocused_border"/>
+ </frame_style_set>
+ <window type="normal" style_set="normal"/>
+ <window type="dialog" style_set="nocorners"/>
+ <window type="modal_dialog" style_set="nocorners"/>
+ <window type="menu" style_set="nocorners"/>
+ <window type="utility" style_set="normal"/>
+ <window type="border" style_set="border"/>
+<!--
+#######################################################
+# MENU ICONS
+#######################################################
+-->
+ <menu_icon function="maximize" state="normal">
+ <draw_ops>
+ <include name="draw_button_maximize_icon_unfocused"/>
+ </draw_ops>
+ </menu_icon>
+ <menu_icon function="close" state="normal">
+ <draw_ops>
+ <include name="draw_button_close_icon_unfocused"/>
+ </draw_ops>
+ </menu_icon>
+ <menu_icon function="minimize" state="normal">
+ <draw_ops>
+ <include name="draw_button_minimize_icon_unfocused"/>
+ </draw_ops>
+ </menu_icon>
+ <menu_icon function="unmaximize" state="normal">
+ <draw_ops/>
+ </menu_icon>
+</metacity_theme>