NewSlickness Round Richard Stellingwerff, Daniel Borgmann, Billy Cantrell, Ian MacGregor GPL April 22, 2010 A grey metacity theme with round buttons </draw_ops> <draw_ops name="title-text-unfocused"> <title color="#808080" x="((width - title_width) / 2)" y="((height - title_height) / 2)"/> </draw_ops> <draw_ops name="blank"> </draw_ops> <draw_ops name="title"> <image filename="titlebar-left-focused.png" x="0" y="0" width="object_width" height="height"/> <image filename="titlebar-mid-focused.png" x="1" y="0" width="width" height="height"/> <image filename="titlebar-right-focused.png" x="width - object_width" y="0" width="object_width" height="height"/> </draw_ops> <draw_ops name="title-maximized"> <image filename="titlebar-left-focused.png" x="0" y="0" width="object_width" height="height"/> <image filename="titlebar-mid-focused.png" x="1" y="0" width="width" height="height"/> <image filename="titlebar-right-focused.png" x="width - object_width" y="0" width="object_width" height="height"/> </draw_ops> <draw_ops name="title-shaded"> <image filename="titlebar-left-focused.png" x="0" y="0" width="object_width" height="height"/> <image filename="titlebar-mid-focused.png" x="1" y="0" width="width" height="height"/> <image filename="titlebar-right-focused.png" x="width - object_width" y="0" width="object_width" height="height"/> </draw_ops> <draw_ops name="frame-left-focused"> <image filename="frame-left-focused.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="frame-right-focused"> <image filename="frame-right-focused.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="frame-bottom-focused"> <image filename="frame-bottom-left-focused.png" x="0" y="0" width="object_width" height="object_height"/> <image filename="frame-bottom-mid-focused.png" x="1" y="0" width="width" height="object_height"/> <image filename="frame-bottom-right-focused.png" x="width - object_width" y="0" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="button-normal"> <image filename="button.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-close-pressed"> <image filename="button-close-pressed.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-close-prelight"> <image filename="button-close-prelight.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-max-pressed"> <image filename="button-max-pressed.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-max-prelight"> <image filename="button-max-prelight.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-menu-pressed"> <image filename="button-menu-pressed.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-menu-prelight"> <image filename="button-menu-prelight.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-min-pressed"> <image filename="button-min-pressed.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-min-prelight"> <image filename="button-min-prelight.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-restore-pressed"> <image filename="button-restore-pressed.png" x="0" y="0" width="width" height="height"/> </draw_ops> <draw_ops name="button-restore-prelight"> <image filename="button-restore-prelight.png" x="0" y="0" width="width" height="height"/> </draw_ops> <frame_style name="normal-focused" geometry="normal"> <piece position="titlebar" draw_ops="title"/> <piece position="left_edge" draw_ops="frame-left-focused"/> <piece position="right_edge" draw_ops="frame-right-focused"/> <piece position="bottom_edge" draw_ops="frame-bottom-focused"/> <piece position="title" draw_ops="title-text-focused"/> <button function="close" state="normal" draw_ops="button-normal"/> <button function="close" state="prelight" draw_ops="button-close-prelight"/> <button function="close" state="pressed" draw_ops="button-close-pressed"/> <button function="minimize" state="normal" draw_ops="button-normal"/> <button function="minimize" state="prelight" draw_ops="button-min-prelight"/> <button function="minimize" state="pressed" draw_ops="button-min-pressed"/> <button function="maximize" state="normal" draw_ops="button-normal"/> <button function="maximize" state="prelight" draw_ops="button-max-prelight"/> <button function="maximize" state="pressed" draw_ops="button-max-pressed"/> <button function="menu" state="normal" draw_ops="button-normal"/> <button function="menu" state="prelight" draw_ops="button-menu-prelight"/> <button function="menu" state="pressed" draw_ops="button-menu-pressed"/> </frame_style> <frame_style name="maximized-focused" geometry="maximized"> <piece position="titlebar" draw_ops="title-maximized"/> <piece position="left_edge" draw_ops="frame-left-focused"/> <piece position="right_edge" draw_ops="frame-right-focused"/> <piece position="bottom_edge" draw_ops="frame-bottom-focused"/> <piece position="title" draw_ops="title-text-focused"/> <button function="close" state="normal" draw_ops="button-normal"/> <button function="close" state="prelight" draw_ops="button-close-prelight"/> <button function="close" state="pressed" draw_ops="button-close-pressed"/> <button function="minimize" state="normal" draw_ops="button-normal"/> <button function="minimize" state="prelight" draw_ops="button-min-prelight"/> <button function="minimize" state="pressed" draw_ops="button-min-pressed"/> <button function="maximize" state="normal" draw_ops="button-normal"/> <button function="maximize" state="prelight" draw_ops="button-restore-prelight"/> <button function="maximize" state="pressed" draw_ops="button-restore-pressed"/> <button function="menu" state="normal" draw_ops="button-normal"/> <button function="menu" state="prelight" draw_ops="button-menu-prelight"/> <button function="menu" state="pressed" draw_ops="button-menu-pressed"/> </frame_style> <frame_style name="normal-unfocused" geometry="normal"> <piece position="titlebar" draw_ops="title"/> <piece position="left_edge" draw_ops="frame-left-focused"/> <piece position="right_edge" draw_ops="frame-right-focused"/> <piece position="bottom_edge" draw_ops="frame-bottom-focused"/> <piece position="title" draw_ops="title-text-unfocused"/> <button function="close" state="normal" draw_ops="button-normal"/> <button function="close" state="prelight" draw_ops="button-close-prelight"/> <button function="close" state="pressed" draw_ops="button-close-pressed"/> <button function="minimize" state="normal" draw_ops="button-normal"/> <button function="minimize" state="prelight" draw_ops="button-min-prelight"/> <button function="minimize" state="pressed" draw_ops="button-min-pressed"/> <button function="maximize" state="normal" draw_ops="button-normal"/> <button function="maximize" state="prelight" draw_ops="button-max-prelight"/> <button function="maximize" state="pressed" draw_ops="button-max-pressed"/> <button function="menu" state="normal" draw_ops="button-normal"/> <button function="menu" state="prelight" draw_ops="button-menu-prelight"/> <button function="menu" state="pressed" draw_ops="button-menu-pressed"/> </frame_style> <frame_style name="maximized-unfocused" geometry="maximized"> <piece position="titlebar" draw_ops="title-maximized"/> <piece position="left_edge" draw_ops="frame-left-focused"/> <piece position="right_edge" draw_ops="frame-right-focused"/> <piece position="bottom_edge" draw_ops="frame-bottom-focused"/> <piece position="title" draw_ops="title-text-unfocused"/> <button function="close" state="normal" draw_ops="button-normal"/> <button function="close" state="prelight" draw_ops="button-close-prelight"/> <button function="close" state="pressed" draw_ops="button-close-pressed"/> <button function="minimize" state="normal" draw_ops="button-normal"/> <button function="minimize" state="prelight" draw_ops="button-min-prelight"/> <button function="minimize" state="pressed" draw_ops="button-min-pressed"/> <button function="maximize" state="normal" draw_ops="button-normal"/> <button function="maximize" state="prelight" draw_ops="button-restore-prelight"/> <button function="maximize" state="pressed" draw_ops="button-restore-pressed"/> <button function="menu" state="normal" draw_ops="button-normal"/> <button function="menu" state="prelight" draw_ops="button-menu-prelight"/> <button function="menu" state="pressed" draw_ops="button-menu-pressed"/> </frame_style> <frame_style name="normal-shaded-focused" geometry="normal" parent="normal-focused"> <piece position="titlebar" draw_ops="title-shaded"/> </frame_style> <frame_style name="normal-shaded-unfocused" geometry="normal" parent="normal-unfocused"> <piece position="titlebar" draw_ops="title-shaded"/> </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="normal-shaded-focused"/> <frame focus="no" state="shaded" style="normal-shaded-unfocused"/> <frame focus="yes" state="maximized_and_shaded" style="normal-shaded-focused"/> <frame focus="no" state="maximized_and_shaded" style="normal-shaded-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="normal"/> <window type="border" style_set="normal"/> <menu_icon function="close" state="normal" draw_ops="button-focused"/> <menu_icon function="maximize" state="normal" draw_ops="button-focused"/> <menu_icon function="unmaximize" state="normal" draw_ops="button-focused"/> <menu_icon function="minimize" state="normal" draw_ops="button-focused"/> </metacity_theme>