Classic J Yager <digitalcrutch@peoplepc.com> None March 01, 2004 MacOS inspired theme. Actually, this would be a Be inspired theme, I have never used a Mac. But, it still looks good. </draw_ops> <!-- Unfocused title --> <draw_ops name="title_unfocused"> <clip x="Pad" y="0" width="width - (Pad * 2)" height="height"/> <title color="gtk:dark[NORMAL]" x="((width - title_width) / 2) `max` 0" y="0"/> </draw_ops> <!-- Button border--> <draw_ops name="button_border"> <line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="0" y2="height - 2"/> <line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="width - 2" y2="0"/> <rectangle color="gtk:text[NORMAL]" filled="false" x="1" y="1" width="width - 3" height="height - 3"/> <line color="gtk:base[NORMAL]" x1="1" y1="height - 1" x2="width - 1" y2="height - 1"/> <line color="gtk:base[NORMAL]" x1="width - 1" y1="height - 1" x2="width - 1" y2="1"/> </draw_ops> <!-- Button background --> <draw_ops name="button_background"> <rectangle color="gtk:base[NORMAL]" filled="false" x="2" y="2" width="width - 5" height="height - 5"/> <line color="gtk:base[NORMAL]" x1="3" y1="2" x2="10" y2="2"/> <line color="gtk:base[NORMAL]" x1="2" y1="3" x2="2" y2="10"/> <gradient type="diagonal" x="3" y="3" width="width - 6" height="height - 6"> <color value="gtk:dark[NORMAL]"/> <color value="gtk:base[NORMAL]"/> </gradient> <line color="gtk:dark[NORMAL]" x1="10" y1="3" x2="10" y2="10"/> <line color="gtk:dark[NORMAL]" x1="3" y1="10" x2="10" y2="10"/> </draw_ops> <!-- Background applied to pressed buttons --> <draw_ops name="button_pressed"> <gradient type="diagonal" x="2" y="2" width="width - 4" height="height - 4"> <color value="gtk:dark[NORMAL]"/> <color value="gtk:base[NORMAL]"/> </gradient> <line color="gtk:dark[NORMAL]" x1="10" y1="2" x2="10" y2="10"/> <line color="gtk:dark[NORMAL]" x1="2" y1="10" x2="10" y2="10"/> </draw_ops> <!-- Close button --> <draw_ops name="close_button"> <include name="button_border"/> <include name="button_background"/> </draw_ops> <draw_ops name="close_button_pressed"> <include name="button_border"/> <include name="button_pressed"/> </draw_ops> <!-- Maximize button --> <draw_ops name="maximize_button_lines"> <line color="gtk:text[NORMAL]" x1="1" y1="7" x2="7" y2="7"/> <line color="gtk:text[NORMAL]" x1="7" y1="1" x2="7" y2="7"/> </draw_ops> <draw_ops name="maximize_button"> <include name="button_border"/> <include name="button_background"/> <include name="maximize_button_lines"/> </draw_ops> <draw_ops name="maximize_button_pressed"> <include name="button_border"/> <include name="button_pressed"/> <include name="maximize_button_lines"/> </draw_ops> <!-- Minimize button --> <draw_ops name="minimize_button_lines"> <line color="gtk:text[NORMAL]" x1="1" y1="5" x2="10" y2="5"/> <line color="gtk:text[NORMAL]" x1="1" y1="7" x2="10" y2="7"/> </draw_ops> <draw_ops name="minimize_button"> <include name="button_border"/> <include name="button_background"/> <include name="minimize_button_lines"/> </draw_ops> <draw_ops name="minimize_button_pressed"> <include name="button_border"/> <include name="button_pressed"/> <include name="minimize_button_lines"/> </draw_ops> <!-- Menu button --> <draw_ops name="menu_button"> <icon x="0" y="0" width="mini_width" height="mini_height"/> <include name="button_border"/> <include name="button_background"/> </draw_ops> <draw_ops name="menu_button_pressed"> <include name="button_border"/> <include name="button_pressed"/> </draw_ops> <!-- The infamous blank draw_ops --> <draw_ops name="blank"/> <!-- Normal window frame styles --> <!-- Focused --> <frame_style name="normal_focused" geometry="normal_geometry"> <piece position="entire_background" draw_ops="background_focused"/> <piece position="title" draw_ops="title_focused"/> <button function="close" state="normal" draw_ops="close_button"/> <button function="close" state="pressed" draw_ops="close_button_pressed"/> <button function="maximize" state="normal" draw_ops="maximize_button"/> <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> <button function="minimize" state="normal" draw_ops="minimize_button"/> <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> <button function="shade" state="normal" draw_ops="minimize_button"/> <button function="shade" state="pressed" draw_ops="minimize_button_pressed"/> <button function="unshade" state="normal" draw_ops="minimize_button"/> <button function="unshade" state="pressed" draw_ops="minimize_button_pressed"/> <button function="menu" state="normal" draw_ops="menu_button"/> <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> <button function="above" state="normal" draw_ops="close_button"/> <button function="above" state="pressed" draw_ops="close_button_pressed"/> <button function="unabove" state="normal" draw_ops="close_button"/> <button function="unabove" state="pressed" draw_ops="close_button_pressed"/> <button function="stick" state="normal" draw_ops="close_button"/> <button function="stick" state="pressed" draw_ops="close_button_pressed"/> <button function="unstick" state="normal" draw_ops="close_button"/> <button function="unstick" state="pressed" draw_ops="close_button_pressed"/> </frame_style> <!-- Shaded --> <frame_style name="normal_shaded" geometry="normal_geometry" parent="normal_focused"> <piece position="entire_background" draw_ops="background_shaded"/> <piece position="title" draw_ops="title_focused"/> </frame_style> <!-- Unfocused --> <frame_style name="normal_unfocused" geometry="normal_geometry" parent="normal_focused"> <piece position="entire_background" draw_ops="background_unfocused"/> <piece position="title" draw_ops="title_unfocused"/> <button function="menu" state="normal" draw_ops="blank"/> <button function="menu" state="prelight" draw_ops="menu_button"/> <button function="menu" state="pressed" draw_ops="blank"/> <button function="minimize" state="normal" draw_ops="blank"/> <button function="minimize" state="prelight" draw_ops="minimize_button"/> <button function="minimize" state="pressed" draw_ops="blank"/> <button function="maximize" state="normal" draw_ops="blank"/> <button function="maximize" state="prelight" draw_ops="maximize_button"/> <button function="maximize" state="pressed" draw_ops="blank"/> <button function="close" state="normal" draw_ops="blank"/> <button function="close" state="prelight" draw_ops="close_button"/> <button function="close" state="pressed" draw_ops="blank"/> </frame_style> <!-- Utility windows use the same styles as normal except they use the utility geometry --> <!-- Focused --> <frame_style name="utility_focused" geometry="utility_geometry" parent="normal_focused"/> <!-- Unfocused --> <frame_style name="utility_unfocused" geometry="utility_geometry" parent="normal_unfocused"/> <!-- Border(only) windows use the same styles as normal except they use the border(less) geometry and draw no title --> <!-- Focused --> <frame_style name="border_focused" geometry="border_geometry" parent="normal_focused"> <piece position="title" draw_ops="blank"/> </frame_style> <!-- Unfocused --> <frame_style name="border_unfocused" geometry="border_geometry" parent="normal_unfocused"> <piece position="title" draw_ops="blank"/> </frame_style> <frame_style_set name="normal_style_set"> <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="normal_focused"/> <frame focus="no" state="maximized" style="normal_unfocused"/> <frame focus="yes" state="shaded" style="normal_shaded"/> <frame focus="no" state="shaded" style="normal_unfocused"/> <frame focus="yes" state="maximized_and_shaded" style="normal_focused"/> <frame focus="no" state="maximized_and_shaded" style="normal_unfocused"/> </frame_style_set> <frame_style_set name="utility_style_set"> <frame focus="yes" state="normal" resize="both" style="utility_focused"/> <frame focus="no" state="normal" resize="both" style="utility_unfocused"/> <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_style_set"> <frame focus="yes" state="normal" resize="both" style="border_focused"/> <frame focus="no" state="normal" resize="both" style="border_unfocused"/> <frame focus="yes" state="maximized" style="border_focused"/> <frame focus="no" state="maximized" style="border_unfocused"/> <frame focus="yes" state="shaded" style="border_focused"/> <frame focus="no" state="shaded" style="border_unfocused"/> <frame focus="yes" state="maximized_and_shaded" style="border_focused"/> <frame focus="no" state="maximized_and_shaded" style="border_unfocused"/> </frame_style_set> <window type="normal" style_set="normal_style_set"/> <window type="dialog" style_set="normal_style_set"/> <window type="modal_dialog" style_set="normal_style_set"/> <window type="menu" style_set="normal_style_set"/> <window type="utility" style_set="utility_style_set"/> <window type="border" style_set="border_style_set"/> <menu_icon function="close" state="normal" draw_ops="close_button"/> <menu_icon function="maximize" state="normal" draw_ops="maximize_button"/> <menu_icon function="minimize" state="normal" draw_ops="minimize_button"/> <menu_icon function="unmaximize" state="normal" draw_ops="button_background"/> </metacity_theme>