353 lines
15 KiB
XML
Executable File
353 lines
15 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<metacity_theme>
|
|
<info>
|
|
<name>Windows 10 Theme</name>
|
|
<author>Elbullazul</author>
|
|
<copyright>2015 Elbullazul</copyright>
|
|
<date>Sept 9, 2015</date>
|
|
<description>Windows 10 window border for Windows 10 Theme</description>
|
|
</info>
|
|
|
|
<constant name="IconTitleSpacing" value="0"/>
|
|
|
|
<frame_geometry name="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
|
|
<distance name="left_width" value="1"/>
|
|
<distance name="right_width" value="1"/>
|
|
<distance name="bottom_height" value="1"/>
|
|
<distance name="left_titlebar_edge" value="1"/>
|
|
<distance name="right_titlebar_edge" value="1"/>
|
|
<distance name="button_width" value="44"/>
|
|
<distance name="button_height" value="30"/>
|
|
<distance name="title_vertical_pad" value="0"/>
|
|
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
|
|
<border name="button_border" left="3" right="0" top="1" bottom="0"/>
|
|
</frame_geometry>
|
|
|
|
<frame_geometry name="maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
|
|
<distance name="left_width" value="0"/>
|
|
<distance name="right_width" value="0"/>
|
|
<distance name="bottom_height" value="0"/>
|
|
<distance name="left_titlebar_edge" value="3"/>
|
|
<distance name="right_titlebar_edge" value="3"/>
|
|
<distance name="button_width" value="44"/>
|
|
<distance name="button_height" value="30"/>
|
|
<distance name="title_vertical_pad" value="0"/>
|
|
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
|
|
<border name="button_border" left="3" right="1" top="1" bottom="0"/>
|
|
</frame_geometry>
|
|
|
|
<frame_geometry name="border" parent="normal" has_title="false">
|
|
<distance name="button_width" value="0"/>
|
|
<distance name="button_height" value="25"/>
|
|
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
|
|
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
|
|
</frame_geometry>
|
|
|
|
<draw_ops name="title-text-focused">
|
|
<title color="#000000" x="5" y="(height - title_height) / 2"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title-text-unfocused">
|
|
<title color="#cfcfcf" x="5" y="(height - title_height) / 2"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="blank">
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title">
|
|
<rectangle color="#ffffff" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="0" y2="height"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="width" y2="0"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="width - 1" y1="0" x2="width - 1" y2="height"
|
|
width="1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title-shaded">
|
|
<rectangle color="#ffffff" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="0" y2="height"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="width" y2="0"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="width - 1" y1="0" x2="width - 1" y2="height"
|
|
width="1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title-unfocused">
|
|
<rectangle color="#ffffff" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="0" y2="height"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="0" y1="0" x2="width" y2="0"
|
|
width="1"/>
|
|
<line color="#cbccd0" x1="width - 1" y1="0" x2="width - 1" y2="height"
|
|
width="1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title-max">
|
|
<rectangle color="#ffffff" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="title-max-unfocused">
|
|
<rectangle color="#ffffff" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-left-focused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-left-unfocused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-right-focused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-right-unfocused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-bottom-focused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="frame-bottom-unfocused">
|
|
<rectangle color="#cbccd0" x="0" y="0" width="width"
|
|
height="height" filled="true"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-close-focused">
|
|
<image filename="close-focused-active.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-close-unfocused">
|
|
<image filename="close-focused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-close-blurred">
|
|
<image filename="close-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-close-pressed">
|
|
<image filename="close-focused-pressed.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-maximize-focused">
|
|
<image filename="maximize-focused-active.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-maximize-unfocused">
|
|
<image filename="maximize-focused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-maximize-blurred">
|
|
<image filename="maximize-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-maximize-pressed">
|
|
<image filename="maximize-focused-pressed.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-restore-focused">
|
|
<image filename="restore-focused-active.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-restore-unfocused">
|
|
<image filename="restore-focused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-restore-blurred">
|
|
<image filename="restore-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-restore-pressed">
|
|
<image filename="restore-focused-pressed.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-minimize-focused">
|
|
<image filename="minimize-focused-active.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-minimize-unfocused">
|
|
<image filename="minimize-focused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-minimize-blurred">
|
|
<image filename="minimize-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="button-minimize-pressed">
|
|
<image filename="minimize-focused-pressed.png" x="0" y="0" width="width" height="height"/>
|
|
</draw_ops>
|
|
|
|
|
|
<!-- Menu drawing operations -->
|
|
<draw_ops name="menu_button_icon">
|
|
<clip x="15" y="0" width="width" height="height"/>
|
|
<icon x="(30 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
|
|
y="(height-mini_icon_height) / 2"
|
|
width="mini_icon_width-1" height="mini_icon_height-1"/>
|
|
</draw_ops>
|
|
|
|
|
|
<draw_ops name="menu_button_icon_unfocused">
|
|
<clip x="15" y="0" width="width" height="height"/>
|
|
<icon x="(30 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
|
|
y="(height-mini_icon_height) / 2"
|
|
width="mini_icon_width-1" height="mini_icon_height-1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="menu_button_normal">
|
|
<clip x="15" y="0" width="width" height="height"/>
|
|
<icon x="(30 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
|
|
y="(height-mini_icon_height) / 2"
|
|
width="mini_icon_width-1" height="mini_icon_height-1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="menu_button_pressed">
|
|
<clip x="15" y="0" width="width" height="height"/>
|
|
<icon x="(30 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
|
|
y="(height-mini_icon_height) / 2"
|
|
width="mini_icon_width-1" height="mini_icon_height-1"/>
|
|
</draw_ops>
|
|
|
|
<draw_ops name="menu_button_unfocused">
|
|
<clip x="15" y="0" width="width" height="height"/>
|
|
<icon x="(30 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
|
|
y="(height-mini_icon_height) / 2"
|
|
width="mini_icon_width-1" height="mini_icon_height-1"/>
|
|
</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-close-unfocused"/>
|
|
<button function="close" state="prelight" draw_ops="button-close-focused"/>
|
|
<button function="close" state="pressed" draw_ops="button-close-pressed"/>
|
|
|
|
<button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
|
|
<button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
|
|
<button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
|
|
|
|
<button function="maximize" state="normal" draw_ops="button-maximize-unfocused"/>
|
|
<button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
|
|
<button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
|
|
|
|
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
|
|
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
|
|
</frame_style>
|
|
|
|
<frame_style name="normal-unfocused" geometry="normal">
|
|
<piece position="titlebar" draw_ops="title-unfocused"/>
|
|
<piece position="left_edge" draw_ops="frame-left-unfocused"/>
|
|
<piece position="right_edge" draw_ops="frame-right-unfocused"/>
|
|
<piece position="bottom_edge" draw_ops="frame-bottom-unfocused"/>
|
|
<piece position="title" draw_ops="title-text-unfocused"/>
|
|
|
|
<button function="close" state="normal" draw_ops="button-close-blurred"/>
|
|
<button function="close" state="prelight" draw_ops="button-close-focused"/>
|
|
<button function="close" state="pressed" draw_ops="button-close-pressed"/>
|
|
|
|
<button function="minimize" state="normal" draw_ops="button-minimize-blurred"/>
|
|
<button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
|
|
<button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
|
|
|
|
<button function="maximize" state="normal" draw_ops="button-maximize-blurred"/>
|
|
<button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
|
|
<button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
|
|
|
|
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
|
|
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
|
|
</frame_style>
|
|
|
|
<frame_style name="normal-maximized-focused" geometry="maximized">
|
|
<piece position="titlebar" draw_ops="title-max"/>
|
|
<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-close-unfocused"/>
|
|
<button function="close" state="prelight" draw_ops="button-close-focused"/>
|
|
<button function="close" state="pressed" draw_ops="button-close-pressed"/>
|
|
|
|
<button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
|
|
<button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
|
|
<button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
|
|
|
|
<button function="maximize" state="normal" draw_ops="button-restore-unfocused"/>
|
|
<button function="maximize" state="prelight" draw_ops="button-restore-focused"/>
|
|
<button function="maximize" state="pressed" draw_ops="button-restore-pressed"/>
|
|
|
|
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
|
|
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
|
|
</frame_style>
|
|
|
|
<frame_style name="normal-maximized-unfocused" geometry="maximized">
|
|
<piece position="titlebar" draw_ops="title-max-unfocused"/>
|
|
<piece position="left_edge" draw_ops="frame-left-unfocused"/>
|
|
<piece position="right_edge" draw_ops="frame-right-unfocused"/>
|
|
<piece position="bottom_edge" draw_ops="frame-bottom-unfocused"/>
|
|
<piece position="title" draw_ops="title-text-unfocused"/>
|
|
|
|
<button function="close" state="normal" draw_ops="button-close-blurred"/>
|
|
<button function="close" state="prelight" draw_ops="button-close-focused"/>
|
|
<button function="close" state="pressed" draw_ops="button-close-pressed"/>
|
|
|
|
<button function="minimize" state="normal" draw_ops="button-minimize-blurred"/>
|
|
<button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
|
|
<button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
|
|
|
|
<button function="maximize" state="normal" draw_ops="button-restore-blurred"/>
|
|
<button function="maximize" state="prelight" draw_ops="button-restore-focused"/>
|
|
<button function="maximize" state="pressed" draw_ops="button-restore-pressed"/>
|
|
|
|
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
|
|
<button function="menu" state="pressed" draw_ops="menu_button_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="normal-maximized-focused"/>
|
|
<frame focus="no" state="maximized" style="normal-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-close-focused"/>
|
|
<menu_icon function="maximize" state="normal" draw_ops="button-maximize-focused"/>
|
|
<menu_icon function="unmaximize" state="normal" draw_ops="button-maximize-focused"/>
|
|
<menu_icon function="minimize" state="normal" draw_ops="button-minimize-focused"/>
|
|
</metacity_theme>
|