Shiki-Colors-Classic Kylie McClain <somasis@exherbo.org>, Victor C. <perfectska04@gmail.com> Â 2015 Kylie McClain, Â 2009 perfectska04 Jun, 2015 Unity-based Metacity Theme for Shiki-Colors-Classic </draw_ops> <draw_ops name="title_text_unfocused"> <title color="#3C3C3C" x="(3 `max` (width-title_width)) / 2" y="1 `max` ((height-title_height)/2)+1"/> <title color="#9B9B9B" x="(3 `max` (width-title_width)) / 2" y="0 `max` ((height-title_height)/2)"/> </draw_ops> <draw_ops name="title"> <include name="title_text"/> </draw_ops> <draw_ops name="title_unfocused"> <include name="title_text_unfocused"/> </draw_ops> <!-- ::: BUTTONS ::: --> <draw_ops name="button_bg_prelight"> <image filename="prelight.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="button_bg_pressed"> <image filename="pressed.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="button_bg_unfocused_prelight"> <image filename="prelight_unfocused.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="button_bg_unfocused_pressed"> <image filename="pressed.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <!-- menu icon --> <draw_ops name="menu_button_icon"> <!--<icon x="0" y="0" width="width" height="height"/>--> <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> </draw_ops> <draw_ops name="menu_button_icon_unfocused"> <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height" alpha="0.75"/> </draw_ops> <draw_ops name="menu_button_normal"> <include name="menu_button_icon"/> </draw_ops> <draw_ops name="menu_button_prelight"> <include name="menu_button_icon"/> </draw_ops> <draw_ops name="menu_button_pressed"> <include name="menu_button_icon"/> </draw_ops> <draw_ops name="menu_button_unfocused"> <include name="menu_button_icon_unfocused"/> </draw_ops> <draw_ops name="menu_button_unfocused_prelight"> <include name="menu_button_icon_unfocused"/> </draw_ops> <draw_ops name="menu_button_unfocused_pressed"> <include name="menu_button_icon_unfocused"/> </draw_ops> <!-- close icon --> <draw_ops name="close_button_icon"> <image filename="close.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="close_button_icon_unfocused"> <image filename="close_unfocused.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="close_button_normal"> <include name="close_button_icon"/> </draw_ops> <draw_ops name="close_button_prelight"> <include name="button_bg_prelight"/> <include name="close_button_icon"/> </draw_ops> <draw_ops name="close_button_pressed"> <include name="button_bg_pressed"/> <include name="close_button_icon"/> </draw_ops> <draw_ops name="close_button_unfocused"> <include name="close_button_icon_unfocused"/> </draw_ops> <draw_ops name="close_button_unfocused_prelight"> <include name="button_bg_unfocused_prelight"/> <include name="close_button_icon_unfocused"/> </draw_ops> <draw_ops name="close_button_unfocused_pressed"> <include name="button_bg_unfocused_pressed"/> <include name="close_button_icon"/> </draw_ops> <!-- maximize icon --> <draw_ops name="maximize_button_icon"> <image filename="maximize.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="maximize_button_icon_unfocused"> <image filename="maximize_unfocused.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="maximize_button_normal"> <include name="maximize_button_icon"/> </draw_ops> <draw_ops name="maximize_button_prelight"> <include name="button_bg_prelight"/> <include name="maximize_button_icon"/> </draw_ops> <draw_ops name="maximize_button_pressed"> <include name="button_bg_pressed"/> <include name="maximize_button_icon"/> </draw_ops> <draw_ops name="maximize_button_unfocused"> <include name="maximize_button_icon_unfocused"/> </draw_ops> <draw_ops name="maximize_button_unfocused_prelight"> <include name="button_bg_unfocused_prelight"/> <include name="maximize_button_icon_unfocused"/> </draw_ops> <draw_ops name="maximize_button_unfocused_pressed"> <include name="button_bg_unfocused_pressed"/> <include name="maximize_button_icon"/> </draw_ops> <!-- restore icon --> <draw_ops name="restore_button_icon"> <image filename="maximize.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="restore_button_icon_unfocused"> <image filename="maximize_unfocused.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="restore_button_normal"> <include name="restore_button_icon"/> </draw_ops> <draw_ops name="restore_button_prelight"> <include name="button_bg_prelight"/> <include name="restore_button_icon"/> </draw_ops> <draw_ops name="restore_button_pressed"> <include name="button_bg_pressed"/> <include name="restore_button_icon"/> </draw_ops> <draw_ops name="restore_button_unfocused"> <include name="restore_button_icon_unfocused"/> </draw_ops> <draw_ops name="restore_button_unfocused_prelight"> <include name="button_bg_unfocused_prelight"/> <include name="restore_button_icon_unfocused"/> </draw_ops> <draw_ops name="restore_button_unfocused_pressed"> <include name="button_bg_unfocused_pressed"/> <include name="restore_button_icon"/> </draw_ops> <!-- minimize icon --> <draw_ops name="minimize_button_icon"> <image filename="minimize.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="minimize_button_icon_unfocused"> <image filename="minimize_unfocused.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> <draw_ops name="minimize_button_normal"> <include name="minimize_button_icon"/> </draw_ops> <draw_ops name="minimize_button_prelight"> <include name="button_bg_prelight"/> <include name="minimize_button_icon"/> </draw_ops> <draw_ops name="minimize_button_pressed"> <include name="button_bg_pressed"/> <include name="minimize_button_icon"/> </draw_ops> <draw_ops name="minimize_button_unfocused"> <include name="minimize_button_icon_unfocused"/> </draw_ops> <draw_ops name="minimize_button_unfocused_prelight"> <include name="button_bg_unfocused_prelight"/> <include name="minimize_button_icon_unfocused"/> </draw_ops> <draw_ops name="minimize_button_unfocused_pressed"> <include name="button_bg_unfocused_pressed"/> <include name="minimize_button_icon"/> </draw_ops> <draw_ops name="blank"> <!-- nothing --> </draw_ops> <!-- ::: FRAME STYLES ::: --> <frame_style name="normal" geometry="normal"> <piece position="entire_background" draw_ops="round_bevel_unfocused"/> <piece position="title" draw_ops="title_unfocused"/> <piece position="bottom_edge" draw_ops="bottom_edge"/> <button function="close" state="normal" draw_ops="close_button_unfocused"/> <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> <button function="menu" state="pressed" draw_ops="menu_button_unfocused_pressed"/> <button function="menu" state="prelight" draw_ops="menu_button_unfocused_prelight"/> </frame_style> <frame_style name="normal_shaded" geometry="shaded" parent="normal"> <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> </frame_style> <frame_style name="focused" geometry="normal" parent="normal"> <piece position="entire_background" draw_ops="round_bevel"/> <piece position="title" draw_ops="title"/> <piece position="bottom_edge" draw_ops="bottom_edge"/> <button function="close" state="normal" draw_ops="close_button_normal"/> <button function="close" state="pressed" draw_ops="close_button_pressed"/> <button function="close" state="prelight" draw_ops="close_button_prelight"/> <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> <button function="menu" state="normal" draw_ops="menu_button_normal"/> <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> <button function="menu" state="prelight" draw_ops="menu_button_prelight"/> </frame_style> <frame_style name="focused_shaded" geometry="shaded" parent="focused"> <piece position="entire_background" draw_ops="round_bevel_shaded"/> </frame_style> <frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> <piece position="bottom_edge" draw_ops="bottom_edge"/> <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> </frame_style> <frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> <piece position="entire_background" draw_ops="bevel_maximized"/> <piece position="bottom_edge" draw_ops="bottom_edge"/> <button function="maximize" state="normal" draw_ops="restore_button_normal"/> <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> </frame_style> <frame_style name="border" geometry="border" parent="normal"> <piece position="entire_background" draw_ops="border"/> <piece position="title" draw_ops="blank"/> </frame_style> <frame_style name="utility_normal" geometry="utility" parent="normal"> <piece position="entire_background" draw_ops="bevel_unfocused"/> </frame_style> <frame_style name="utility_focused" geometry="utility" parent="focused"> <piece position="entire_background" draw_ops="bevel"/> </frame_style> <frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> <piece position="entire_background" draw_ops="bevel_shaded"/> </frame_style> <frame_style_set name="normal"> <frame focus="yes" state="normal" resize="both" style="focused"/> <frame focus="no" state="normal" resize="both" style="normal"/> <frame focus="yes" state="maximized" style="focused_maximized"/> <frame focus="no" state="maximized" style="normal_maximized"/> <frame focus="yes" state="shaded" style="focused_shaded"/> <frame focus="no" state="shaded" style="normal_shaded"/> <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> </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_normal"/> <!-- this is a bunch of crack since utility windows shouldn't be maximized --> <frame focus="yes" state="maximized" style="focused"/> <frame focus="no" state="maximized" style="normal"/> <frame focus="yes" state="shaded" style="utility_focused_shaded"/> <frame focus="no" state="shaded" style="utility_normal"/> <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> <frame focus="no" state="maximized_and_shaded" style="normal"/> </frame_style_set> <frame_style_set name="border"> <frame focus="yes" state="normal" resize="both" style="border"/> <frame focus="no" state="normal" resize="both" style="border"/> <frame focus="yes" state="maximized" style="border"/> <frame focus="no" state="maximized" style="border"/> <frame focus="yes" state="shaded" style="border"/> <frame focus="no" state="shaded" style="border"/> <frame focus="yes" state="maximized_and_shaded" style="border"/> <frame focus="no" state="maximized_and_shaded" style="border"/> </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_icon_unfocused"/> <menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> <menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> <menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> </metacity_theme>