Applying a fix for the "X" (close button) from Joe A. <joefefifo@yahoo.com>

This commit is contained in:
Garrett LeSage 2003-06-09 18:56:28 +00:00
parent a53fea96ab
commit c523d2827c

View File

@ -2,7 +2,7 @@
<metacity_theme> <metacity_theme>
<info> <info>
<name>Metabox</name> <name>Metabox</name>
<author>Garrett LeSage &lt;garrett@redhat.com&lt; based on Havoc Pennington &lt;hp@redhat.com&gt;'s Atlanta theme</author> <author>Garrett LeSage &lt;garrett@redhat.com&gt; based on Havoc Pennington &lt;hp@redhat.com&gt;'s Atlanta theme</author>
<copyright>&#194; Garrett LeSage, Havoc Pennington, 2002</copyright> <copyright>&#194; Garrett LeSage, Havoc Pennington, 2002</copyright>
<date>Jun 12, 2002</date> <date>Jun 12, 2002</date>
<description>Looks a little like BlackBox.</description> <description>Looks a little like BlackBox.</description>
@ -246,15 +246,20 @@
</draw_ops> </draw_ops>
<draw_ops name="close_button"> <draw_ops name="close_button">
<include name="bg_button_active"/> <include name="bg_button_active"/>
<line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt; -->
width="2" <clip x="ButtonIPad" y="ButtonIPad"
width="width - ButtonIPad - 4"
height="height - ButtonIPad - 4"/>
<line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
width="2"
x1="ButtonIPad" y1="ButtonIPad" x1="ButtonIPad" y1="ButtonIPad"
x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"/> x2="width - ButtonIPad" y2="height - ButtonIPad"/>
<line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
<line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
width="2" width="2"
x1="ButtonIPad" y1="height - ButtonIPad - 1" x1="ButtonIPad" y1="height - ButtonIPad - 1"
x2="width - ButtonIPad - 1" y2="ButtonIPad"/> x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
</draw_ops> </draw_ops>
<draw_ops name="close_button_pressed"> <draw_ops name="close_button_pressed">
@ -268,15 +273,19 @@
</draw_ops> </draw_ops>
<draw_ops name="close_button_unfocused"> <draw_ops name="close_button_unfocused">
<include name="bg_button_inactive"/> <include name="bg_button_inactive"/>
<line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt; -->
<clip x="ButtonIPad" y="ButtonIPad"
width="width - ButtonIPad - 4"
height="height - ButtonIPad - 4"/>
<line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
width="2" width="2"
x1="ButtonIPad" y1="ButtonIPad" x1="ButtonIPad" y1="ButtonIPad"
x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"/> x2="width - ButtonIPad" y2="height - ButtonIPad"/>
<line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
width="2" width="2"
x1="ButtonIPad" y1="height - ButtonIPad - 1" x1="ButtonIPad" y1="height - ButtonIPad - 1"
x2="width - ButtonIPad - 1" y2="ButtonIPad"/> x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
</draw_ops> </draw_ops>
<draw_ops name="outer_bevel"> <draw_ops name="outer_bevel">