From e64d1bf881472a3f42c15bc35a48d6192060d4cf Mon Sep 17 00:00:00 2001 From: "James M. Cape" Date: Sun, 10 Nov 2002 19:08:14 +0000 Subject: [PATCH] Major changes to look of theme. I'd also recommend 2002-11-10 James M. Cape * src/themes/Esco/metacity-theme-1.xml: Major changes to look of theme. I'd also recommend "minimize,maximize:close" for the button_layout, it looks really slick :-). --- ChangeLog | 6 ++ src/themes/Esco/metacity-theme-1.xml | 116 +++++++++++++-------------- 2 files changed, 64 insertions(+), 58 deletions(-) diff --git a/ChangeLog b/ChangeLog index be15a3832..6758728c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-11-10 James M. Cape + + * src/themes/Esco/metacity-theme-1.xml: Major changes + to look of theme. I'd also recommend "minimize,maximize:close" + for the button_layout, it looks really slick :-). + 2002-11-08 Mark McLoughlin * src/workspace.c: diff --git a/src/themes/Esco/metacity-theme-1.xml b/src/themes/Esco/metacity-theme-1.xml index 11047df12..eeade89d9 100644 --- a/src/themes/Esco/metacity-theme-1.xml +++ b/src/themes/Esco/metacity-theme-1.xml @@ -16,9 +16,9 @@ - - - + + + @@ -28,7 +28,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -77,6 +77,7 @@ + + + + + + + + + + + - + + + + + + + @@ -384,61 +398,49 @@ - - - - + x="width - title_width - IconTitleSpacing + (height / 2) + height" + y="0" + width="width" + height="height"/> + - <icon - x="width - title_width - mini_icon_width - (IconTitleSpacing * 1.5)" - y="(height - mini_icon_height) / 2" + x="width - title_width - mini_icon_width - (IconTitleSpacing * 1.5) + 3" + y="(height - mini_icon_height) / 2 + 1" width="mini_icon_width" height="mini_icon_height"/> </draw_ops> <draw_ops name="title_text_focused_no_icon"> - <clip x="0" y="0" width="width" height="height"/> <title color="#000000" - x="width - title_width - IconTitleSpacing - 3" - y="((height - title_height) / 2) `max` 0"/> + x="width - title_width - IconTitleSpacing + 3" + y="((height - title_height) / 2) `max` 0 + 1"/> </draw_ops> <draw_ops name="title_text_with_icon"> - <clip x="2" y="2" width="width - 4" height="height - 4"/> <title color="gtk:fg[INSENSITIVE]" - x="width - title_width - IconTitleSpacing" + x="width - title_width - IconTitleSpacing + 3" y="((height - title_height) / 2) `max` 0"/> <icon alpha="0.25" - x="width - title_width - mini_icon_width - (IconTitleSpacing * 1.5)" - y="(height - mini_icon_height) / 2" + x="width - title_width - mini_icon_width - (IconTitleSpacing * 1.5) + 3" + y="(height - mini_icon_height) / 2 + 1" width="mini_icon_width" height="mini_icon_height"/> </draw_ops> <draw_ops name="title_text_no_icon"> - <clip x="2" y="2" width="width - 4" height="height - 4"/> <title color="gtk:fg[INSENSITIVE]" - x="width - title_width - IconTitleSpacing" + x="width - title_width - IconTitleSpacing + 3" y="((height - title_height) / 2) `max` 0"/> </draw_ops> @@ -467,30 +469,19 @@ <!-- we don't specify for normal or prelight, so nothing is used for those --> - <button function="left_middle_background" state="pressed" - draw_ops="button_pressed_bg"/> - <button function="right_middle_background" state="pressed" - draw_ops="button_pressed_bg"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> - <button function="menu" state="normal" - draw_ops="menu_button"/> - <button function="menu" state="pressed" - draw_ops="menu_button_pressed"/> - - <button function="minimize" state="normal" - draw_ops="minimize_button"/> + <button function="minimize" state="normal" draw_ops="minimize_button"/> <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> - <button function="maximize" state="normal" - draw_ops="maximize_button"/> + <button function="maximize" state="normal" draw_ops="maximize_button"/> <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> - <button function="close" state="normal" - draw_ops="close_button"/> - <button function="close" state="pressed" - draw_ops="close_button_pressed"/> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> </frame_style> <frame_style name="normal_focused" geometry="normal" parent="normal_unfocused"> @@ -498,10 +489,19 @@ <piece position="title" draw_ops="title_focused"/> <!-- we don't specify for prelight, so normal is used --> + <button function="left_left_background" state="normal" + draw_ops="button_normal_bg"/> <button function="left_middle_background" state="normal" draw_ops="button_normal_bg"/> + <button function="left_right_background" state="normal" + draw_ops="button_normal_bg"/> + + <button function="right_left_background" state="normal" + draw_ops="button_normal_bg"/> <button function="right_middle_background" state="normal" draw_ops="button_normal_bg"/> + <button function="right_right_background" state="normal" + draw_ops="button_normal_bg"/> <button function="close" state="normal" draw_ops="close_button_focused"/> <button function="menu" state="normal" draw_ops="menu_button_focused"/> @@ -522,7 +522,7 @@ <frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> - <piece position="entire_background" draw_ops="outline_focused"/> + <piece position="entire_background" draw_ops="gradient_background"/> <button function="maximize" state="normal" draw_ops="restore_button_focused"/> <button function="maximize" state="pressed"