From e45eda148b3d382611c2c7f97df4dce6983b52d4 Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Fri, 17 Jan 2003 00:19:24 +0000 Subject: Initial revision --- src/themes/Simple/ChangeLog | 21 +++ src/themes/Simple/close.png | Bin 0 -> 333 bytes src/themes/Simple/maximize.png | Bin 0 -> 291 bytes src/themes/Simple/maximized.png | Bin 0 -> 340 bytes src/themes/Simple/metacity-theme-1.xml | 316 +++++++++++++++++++++++++++++++++ src/themes/Simple/minimize.png | Bin 0 -> 199 bytes 6 files changed, 337 insertions(+) create mode 100644 src/themes/Simple/ChangeLog create mode 100644 src/themes/Simple/close.png create mode 100644 src/themes/Simple/maximize.png create mode 100644 src/themes/Simple/maximized.png create mode 100644 src/themes/Simple/metacity-theme-1.xml create mode 100644 src/themes/Simple/minimize.png diff --git a/src/themes/Simple/ChangeLog b/src/themes/Simple/ChangeLog new file mode 100644 index 00000000..2a0a40d4 --- /dev/null +++ b/src/themes/Simple/ChangeLog @@ -0,0 +1,21 @@ +2002-08-22 Tuomas Kuosmanen + + * metacity-theme-1.xml: Removed the title_spacer stuff that + was a relic from Atlanta and was just making an ugly vertical line at + the right edge of the titlebar.. Looked just strange and didnt belong + there. + + * I also made the button padding a bit larger so it generally looks + better with a bit larger font sizes. + +16-08-2002 Bastien Nocera + + * update theme format for metacity 2.4.0 + +04-07-2002 Bastien Nocera + + * support for "border" window type + * draw a border at the top of the window even when maximised (it + looked arse with a panel at the top, it would blend the window into + the panel) + * fixed missing bottom of the frame for shaded/focused windows diff --git a/src/themes/Simple/close.png b/src/themes/Simple/close.png new file mode 100644 index 00000000..3c29292d Binary files /dev/null and b/src/themes/Simple/close.png differ diff --git a/src/themes/Simple/maximize.png b/src/themes/Simple/maximize.png new file mode 100644 index 00000000..e487352b Binary files /dev/null and b/src/themes/Simple/maximize.png differ diff --git a/src/themes/Simple/maximized.png b/src/themes/Simple/maximized.png new file mode 100644 index 00000000..5e3ad4c5 Binary files /dev/null and b/src/themes/Simple/maximized.png differ diff --git a/src/themes/Simple/metacity-theme-1.xml b/src/themes/Simple/metacity-theme-1.xml new file mode 100644 index 00000000..92199325 --- /dev/null +++ b/src/themes/Simple/metacity-theme-1.xml @@ -0,0 +1,316 @@ + + + + Gnome + Tuomas Kuosmanen <tigert@ximian.com> + Â Tuomas Kuosmanen, 2002, based on Atlanta theme by Havoc. + April, 2002 + Default GNOME window theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <title color="gtk:fg[SELECTED]" + x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_text"> + <clip x="0" y="0" width="width-SpacerWidth" height="height"/> + <title color="blend/gtk:dark[NORMAL]/#000000/0.5" + x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing" + y="((height - title_height) / 2) `max` 0"/> +</draw_ops> + +<draw_ops name="title_normal"> + <include name="title_bg_unfocused"/> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_focused"> + <include name="title_bg"/> + <include name="title_text_focused"/> +</draw_ops> + +<draw_ops name="title_utility"> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_utility_focused"> + <include name="title_bg"/> + <include name="title_text_focused"/> +</draw_ops> + +<frame_style name="normal_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="title" draw_ops="title_normal"/> + + <!-- we don't specify for prelight, so normal is used --> + <button function="close" state="normal" draw_ops="close_button"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <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="pressed" draw_ops="maximize_button_pressed"/> + <button function="menu" state="normal" draw_ops="menu_button"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="normal_focused" geometry="normal" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="focus_background"/> + <piece position="title" draw_ops="title_focused"/> +</frame_style> + +<frame_style name="shaded_focused" geometry="normal" parent="normal_unfocused"> + <piece position="title" draw_ops="title_focused"/> +</frame_style> + +<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="blank"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused"> + <piece position="entire_background" draw_ops="focus_outline"/> + <button function="maximize" state="normal" draw_ops="restore_button"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> +</frame_style> + +<frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused"> + <piece position="title" draw_ops="title_utility"/> +</frame_style> + +<frame_style name="utility_focused" geometry="utility" parent="normal_focused"> + <piece position="title" draw_ops="title_utility_focused"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal_unfocused"> + <piece position="entire_background" draw_ops="outer_bevel"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style_set name="normal"> +<frame focus="yes" state="normal" resize="both" style="normal_focused"/> +<frame focus="no" state="normal" resize="both" style="normal_unfocused"/> +<frame focus="yes" state="maximized" style="maximized_focused"/> +<frame focus="no" state="maximized" style="maximized_unfocused"/> +<frame focus="yes" state="shaded" style="shaded_focused"/> +<frame focus="no" state="shaded" style="normal_unfocused"/> +<frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/> +<frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> +<frame focus="yes" state="normal" resize="both" style="utility_focused"/> +<frame focus="no" state="normal" resize="both" style="utility_unfocused"/> +<!-- this is a bunch of crack since utility windows shouldn't be maximized --> +<frame focus="yes" state="maximized" style="utility_focused"/> +<frame focus="no" state="maximized" style="utility_unfocused"/> +<frame focus="yes" state="shaded" style="utility_focused"/> +<frame focus="no" state="shaded" style="utility_unfocused"/> +<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/> +<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/> +</frame_style_set> + +<frame_style_set name="border" parent="normal"> +<frame focus="yes" state="normal" resize="both" style="border"/> +<frame focus="no" state="normal" resize="both" style="border"/> +<!-- this is a bunch of crack since utility windows shouldn't be maximized --> +<frame focus="yes" state="maximized" style="utility_focused"/> +<frame focus="no" state="maximized" style="utility_unfocused"/> +<frame focus="yes" state="shaded" style="utility_focused"/> +<frame focus="no" state="shaded" style="utility_unfocused"/> +<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/> +<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/> +</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="utility"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal" draw_ops="close_button"/> +<menu_icon function="maximize" state="normal" draw_ops="maximize_button"/> +<menu_icon function="unmaximize" state="normal" draw_ops="restore_button"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button"/> + +</metacity_theme> diff --git a/src/themes/Simple/minimize.png b/src/themes/Simple/minimize.png new file mode 100644 index 00000000..608a633d Binary files /dev/null and b/src/themes/Simple/minimize.png differ -- cgit v1.2.1