src/themes/Crux/metacity-theme-1.xml Add Crux theme

2002-02-07  Anders Carlsson  <andersca@gnu.org>

	* src/themes/Crux/metacity-theme-1.xml
	* src/themes/Crux/*.png:
	Add Crux theme
This commit is contained in:
Anders Carlsson 2002-02-06 23:08:00 +00:00 committed by Anders Carlsson
parent 9c5809ce5e
commit 41e5fbb963
59 changed files with 476 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

View File

@ -0,0 +1,476 @@
<?xml version="1.0"?>
<metacity_theme>
<info>
<name>Crux</name>
<author>Anders Carlsson &lt;andersca@gnu.org&gt;</author>
<copyright>&#194; Eazel Inc, 2000</copyright>
<date>February 6, 2002</date>
<description>A port of the Crux theme by Arlo Rose and John Harper</description>
</info>
<!-- define constants -->
<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title -->
<constant name="CenterTitlePieceWidth" value="48"/> <!-- Width of center title piece -->
<constant name="ButtonWidth" value="16"/> <!-- Button width -->
<frame_geometry name="normal">
<distance name="left_width" value="5"/>
<distance name="right_width" value="6"/>
<distance name="bottom_height" value="6"/>
<distance name="left_titlebar_edge" value="5"/>
<distance name="right_titlebar_edge" value="6"/>
<distance name="button_width" value="16"/>
<distance name="button_height" value="16"/>
<distance name="title_vertical_pad" value="6"/>
<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="active_button">
<image filename="active-button.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="active_button_pressed">
<image filename="active-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="active_button_prelight">
<image filename="active-button-prelight.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="inactive_button">
<image filename="inactive-button.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="inactive_button_pressed">
<image filename="inactive-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="inactive_button_prelight">
<image filename="inactive-button-prelight.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<!-- Inactive style -->
<frame_style name="normal" geometry="normal">
<piece position="left_edge">
<draw_ops>
<image filename="inactive-left-border.png" x="0" y="0" width="object_width" height="height"/>
</draw_ops>
</piece>
<piece position="right_edge">
<draw_ops>
<image filename="inactive-right-border.png" x="0" y="0" width="object_width" height="height"/>
</draw_ops>
</piece>
<piece position="title">
<draw_ops>
<title color="white" x="IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/>
</draw_ops>
</piece>
<piece position="titlebar">
<draw_ops>
<image filename="inactive-left-top-border.png"
x="0" y="3" width="object_width" height="height"/>
<image filename="inactive-top-left-border.png"
x="0" y="0" width="object_width" height="object_height"/>
<image filename="inactive-top-right-border.png"
x="width - object_width" y="0" width="object_width" height="object_height"/>
<image filename="inactive-right-top-border.png"
x="width - object_width" y="3" width="object_width" height="object_height"/>
<image filename="inactive-top-center-left.png"
x="4" y="3"
width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min`
(width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth - 3)"
height="object_height"/>
<image filename="inactive-top-center-left-border.png"
x="left_width + 11" y="0"
width="(title_width + 8) `min`
(width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth - 3)"
height="object_height"/>
<image filename="inactive-top-center-mid.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width - right_width - 3 * ButtonWidth)) + 1"
y="3" width="object_width" height="object_height"/>
<image filename="inactive-top-center-mid-border.png"
x="((left_width + 16 + title_width + IconTitleSpacing) `min` (width - CenterTitlePieceWidth - right_width - 3 * ButtonWidth)) + 1" y="0"
width="object_width" height="object_height"/>
<image filename="inactive-top-center-right-border.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width + 16) `min` (width - 3 * ButtonWidth - right_width - 32)) + 1"
y="0"
width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - 33) `max` (3 * ButtonWidth + 21)"
height="object_height"/>
<image filename="inactive-top-center-right.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth) `min` (width - 3 * ButtonWidth - right_width)) + 1"
y="3"
width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth - right_width) `max` (3 * ButtonWidth)"
height="object_height"/>
</draw_ops>
</piece>
<!-- We have to draw the bottom edge in the background piece
because that's the only way we can get the correct window height -->
<piece position="overlay">
<draw_ops>
<image filename="inactive-bottom-left-corner.png"
x="0" y="height - object_height" width="object_width" height="object_height"/>
<image filename="inactive-bottom-left-border.png" x="5" y="height - object_height"
width="((title_width + height / 2 - 4) `min` (width - object_width - 26))"
height="object_height"/>
<image filename="inactive-bottom-mid-border.png"
x="((title_width + height / 2) `min` (width - object_width - 6)) + 1"
y="height - object_height" width="object_width" height="object_height"/>
<image filename="inactive-bottom-right-border.png"
x="((title_width + height / 2 + 32)) + 1"
y="height - object_height"
width="(width - title_width - height / 2 - 32 - 7) `max` 0"
height="object_height"/>
<image filename="inactive-bottom-right-corner.png"
x="width - object_width" y="height - object_height" width="object_height" height="object_height"/>
</draw_ops>
</piece>
<button function="close" state="normal">
<draw_ops>
<include name="inactive_button"/>
<image filename="inactive-close-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="close" state="pressed">
<draw_ops>
<include name="inactive_button_pressed"/>
<image filename="inactive-close-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="normal">
<draw_ops>
<include name="inactive_button"/>
<image filename="inactive-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="pressed">
<draw_ops>
<include name="inactive_button_pressed"/>
<image filename="inactive-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="prelight">
<draw_ops>
<include name="inactive_button_prelight"/>
<image filename="inactive-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="normal">
<draw_ops>
<include name="inactive_button"/>
<image filename="inactive-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="pressed">
<draw_ops>
<include name="inactive_button_pressed"/>
<image filename="inactive-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="prelight">
<draw_ops>
<include name="inactive_button_prelight"/>
<image filename="inactive-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="normal">
<draw_ops>
<image filename="inactive-menu-button.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="pressed">
<draw_ops>
<image filename="inactive-menu-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="prelight">
<draw_ops>
<image filename="inactive-menu-button-prelight.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
</frame_style>
<!-- Active (focused) shaded style -->
<frame_style name="normal_shaded" geometry="normal" parent="normal">
<piece position="left_titlebar_edge">
<draw_ops>
<image filename="inactive-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/>
</draw_ops>
</piece>
<piece position="right_titlebar_edge">
<draw_ops>
<image filename="inactive-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/>
</draw_ops>
</piece>
</frame_style>
<!-- Active (focused) style -->
<frame_style name="focused" geometry="normal">
<piece position="left_edge">
<draw_ops>
<image colorize="gtk:bg[SELECTED]" filename="active-left-border.png" x="0" y="0" width="object_width" height="height"/>
</draw_ops>
</piece>
<piece position="right_edge">
<draw_ops>
<image filename="active-right-border.png" x="0" y="0" width="object_width" height="height"/>
</draw_ops>
</piece>
<piece position="title">
<draw_ops>
<title color="white" x="IconTitleSpacing" y="((height - title_height) / 2) `max` 0"/>
</draw_ops>
</piece>
<piece position="titlebar">
<draw_ops>
<image filename="active-left-top-border.png"
colorize="gtk:bg[SELECTED]"
x="0" y="3" width="object_width" height="height"/>
<image filename="active-top-left-border.png"
colorize="gtk:bg[SELECTED]"
x="0" y="0" width="object_width" height="object_height"/>
<image filename="active-top-right-border.png"
x="width - object_width" y="0" width="object_width" height="object_height"/>
<image filename="active-right-top-border.png"
x="width - object_width" y="3" width="object_width" height="object_height"/>
<image filename="active-top-center-left.png"
colorize="gtk:bg[SELECTED]"
x="4" y="3"
width="(left_width + ButtonWidth + IconTitleSpacing + title_width) `min`
(width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth - 3)"
height="object_height"/>
<image filename="active-top-center-left-border.png"
colorize="gtk:bg[SELECTED]"
x="left_width + 11" y="0"
width="(title_width + 8) `min`
(width - right_width - 3 * ButtonWidth - CenterTitlePieceWidth - 3)"
height="object_height"/>
<image filename="active-top-center-mid-left-border.png"
colorize="gtk:bg[SELECTED]"
x="((left_width + 16 + title_width + IconTitleSpacing) `min` (width - CenterTitlePieceWidth - right_width - 3 * ButtonWidth)) + 1" y="0"
width="object_width" height="object_height"/>
<image filename="active-top-center-mid-right-border.png"
x="((left_width + 16 + title_width + IconTitleSpacing) `min` (width - CenterTitlePieceWidth - right_width - 3 * ButtonWidth)) + 1" y="0"
width="object_width" height="object_height"/>
<image filename="active-top-center-mid-left.png"
colorize="gtk:bg[SELECTED]"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width - right_width - 3 * ButtonWidth)) + 1"
y="3" width="object_width" height="object_height"/>
<image filename="active-top-center-mid-right.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width) `min` (width - object_width - right_width - 3 * ButtonWidth)) + 1"
y="3" width="object_width" height="object_height"/>
<image filename="active-top-center-right-border.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width + 16) `min` (width - 3 * ButtonWidth - right_width - 32)) + 1"
y="0"
width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - 33) `max` (3 * ButtonWidth + 21)"
height="object_height"/>
<image filename="active-top-center-right.png"
x="((left_width + ButtonWidth + IconTitleSpacing + title_width + CenterTitlePieceWidth) `min` (width - 3 * ButtonWidth - right_width)) + 1"
y="3"
width="(width - title_width - left_width - ButtonWidth - IconTitleSpacing - CenterTitlePieceWidth - right_width) `max` (3 * ButtonWidth)"
height="object_height"/>
</draw_ops>
</piece>
<!-- We have to draw the bottom edge in the background piece
because that's the only way we can get the correct window height -->
<piece position="overlay">
<draw_ops>
<image filename="active-bottom-left-corner.png"
colorize="gtk:bg[SELECTED]"
x="0" y="height - object_height" width="object_width" height="object_height"/>
<image filename="active-bottom-left-border.png" x="5" y="height - object_height"
colorize="gtk:bg[SELECTED]"
width="((title_width + height / 2 - 4) `min` (width - object_width - 26))"
height="object_height"/>
<image filename="active-bottom-mid-left-border.png"
colorize="gtk:bg[SELECTED]"
x="((title_width + height / 2) `min` (width - object_width - 6)) + 1"
y="height - object_height" width="object_width" height="object_height"/>
<image filename="active-bottom-mid-right-border.png"
x="((title_width + height / 2) `min` (width - object_width - 6)) + 1"
y="height - object_height" width="object_width" height="object_height"/>
<image filename="active-bottom-right-border.png"
x="((title_width + height / 2 + 32)) + 1"
y="height - object_height"
width="(width - title_width - height / 2 - 32 - 7) `max` 0"
height="object_height"/>
<image filename="active-bottom-right-corner.png"
x="width - object_width" y="height - object_height" width="object_height" height="object_height"/>
</draw_ops>
</piece>
<button function="close" state="normal">
<draw_ops>
<include name="active_button"/>
<image filename="active-close-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="close" state="pressed">
<draw_ops>
<include name="active_button_pressed"/>
<image filename="active-close-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="normal">
<draw_ops>
<include name="active_button"/>
<image filename="active-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="pressed">
<draw_ops>
<include name="active_button_pressed"/>
<image filename="active-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="minimize" state="prelight">
<draw_ops>
<include name="active_button_prelight"/>
<image filename="active-minimize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="normal">
<draw_ops>
<include name="active_button"/>
<image filename="active-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="pressed">
<draw_ops>
<include name="active_button_pressed"/>
<image filename="active-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="maximize" state="prelight">
<draw_ops>
<include name="active_button_prelight"/>
<image filename="active-maximize-button.png" x="2" y="2" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="normal">
<draw_ops>
<image colorize="gtk:bg[SELECTED]" filename="active-menu-button.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="pressed">
<draw_ops>
<image colorize="gtk:bg[SELECTED]" filename="active-menu-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
<button function="menu" state="prelight">
<draw_ops>
<image colorize="gtk:bg[SELECTED]" filename="active-menu-button-prelight.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
</button>
</frame_style>
<!-- Active (focused) shaded style -->
<frame_style name="focused_shaded" geometry="normal" parent="focused">
<piece position="left_titlebar_edge">
<draw_ops>
<image colorize="gtk:bg[SELECTED]" filename="active-left-top-border-shaded.png" x="0" y="3" width="object_width" height="object_height"/>
</draw_ops>
</piece>
<piece position="right_titlebar_edge">
<draw_ops>
<image filename="active-right-top-border-shaded.png" x="width - object_width" y="3" width="object_width" height="object_height"/>
</draw_ops>
</piece>
</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="no" state="normal" resize="both" style="normal"/>
<frame focus="no" state="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"/>
<menu_icon function="close" state="normal">
<draw_ops>
<image filename="active-close-button.png"
x="(width - object_width) / 2"
y="(height - object_height) / 2"
width="object_width" height="object_height"/>
</draw_ops>
</menu_icon>
<menu_icon function="maximize" state="normal">
<draw_ops>
<image filename="active-maximize-button.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-button.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>