summaryrefslogtreecommitdiff
path: root/src/themes/Gorilla
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/Gorilla')
-rw-r--r--src/themes/Gorilla/active-button.pngbin0 -> 844 bytes
-rw-r--r--src/themes/Gorilla/active-close-button.pngbin0 -> 896 bytes
-rw-r--r--src/themes/Gorilla/active-close-menu-icon.pngbin0 -> 258 bytes
-rw-r--r--src/themes/Gorilla/active-maximize-button.pngbin0 -> 886 bytes
-rw-r--r--src/themes/Gorilla/active-maximize-menu-icon.pngbin0 -> 284 bytes
-rw-r--r--src/themes/Gorilla/active-menu-button.pngbin0 -> 873 bytes
-rw-r--r--src/themes/Gorilla/active-minimize-button.pngbin0 -> 914 bytes
-rw-r--r--src/themes/Gorilla/active-minimize-menu-icon.pngbin0 -> 332 bytes
-rw-r--r--src/themes/Gorilla/inactive-close-button.pngbin0 -> 919 bytes
-rw-r--r--src/themes/Gorilla/inactive-maximize-button.pngbin0 -> 903 bytes
-rw-r--r--src/themes/Gorilla/inactive-menu-button.pngbin0 -> 900 bytes
-rw-r--r--src/themes/Gorilla/inactive-minimize-button.pngbin0 -> 927 bytes
-rw-r--r--src/themes/Gorilla/meson.build16
-rw-r--r--src/themes/Gorilla/metacity-theme-1.xml260
14 files changed, 276 insertions, 0 deletions
diff --git a/src/themes/Gorilla/active-button.png b/src/themes/Gorilla/active-button.png
new file mode 100644
index 00000000..64455b33
--- /dev/null
+++ b/src/themes/Gorilla/active-button.png
Binary files differ
diff --git a/src/themes/Gorilla/active-close-button.png b/src/themes/Gorilla/active-close-button.png
new file mode 100644
index 00000000..1d292165
--- /dev/null
+++ b/src/themes/Gorilla/active-close-button.png
Binary files differ
diff --git a/src/themes/Gorilla/active-close-menu-icon.png b/src/themes/Gorilla/active-close-menu-icon.png
new file mode 100644
index 00000000..b77f77ae
--- /dev/null
+++ b/src/themes/Gorilla/active-close-menu-icon.png
Binary files differ
diff --git a/src/themes/Gorilla/active-maximize-button.png b/src/themes/Gorilla/active-maximize-button.png
new file mode 100644
index 00000000..a982e5cb
--- /dev/null
+++ b/src/themes/Gorilla/active-maximize-button.png
Binary files differ
diff --git a/src/themes/Gorilla/active-maximize-menu-icon.png b/src/themes/Gorilla/active-maximize-menu-icon.png
new file mode 100644
index 00000000..02ccc37a
--- /dev/null
+++ b/src/themes/Gorilla/active-maximize-menu-icon.png
Binary files differ
diff --git a/src/themes/Gorilla/active-menu-button.png b/src/themes/Gorilla/active-menu-button.png
new file mode 100644
index 00000000..b55d7078
--- /dev/null
+++ b/src/themes/Gorilla/active-menu-button.png
Binary files differ
diff --git a/src/themes/Gorilla/active-minimize-button.png b/src/themes/Gorilla/active-minimize-button.png
new file mode 100644
index 00000000..4205f4e8
--- /dev/null
+++ b/src/themes/Gorilla/active-minimize-button.png
Binary files differ
diff --git a/src/themes/Gorilla/active-minimize-menu-icon.png b/src/themes/Gorilla/active-minimize-menu-icon.png
new file mode 100644
index 00000000..29276929
--- /dev/null
+++ b/src/themes/Gorilla/active-minimize-menu-icon.png
Binary files differ
diff --git a/src/themes/Gorilla/inactive-close-button.png b/src/themes/Gorilla/inactive-close-button.png
new file mode 100644
index 00000000..c566b12f
--- /dev/null
+++ b/src/themes/Gorilla/inactive-close-button.png
Binary files differ
diff --git a/src/themes/Gorilla/inactive-maximize-button.png b/src/themes/Gorilla/inactive-maximize-button.png
new file mode 100644
index 00000000..9c838823
--- /dev/null
+++ b/src/themes/Gorilla/inactive-maximize-button.png
Binary files differ
diff --git a/src/themes/Gorilla/inactive-menu-button.png b/src/themes/Gorilla/inactive-menu-button.png
new file mode 100644
index 00000000..b000a378
--- /dev/null
+++ b/src/themes/Gorilla/inactive-menu-button.png
Binary files differ
diff --git a/src/themes/Gorilla/inactive-minimize-button.png b/src/themes/Gorilla/inactive-minimize-button.png
new file mode 100644
index 00000000..4459af4e
--- /dev/null
+++ b/src/themes/Gorilla/inactive-minimize-button.png
Binary files differ
diff --git a/src/themes/Gorilla/meson.build b/src/themes/Gorilla/meson.build
new file mode 100644
index 00000000..b21d658e
--- /dev/null
+++ b/src/themes/Gorilla/meson.build
@@ -0,0 +1,16 @@
+install_data(
+ 'active-button.png',
+ 'active-close-button.png',
+ 'active-close-menu-icon.png',
+ 'active-maximize-button.png',
+ 'active-maximize-menu-icon.png',
+ 'active-menu-button.png',
+ 'active-minimize-button.png',
+ 'active-minimize-menu-icon.png',
+ 'inactive-close-button.png',
+ 'inactive-maximize-button.png',
+ 'inactive-menu-button.png',
+ 'inactive-minimize-button.png',
+ 'metacity-theme-1.xml',
+ install_dir : join_paths(datadir, 'themes', 'Gorilla', 'metacity-1')
+)
diff --git a/src/themes/Gorilla/metacity-theme-1.xml b/src/themes/Gorilla/metacity-theme-1.xml
new file mode 100644
index 00000000..7dde366a
--- /dev/null
+++ b/src/themes/Gorilla/metacity-theme-1.xml
@@ -0,0 +1,260 @@
+<?xml version="1.0"?>
+<metacity_theme>
+<info>
+ <name>Gorilla</name>
+ <author>Kenneth Christiansen &lt;[email protected]&gt; Anders Carlsson &lt;[email protected]&gt;</author>
+ <copyright>&#194; Ximian, Inc, 2001</copyright>
+ <date>February 8, 2002</date>
+ <description>A port of the Gorilla theme by Jacub Steiner</description>
+</info>
+
+<!-- define constants -->
+<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title -->
+<constant name="ButtonWidth" value="18"/> <!-- Button width -->
+
+<frame_geometry name="normal">
+ <distance name="left_width" value="6"/>
+ <distance name="right_width" value="6"/>
+ <distance name="bottom_height" value="6"/>
+ <distance name="left_titlebar_edge" value="8"/>
+ <distance name="right_titlebar_edge" value="8"/>
+ <aspect_ratio name="button" value="1.0"/>
+ <distance name="title_vertical_pad" value="0"/>
+ <border name="title_border" left="0" right="0" top="7" bottom="4"/>
+ <border name="button_border" left="0" right="0" top="9" bottom="0"/>
+</frame_geometry>
+
+
+<!-- Buttons -->
+
+<draw_ops name="title_tile">
+ <line color="#494d59" x1="0" y1="0" x2="width" y2="0"/>
+ <line color="#515961" x1="0" y1="1" x2="width" y2="1"/>
+</draw_ops>
+
+<!-- Inactive style -->
+<frame_style name="normal" geometry="normal">
+ <piece position="entire_background">
+ <draw_ops>
+ <rectangle color="black" x="1" y="1" width="width - 2" height="height - 2" filled="true"/>
+ <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/>
+ <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/>
+ <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/>
+ <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/>
+ <rectangle color="gtk:bg[INSENSITIVE]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/>
+
+ <line color="gtk:bg[INSENSITIVE]" x1="1" y1="1" x2="2" y2="2"/>
+ <line color="gtk:bg[INSENSITIVE]" x1="1" y1="height - 2" x2="1" y2="height"/>
+ <line color="gtk:bg[INSENSITIVE]" x1="width - 2" y1="1" x2="width - 1" y2="2"/>
+ <line color="gtk:bg[INSENSITIVE]" x1="width - 1" y1="height - 1" x2="width - 2" y2="height - 2"/>
+ </draw_ops>
+ </piece>
+
+ <piece position="title">
+ <draw_ops>
+ <title color="gray" x="IconTitleSpacing" y="0"/>
+ </draw_ops>
+ </piece>
+
+ <piece position="titlebar">
+ <draw_ops>
+ <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/>
+ <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/>
+ </draw_ops>
+ </piece>
+
+ <button function="close" state="normal">
+ <draw_ops>
+ <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="close" state="pressed">
+ <draw_ops>
+ <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="minimize" state="normal">
+ <draw_ops>
+ <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="minimize" state="pressed">
+ <draw_ops>
+ <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="maximize" state="normal">
+ <draw_ops>
+ <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="maximize" state="pressed">
+ <draw_ops>
+ <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="menu" state="normal">
+ <draw_ops>
+ <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="menu" state="pressed">
+ <draw_ops>
+ <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+
+</frame_style>
+
+
+<!-- Active (focused) shaded style -->
+<frame_style name="normal_shaded" geometry="normal" parent="normal">
+
+</frame_style>
+
+<!-- Active (focused) style -->
+<frame_style name="focused" geometry="normal">
+ <piece position="entire_background">
+ <draw_ops>
+ <rectangle color="black" x="0" y="0" width="width" height="height" filled="true"/>
+ <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/>
+ <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/>
+ <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/>
+ <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/>
+ <rectangle color="gtk:bg[NORMAL]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/>
+
+ <line color="gtk:bg[NORMAL]" x1="0" y1="0" x2="1" y2="1"/>
+ <line color="gtk:bg[NORMAL]" x1="0" y1="height - 1" x2="1" y2="height"/>
+ <line color="gtk:bg[NORMAL]" x1="width - 1" y1="0" x2="width" y2="1"/>
+ <line color="gtk:bg[NORMAL]" x1="width" y1="height" x2="width - 1" y2="height - 1"/>
+ </draw_ops>
+ </piece>
+
+ <piece position="title">
+ <draw_ops>
+ <title color="white" x="IconTitleSpacing" y="0"/>
+ </draw_ops>
+ </piece>
+
+ <piece position="titlebar">
+ <draw_ops>
+ <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/>
+ <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/>
+ </draw_ops>
+ </piece>
+
+ <button function="close" state="normal">
+ <draw_ops>
+ <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="close" state="pressed">
+ <draw_ops>
+ <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="minimize" state="normal">
+ <draw_ops>
+ <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="minimize" state="pressed">
+ <draw_ops>
+ <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="maximize" state="normal">
+ <draw_ops>
+ <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="maximize" state="pressed">
+ <draw_ops>
+ <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="menu" state="normal">
+ <draw_ops>
+ <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+ <button function="menu" state="pressed">
+ <draw_ops>
+ <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/>
+ </draw_ops>
+ </button>
+
+</frame_style>
+
+<!-- Active (focused) shaded style -->
+<frame_style name="focused_shaded" geometry="normal" parent="focused">
+
+</frame_style>
+
+<frame_style_set name="normal">
+<frame focus="yes" state="shaded" style="focused_shaded"/>
+<frame focus="yes" state="normal" resize="both" style="focused"/>
+<frame focus="yes" state="maximized" style="focused"/>
+<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/>
+<frame focus="no" state="normal" resize="both" style="normal"/>
+<frame focus="no" state="shaded" style="normal_shaded"/>
+<frame focus="no" state="maximized" style="normal"/>
+<frame focus="no" state="maximized_and_shaded" style="normal_shaded"/>
+</frame_style_set>
+
+<window type="normal" style_set="normal"/>
+<window type="dialog" style_set="normal"/>
+<window type="modal_dialog" style_set="normal"/>
+<window type="menu" style_set="normal"/>
+<window type="utility" style_set="normal"/>
+<window type="border" style_set="normal"/>
+
+<menu_icon function="maximize" state="normal">
+ <draw_ops>
+ <image filename="active-maximize-menu-icon.png"
+ x="(width - object_width) / 2"
+ y="(height - object_height) / 2"
+ width="object_width" height="object_height"/>
+ </draw_ops>
+</menu_icon>
+
+
+<menu_icon function="close" state="normal">
+ <draw_ops>
+ <image filename="active-close-menu-icon.png"
+ x="(width - object_width) / 2"
+ y="(height - object_height) / 2"
+ width="object_width" height="object_height"/>
+ </draw_ops>
+</menu_icon>
+
+<menu_icon function="minimize" state="normal">
+ <draw_ops>
+ <image filename="active-minimize-menu-icon.png"
+ x="(width - object_width) / 2"
+ y="(height - object_height) / 2"
+ width="object_width" height="object_height"/>
+ </draw_ops>
+</menu_icon>
+
+<menu_icon function="unmaximize" state="normal">
+ <draw_ops>
+ </draw_ops>
+</menu_icon>
+
+</metacity_theme>