summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorJames M. Cape <jcape@ignore-your.tv>2002-06-25 02:37:07 +0000
committerJames M. Cape <jcape@src.gnome.org>2002-06-25 02:37:07 +0000
commitf94a3d08e02a3aedc37ad5aad6135c5d4aefe907 (patch)
tree0cae09c522561a91ba6331321af2b132c40a3319 /src/themes
parentd91026736432cfd28cce026609be50fc5dea3884 (diff)
downloadmetacity-f94a3d08e02a3aedc37ad5aad6135c5d4aefe907.tar.gz
Added some stuff to the window buttons, so they use the ACTIVE bg/fg.
2002-06-24 James M. Cape <jcape@ignore-your.tv> * src/themes/Esco/metacity-theme-1.xml: Added some stuff to the window buttons, so they use the ACTIVE bg/fg.
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/Esco/metacity-theme-1.xml114
1 files changed, 103 insertions, 11 deletions
diff --git a/src/themes/Esco/metacity-theme-1.xml b/src/themes/Esco/metacity-theme-1.xml
index b5a802ba..40b7d422 100644
--- a/src/themes/Esco/metacity-theme-1.xml
+++ b/src/themes/Esco/metacity-theme-1.xml
@@ -71,7 +71,7 @@
</draw_ops>
<draw_ops name="button_pressed_bg">
- <gtk_box state="prelight" shadow="in" x="0" y="0" width="width"
+ <gtk_box state="active" shadow="in" x="0" y="0" width="width"
height="height"/>
</draw_ops>
@@ -102,6 +102,19 @@
x2="0"
y2="height * 1.5 + 2"/>
</draw_ops>
+<draw_ops name="menu_button_pressed_contents">
+ <clip x="5" y="5" width="width - 10" height="height - 10"/>
+ <rectangle color="gtk:fg[ACTIVE]" filled="true"
+ x="ButtonIPad"
+ y="ButtonIPad"
+ width="width - ButtonIPad * 2 - 1"
+ height="height - ButtonIPad * 2 - 1"/>
+ <line color="gtk:bg[ACTIVE]" width="16"
+ x1="width * 1.5 + 2"
+ y1="0"
+ x2="0"
+ y2="height * 1.5 + 2"/>
+</draw_ops>
<draw_ops name="minimize_button">
<rectangle color="gtk:fg[INSENSITIVE]" filled="false"
@@ -127,6 +140,23 @@
x2="width - ButtonIPad - 1"
y2="height - ButtonIPad - 2"/>
</draw_ops>
+<draw_ops name="minimize_button_pressed_contents">
+ <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ x="ButtonIPad"
+ y="ButtonIPad"
+ width="width - ButtonIPad * 2 - 1"
+ height="height - ButtonIPad * 2 - 1"/>
+ <rectangle color="gtk:fg[ACTIVE]" filled="false"
+ x="ButtonIPad"
+ y="height - ButtonIPad - 4"
+ width="width - ButtonIPad * 2 - 1"
+ height="3"/>
+ <line color="gtk:fg[INSENSITIVE]" width="2"
+ x1="ButtonIPad + 1"
+ y1="height - ButtonIPad - 2"
+ x2="width - ButtonIPad - 1"
+ y2="height - ButtonIPad - 2"/>
+</draw_ops>
<draw_ops name="maximize_button">
<line color="gtk:fg[INSENSITIVE]"
@@ -157,6 +187,23 @@
width="width-ButtonIPad*2-1"
height="height-ButtonIPad*2-1"/>
</draw_ops>
+<draw_ops name="maximize_button_pressed_contents">
+ <line color="gtk:fg[INSENSITIVE]" width="2"
+ x1="ButtonIPad + 1"
+ y1="ButtonIPad + 2"
+ x2="width - ButtonIPad - 1"
+ y2="ButtonIPad + 2"/>
+ <line color="gtk:fg[ACTIVE]"
+ x1="ButtonIPad"
+ y1="ButtonIPad + 3"
+ x2="width - ButtonIPad - 1"
+ y2="ButtonIPad + 3"/>
+ <rectangle color="gtk:fg[ACTIVE]" filled="false"
+ x="ButtonIPad"
+ y="ButtonIPad"
+ width="width-ButtonIPad*2-1"
+ height="height-ButtonIPad*2-1"/>
+</draw_ops>
<draw_ops name="restore_button">
<rectangle color="gtk:fg[INSENSITIVE]" filled="false"
@@ -197,7 +244,51 @@
x2="width - (ButtonIPad * 2) - 2"
y2="ButtonIPad + 4 + 2"/>
</draw_ops>
+<draw_ops name="restore_button_pressed_contents">
+ <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ x="ButtonIPad"
+ y="ButtonIPad"
+ width="width - (ButtonIPad * 2) - 1"
+ height="height - (ButtonIPad * 2) - 1"/>
+ <rectangle color="gtk:fg[ACTIVE]" filled="false"
+ x="ButtonIPad"
+ y="ButtonIPad + 4"
+ width="width - (ButtonIPad * 2) - 1 - 4"
+ height="height - (ButtonIPad * 2) - 1 - 4"/>
+ <line color="gtk:fg[ACTIVE]"
+ x1="ButtonIPad"
+ y1="ButtonIPad + 3 + 4"
+ x2="width - (ButtonIPad * 2) - 3"
+ y2="ButtonIPad + 3 + 4"/>
+ <line color="gtk:fg[INSENSITIVE]" width="2"
+ x1="ButtonIPad + 1"
+ y1="ButtonIPad + 4 + 2"
+ x2="width - (ButtonIPad * 2) - 2"
+ y2="ButtonIPad + 4 + 2"/>
+</draw_ops>
+<draw_ops name="close_button">
+ <line color="gtk:fg[INSENSITIVE]" width="2"
+ x1="ButtonIPad + 1"
+ y1="ButtonIPad + 1"
+ x2="width - ButtonIPad - 2"
+ y2="height - ButtonIPad - 2"/>
+ <line color="gtk:fg[INSENSITIVE]" width="2"
+ x1="ButtonIPad + 1"
+ y1="height - ButtonIPad - 2"
+ x2="width - ButtonIPad - 2"
+ y2="ButtonIPad + 1"/>
+ <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ x="width - ButtonIPad - 3"
+ y="height - ButtonIPad - 3"
+ width="1"
+ height="1"/>
+ <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ x="width - ButtonIPad - 3"
+ y="ButtonIPad + 1"
+ width="1"
+ height="1"/>
+</draw_ops>
<draw_ops name="close_button_focused">
<line color="gtk:fg[NORMAL]" width="2"
x1="ButtonIPad + 1"
@@ -221,23 +312,24 @@
width="1"
height="1"/>
</draw_ops>
-<draw_ops name="close_button">
- <line color="gtk:fg[INSENSITIVE]" width="2"
+<draw_ops name="close_button_pressed_contents">
+ <line color="gtk:fg[ACTIVE]" width="2"
x1="ButtonIPad + 1"
y1="ButtonIPad + 1"
x2="width - ButtonIPad - 2"
y2="height - ButtonIPad - 2"/>
- <line color="gtk:fg[INSENSITIVE]" width="2"
+
+ <line color="gtk:fg[ACTIVE]" width="2"
x1="ButtonIPad + 1"
y1="height - ButtonIPad - 2"
x2="width - ButtonIPad - 2"
y2="ButtonIPad + 1"/>
- <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ <rectangle color="gtk:fg[ACTIVE]" filled="false"
x="width - ButtonIPad - 3"
y="height - ButtonIPad - 3"
width="1"
height="1"/>
- <rectangle color="gtk:fg[INSENSITIVE]" filled="false"
+ <rectangle color="gtk:fg[ACTIVE]" filled="false"
x="width - ButtonIPad - 3"
y="ButtonIPad + 1"
width="1"
@@ -253,7 +345,7 @@
<draw_ops name="close_button_pressed">
<include name="button_pressed_bg"/>
- <include name="close_button_focused"/>
+ <include name="close_button_pressed_contents"/>
</draw_ops>
<draw_ops name="menu_button_normal">
@@ -263,7 +355,7 @@
<draw_ops name="menu_button_pressed">
<include name="button_pressed_bg"/>
- <include name="menu_button_focused"/>
+ <include name="menu_button_pressed_contents"/>
</draw_ops>
<draw_ops name="maximize_button_normal">
@@ -273,7 +365,7 @@
<draw_ops name="maximize_button_pressed">
<include name="button_pressed_bg"/>
- <include name="maximize_button_focused"/>
+ <include name="maximize_button_pressed_contents"/>
</draw_ops>
<draw_ops name="restore_button_normal">
@@ -283,7 +375,7 @@
<draw_ops name="restore_button_pressed">
<include name="button_pressed_bg"/>
- <include name="restore_button_focused"/>
+ <include name="restore_button_pressed_contents"/>
</draw_ops>
<draw_ops name="minimize_button_normal">
@@ -293,7 +385,7 @@
<draw_ops name="minimize_button_pressed">
<include name="button_pressed_bg"/>
- <include name="minimize_button_focused"/>
+ <include name="minimize_button_pressed_contents"/>
</draw_ops>
<!-- Outer Bevel -->