Advertisement
Guest User

Divergence II - Metacity

a guest
Mar 30th, 2011
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 27.33 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. <metacity_theme>
  4. <info>
  5.     <name>Divergence-Dust</name>
  6.     <author>Kenneth Wimer, James Schriver, Andrea Cimitan</author>
  7.     <copyright>Canonical Ltd.</copyright>
  8.     <date>Aug, 2010</date>
  9.     <description>Metacity theme</description>
  10. </info>
  11.  
  12. <!-- General window layout -->
  13. <frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="false" rounded_top_right="false"  rounded_bottom_left="false" rounded_bottom_right="false">
  14.     <distance name="left_width" value="1"/>
  15.     <distance name="right_width" value="1"/>
  16.     <distance name="bottom_height" value="1"/>
  17.     <distance name="left_titlebar_edge" value="5"/>
  18.     <distance name="right_titlebar_edge" value="7"/>
  19.     <distance name="button_width" value="18"/>
  20.     <distance name="button_height" value="20"/>
  21.     <distance name="title_vertical_pad" value="12"/>
  22.     <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  23.     <border name="button_border" left="0" right="0" top="1" bottom="1"/>
  24. </frame_geometry>
  25.  
  26. <frame_geometry name="frame_geometry_abnormal" title_scale="medium" rounded_top_left="false" rounded_top_right="false">
  27.     <distance name="left_width" value="0"/>
  28.     <distance name="right_width" value="0"/>
  29.     <distance name="bottom_height" value="0"/>
  30.     <distance name="left_titlebar_edge" value="5"/>
  31.     <distance name="right_titlebar_edge" value="7"/>
  32.     <distance name="button_width" value="18"/>
  33.     <distance name="button_height" value="20"/>
  34.     <distance name="title_vertical_pad" value="2"/>
  35.     <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  36.     <border name="button_border" left="0" right="0" top="1" bottom="1"/>
  37. </frame_geometry>
  38.  
  39. <frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  40.     <distance name="left_width" value="0"/>
  41.     <distance name="right_width" value="0"/>
  42.     <distance name="bottom_height" value="0"/>
  43.     <distance name="left_titlebar_edge" value="5"/>
  44.     <distance name="right_titlebar_edge" value="7"/>
  45.     <distance name="button_width" value="18"/>
  46.     <distance name="button_height" value="20"/>
  47.     <distance name="title_vertical_pad" value="12"/>
  48.     <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  49.     <border name="button_border" left="0" right="0" top="1" bottom="1"/>
  50. </frame_geometry>
  51.  
  52. <frame_geometry name="border" has_title="false">
  53.     <distance name="left_width" value="3"/>
  54.     <distance name="right_width" value="3"/>
  55.     <distance name="bottom_height" value="3"/>
  56.     <distance name="left_titlebar_edge" value="0"/>
  57.     <distance name="right_titlebar_edge" value="0"/>
  58.     <distance name="button_width" value="0"/>
  59.     <distance name="button_height" value="0"/>
  60.     <distance name="title_vertical_pad" value="3"/>
  61.     <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  62.     <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  63. </frame_geometry>
  64.  
  65. <!-- Window Title -->
  66.  
  67. <draw_ops name="draw_title_text_normal">
  68.  <title color="#444444"
  69.         x="10"
  70.         y="(((height - title_height) / 2) `max` 0)+1"/>
  71.   <title color="#444444"
  72.         x="10"
  73.         y="(((height - title_height) / 2) `max` 0)-1"/>
  74.   <title color="#444444"
  75.         x="9"
  76.         y="(((height - title_height) / 2) `max` 0)"/>
  77.   <title color="#444444"
  78.         x="11"
  79.         y="(((height - title_height) / 2) `max` 0)"/>
  80.   <title color="#bfbbb2"
  81.         x="10"
  82.         y="(((height - title_height) / 2) `max` 0)"/>
  83.  
  84. </draw_ops>
  85.  
  86. <draw_ops name="draw_title_text_inactive">
  87.   <title color="#333333"
  88.         x="10"
  89.         y="(((height - title_height) / 2) `max` 0)+1"/>
  90.   <title color="#333333"
  91.         x="10"
  92.         y="(((height - title_height) / 2) `max` 0)-1"/>
  93.   <title color="#333333"
  94.         x="9"
  95.         y="(((height - title_height) / 2) `max` 0)"/>
  96.   <title color="#333333"
  97.         x="11"
  98.         y="(((height - title_height) / 2) `max` 0)"/>
  99.   <title color="#807d78"
  100.         x="10"
  101.         y="(((height - title_height) / 2) `max` 0)"/>
  102. </draw_ops>
  103.  
  104. <draw_ops name="draw_title">
  105.     <!-- Background gradient -->
  106.     <gradient type="vertical" x="0" y="0" width="width" height="top_height">
  107.         <color value="#5c5b56" />
  108.         <color value="#3c3b37" />
  109.     <color value="#3c3b37" />
  110.     </gradient>
  111.    
  112.     <!-- Titlebar outline -->
  113.     <rectangle color="shade/#3c3b37/1.2" filled="false" x="0" y="0" width="width - 1" height="top_height - 1"/>
  114.  
  115.     <!-- Topmost lines -->
  116.     <line color="shade/#3c3b37/1.2" x1="0" x2="width" y1="0" y2="0"/>
  117.     <line color="shade/#5c5b56/1.1" x1="0" x2="width" y1="1" y2="1"/>
  118.    
  119.  
  120. </draw_ops>
  121.  
  122. <draw_ops name="draw_title_unfocused">
  123.     <!-- Background gradient -->
  124.     <gradient type="vertical" x="0" y="0" width="width+9" height="height">
  125.         <color value="#4b4a46" />
  126.         <color value="#3c3b37" />
  127.     <color value="#3c3b37" />
  128.     </gradient>
  129.  
  130.     <!-- Titlebar outline -->
  131.     <rectangle color="shade/#3c3b37/1.2" filled="false" x="0" y="0" width="width - 1" height="top_height - 1"/>
  132.  
  133.     <!-- Topmost lines -->
  134.     <line color="shade/#3c3b37/1.16" x1="0" x2="width" y1="0" y2="0"/>
  135.     <line color="shade/#494844/1.14" x1="0" x2="width" y1="1" y2="1"/>
  136.  
  137. </draw_ops>
  138.  
  139. <draw_ops name="draw_title_inactive">
  140.     <include name="draw_title_unfocused" />
  141. </draw_ops>
  142.  
  143. <draw_ops name="draw_title_maximized">
  144.     <!-- Background gradient -->
  145.     <gradient type="vertical" x="0" y="0" width="width" height="top_height">
  146.         <color value="#5c5b56" />
  147.         <color value="#3c3b37" />
  148.     <color value="#3c3b37" />
  149.     </gradient>
  150.    
  151.     <!-- Topmost dark line -->
  152.     <line color="shade/#5c5b56/1.1" x1="0" x2="width" y1="0" y2="0"/>
  153.    
  154.     <line color="shade/#3c3b37/1.0" x1="1" y1="top_height - 1" x2="width - 2" y2="top_height - 1"/>
  155. </draw_ops>
  156.  
  157. <draw_ops name="draw_title_maximized_unfocused">
  158.     <!-- Background gradient -->
  159.     <gradient type="vertical" x="0" y="0" width="width" height="top_height">
  160.         <color value="#494844" />
  161.         <color value="#3c3b37" />
  162.     <color value="#3c3b37" />
  163.     </gradient>
  164.    
  165.     <!-- Topmost dark line -->
  166.     <line color="shade/#494844/1.1" x1="0" x2="width" y1="0" y2="0"/>
  167.    
  168.     <line color="shade/#3c3b37/1.0" x1="1" y1="top_height - 1" x2="width - 2" y2="top_height - 1"/>
  169. </draw_ops>
  170.  
  171. <draw_ops name="draw_title_maximized_inactive">
  172.     <include name="draw_title_maximized_unfocused" />
  173. </draw_ops>
  174.  
  175. <!-- Window Frames -->
  176.  
  177. <draw_ops name="draw_frame">
  178.     <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/>
  179.     <gradient type="vertical" x="0" y="0" width="width" height="60">
  180.         <color value="shade/#3c3b37/1.2" />
  181.         <color value="shade/gtk:bg[NORMAL]/0.7" />
  182.     </gradient>
  183. </draw_ops>
  184.  
  185. <!-- bottom border -->
  186. <draw_ops name="bottom_edge">
  187.     <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" x2="width" y1="height-1" y2="height-1"/>
  188. </draw_ops>
  189.  
  190. <draw_ops name="border">
  191.     <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  192.     <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
  193.     <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="width - 2" y2="1"/>
  194.     <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="1" y2="height - 2"/>
  195.    
  196.     <rectangle color="shade/gtk:bg[NORMAL]/0.25" filled="false"
  197.                x="0" y="0"
  198.                width="width - 1"
  199.                height="height - 1"/>
  200. </draw_ops>
  201.  
  202. <!-- BUTTONS -->
  203.  
  204. <!-- Button Trough Left -->
  205.     <draw_ops name="left_left_background_focused_normal">
  206.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  207.     </draw_ops>
  208.     <draw_ops name="left_left_background_focused_pressed">
  209.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  210.     </draw_ops>
  211.     <draw_ops name="left_middle_background_focused_normal">
  212.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  213.     </draw_ops>
  214.     <draw_ops name="left_middle_background_focused_pressed">
  215.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  216.     </draw_ops>
  217.     <draw_ops name="left_right_background_focused_normal">
  218.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  219.     </draw_ops>
  220.     <draw_ops name="left_right_background_focused_pressed">
  221.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  222.     </draw_ops>
  223.     <draw_ops name="left_left_background_unfocused_normal">
  224.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  225.     </draw_ops>
  226.     <draw_ops name="left_left_background_unfocused_pressed">
  227.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  228.     </draw_ops>
  229.     <draw_ops name="left_middle_background_unfocused_normal">
  230.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  231.     </draw_ops>
  232.     <draw_ops name="left_middle_background_unfocused_pressed">
  233.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  234.     </draw_ops>
  235.     <draw_ops name="left_right_background_unfocused_normal">
  236.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  237.     </draw_ops>
  238.     <draw_ops name="left_right_background_unfocused_pressed">
  239.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  240.     </draw_ops>
  241.    
  242. <!-- Button Trough Right -->
  243.     <draw_ops name="right_left_background_focused_normal">
  244.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  245.     </draw_ops>
  246.     <draw_ops name="right_left_background_focused_pressed">
  247.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  248.     </draw_ops>
  249.     <draw_ops name="right_middle_background_focused_normal">
  250.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  251.     </draw_ops>
  252.     <draw_ops name="right_middle_background_focused_pressed">
  253.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  254.     </draw_ops>
  255.     <draw_ops name="right_right_background_focused_normal">
  256.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  257.     </draw_ops>
  258.     <draw_ops name="right_right_background_focused_pressed">
  259.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  260.     </draw_ops>
  261.     <draw_ops name="right_left_background_unfocused_normal">
  262.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  263.     </draw_ops>
  264.     <draw_ops name="right_left_background_unfocused_pressed">
  265.         <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  266.     </draw_ops>
  267.     <draw_ops name="right_middle_background_unfocused_normal">
  268.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  269.     </draw_ops>
  270.     <draw_ops name="right_middle_background_unfocused_pressed">
  271.         <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  272.     </draw_ops>
  273.     <draw_ops name="right_right_background_unfocused_normal">
  274.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  275.     </draw_ops>
  276.     <draw_ops name="right_right_background_unfocused_pressed">
  277.         <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  278.     </draw_ops>
  279.    
  280. <!-- Button prelightlays -->
  281.     <draw_ops name="menu_focused_normal">
  282.     <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/>
  283.     </draw_ops>
  284.         <draw_ops name="menu_focused_prelight">
  285.      <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  286.     </draw_ops>
  287.     <draw_ops name="menu_unfocused_normal">
  288.         <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/>
  289.     </draw_ops>
  290.     <draw_ops name="menu_unfocused_prelight">
  291.         <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  292.     </draw_ops>
  293.     <draw_ops name="minimize_focused_normal">
  294.         <image filename="minimize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  295.     </draw_ops>
  296.     <draw_ops name="minimize_focused_prelight">
  297.         <image filename="minimize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  298.     </draw_ops>
  299.     <draw_ops name="minimize_focused_pressed">
  300.         <image filename="minimize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  301.     </draw_ops>
  302.     <draw_ops name="minimize_unfocused_normal">
  303.         <image filename="minimize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  304.     </draw_ops>
  305.     <draw_ops name="minimize_unfocused_prelight">
  306.         <image filename="minimize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  307.     </draw_ops>
  308.     <draw_ops name="minimize_unfocused_pressed">
  309.         <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height"/>
  310.     </draw_ops>
  311.     <draw_ops name="maximize_focused_normal">
  312.         <image filename="maximize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  313.     </draw_ops>
  314.     <draw_ops name="maximize_focused_prelight">
  315.         <image filename="maximize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  316.     </draw_ops>
  317.     <draw_ops name="maximize_focused_pressed">
  318.         <image filename="maximize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  319.     </draw_ops>
  320.     <draw_ops name="maximize_unfocused_normal">
  321.         <image filename="maximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  322.     </draw_ops>
  323.     <draw_ops name="maximize_unfocused_prelight">
  324.         <image filename="maximize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  325.     </draw_ops>
  326.     <draw_ops name="maximize_unfocused_pressed">
  327.         <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height"/>
  328.     </draw_ops>
  329.     <draw_ops name="unmaximize_focused_normal">
  330.         <image filename="unmaximize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  331.     </draw_ops>
  332.     <draw_ops name="unmaximize_focused_prelight">
  333.         <image filename="unmaximize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  334.     </draw_ops>
  335.     <draw_ops name="unmaximize_focused_pressed">
  336.         <image filename="unmaximize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  337.     </draw_ops>
  338.     <draw_ops name="unmaximize_unfocused_normal">
  339.         <image filename="unmaximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  340.     </draw_ops>
  341.     <draw_ops name="unmaximize_unfocused_prelight">
  342.         <image filename="unmaximize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  343.     </draw_ops>
  344.     <draw_ops name="unmaximize_unfocused_pressed">
  345.         <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height"/>
  346.     </draw_ops>
  347.     <draw_ops name="close_focused_normal">
  348.         <image filename="close_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  349.     </draw_ops>
  350.     <draw_ops name="close_focused_prelight">
  351.         <image filename="close_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  352.     </draw_ops>
  353.     <draw_ops name="close_focused_pressed">
  354.         <image filename="close_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  355.     </draw_ops>
  356.     <draw_ops name="close_unfocused_normal">
  357.         <image filename="close_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  358.     </draw_ops>
  359.     <draw_ops name="close_unfocused_prelight">
  360.         <image filename="close_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  361.     </draw_ops>
  362.     <draw_ops name="close_unfocused_pressed">
  363.         <image filename="close.png" x="0" y="1" width="object_width" height="object_height"/>
  364.     </draw_ops>
  365.  
  366. <!-- FRAME STYLE -->
  367. <frame_style name="normal_focused" geometry="frame_geometry_normal">
  368.     <piece position="title" draw_ops="draw_title_text_normal"/>
  369.     <piece position="titlebar" draw_ops="draw_title"/>
  370.     <piece position="left_edge" draw_ops="draw_frame"/>
  371.     <piece position="right_edge" draw_ops="draw_frame"/>
  372.     <piece position="bottom_edge" draw_ops="bottom_edge"/>
  373.     <button function="left_left_background" state="normal" draw_ops="left_left_background_focused_normal"/>
  374.     <button function="left_middle_background" state="normal" draw_ops="left_middle_background_focused_normal"/>
  375.     <button function="left_right_background" state="normal" draw_ops="left_right_background_focused_normal"/>
  376.     <button function="left_left_background" state="prelight" draw_ops="left_left_background_focused_normal"/>
  377.     <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_focused_normal"/>
  378.     <button function="left_right_background" state="prelight" draw_ops="left_right_background_focused_normal"/>
  379.     <button function="left_left_background" state="pressed" draw_ops="left_left_background_focused_pressed"/>
  380.     <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_focused_pressed"/>
  381.     <button function="left_right_background" state="pressed" draw_ops="left_right_background_focused_pressed"/>
  382.     <button function="right_left_background" state="normal" draw_ops="right_left_background_focused_normal"/>
  383.     <button function="right_middle_background" state="normal" draw_ops="right_middle_background_focused_normal"/>
  384.     <button function="right_right_background" state="normal" draw_ops="right_right_background_focused_normal"/>
  385.     <button function="right_left_background" state="prelight" draw_ops="right_left_background_focused_normal"/>
  386.     <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_focused_normal"/>
  387.     <button function="right_right_background" state="prelight" draw_ops="right_right_background_focused_normal"/>
  388.     <button function="right_left_background" state="pressed" draw_ops="right_left_background_focused_pressed"/>
  389.     <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_focused_pressed"/>
  390.     <button function="right_right_background" state="pressed" draw_ops="right_right_background_focused_pressed"/>
  391.     <button function="menu" state="normal" draw_ops="menu_focused_normal"/>
  392.     <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
  393.     <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  394.     <button function="minimize" state="normal" draw_ops="minimize_focused_normal"/>
  395.     <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
  396.     <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
  397.     <button function="maximize" state="normal" draw_ops="maximize_focused_normal"/>
  398.     <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
  399.     <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
  400.     <button function="close" state="normal" draw_ops="close_focused_normal"/>
  401.     <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
  402.     <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
  403. </frame_style>
  404.  
  405. <frame_style name="normal_unfocused" geometry="frame_geometry_normal">
  406.     <piece position="title" draw_ops="draw_title_text_inactive"/>
  407.     <piece position="titlebar" draw_ops="draw_title_inactive"/>
  408.     <piece position="left_edge" draw_ops="draw_frame"/>
  409.     <piece position="right_edge" draw_ops="draw_frame"/>
  410.     <piece position="bottom_edge" draw_ops="bottom_edge"/>
  411.     <button function="left_left_background" state="normal" draw_ops="left_left_background_unfocused_normal"/>
  412.     <button function="left_middle_background" state="normal" draw_ops="left_middle_background_unfocused_normal"/>
  413.     <button function="left_right_background" state="normal" draw_ops="left_right_background_unfocused_normal"/>
  414.     <button function="left_left_background" state="prelight" draw_ops="left_left_background_unfocused_normal"/>
  415.     <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_unfocused_normal"/>
  416.     <button function="left_right_background" state="prelight" draw_ops="left_right_background_unfocused_normal"/>
  417.     <button function="left_left_background" state="pressed" draw_ops="left_left_background_unfocused_pressed"/>
  418.     <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_unfocused_pressed"/>
  419.     <button function="left_right_background" state="pressed" draw_ops="left_right_background_unfocused_pressed"/>
  420.     <button function="right_left_background" state="normal" draw_ops="right_left_background_unfocused_normal"/>
  421.     <button function="right_middle_background" state="normal" draw_ops="right_middle_background_unfocused_normal"/>
  422.     <button function="right_right_background" state="normal" draw_ops="right_right_background_unfocused_normal"/>
  423.     <button function="right_left_background" state="prelight" draw_ops="right_left_background_unfocused_normal"/>
  424.     <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_unfocused_normal"/>
  425.     <button function="right_right_background" state="prelight" draw_ops="right_right_background_unfocused_normal"/>
  426.     <button function="right_left_background" state="pressed" draw_ops="right_left_background_unfocused_pressed"/>
  427.     <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_unfocused_pressed"/>
  428.     <button function="right_right_background" state="pressed" draw_ops="right_right_background_unfocused_pressed"/>
  429.     <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/>
  430.     <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
  431.     <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  432.     <button function="minimize" state="normal" draw_ops="minimize_unfocused_normal"/>
  433.     <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
  434.     <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
  435.     <button function="maximize" state="normal" draw_ops="maximize_unfocused_normal"/>
  436.     <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
  437.     <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
  438.     <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
  439.     <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
  440.     <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
  441. </frame_style>
  442.  
  443. <frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused">
  444.     <piece position="title" draw_ops="draw_title_text_normal"/>
  445.     <piece position="titlebar" draw_ops="draw_title_maximized"/>
  446.     <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/>
  447.     <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
  448.     <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
  449. </frame_style>
  450.  
  451. <frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused">
  452.     <piece position="title" draw_ops="draw_title_text_inactive"/>
  453.     <piece position="titlebar" draw_ops="draw_title_maximized_inactive"/>
  454.     <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/>
  455.     <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
  456.     <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
  457. </frame_style>
  458.  
  459. <frame_style name="utility_focused" parent="normal_focused">
  460.     <piece position="title" draw_ops="draw_title_text_normal"/>
  461.     <piece position="titlebar" draw_ops="draw_title"/>
  462.     <button function="menu" state="normal" draw_ops="menu_focused_normal"/>
  463.     <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
  464.     <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  465.     <button function="close" state="normal" draw_ops="close_focused_normal"/>
  466.     <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
  467.     <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
  468. </frame_style>
  469.  
  470. <frame_style name="utility_unfocused" parent="normal_unfocused">
  471.     <piece position="title" draw_ops="draw_title_text_inactive"/>
  472.     <piece position="titlebar" draw_ops="draw_title_inactive"/>
  473.     <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/>
  474.     <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
  475.     <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  476.     <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
  477.     <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
  478.     <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
  479. </frame_style>
  480.  
  481. <frame_style name="border" geometry="border" parent="normal_focused">
  482.   <piece position="title" draw_ops="draw_title"/>
  483.     <piece position="titlebar" draw_ops="draw_title_inactive"/>
  484. </frame_style>
  485.  
  486. <!-- STYLE SET -->
  487. <frame_style_set name="normal">
  488.     <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
  489.     <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
  490.     <frame focus="yes" state="maximized" style="maximized_focused"/>
  491.     <frame focus="no" state="maximized" style="maximized_unfocused"/>
  492.     <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  493.     <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  494.     <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  495.     <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  496. </frame_style_set>
  497.  
  498. <frame_style_set name="utility">
  499.     <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
  500.     <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
  501.     <frame focus="yes" state="maximized" style="maximized_focused"/>
  502.     <frame focus="no" state="maximized" style="normal_focused"/>
  503.     <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  504.     <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  505.     <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  506.     <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  507. </frame_style_set>
  508.  
  509. <frame_style_set name="border">
  510.     <frame focus="yes" state="normal" resize="both" style="border"/>
  511.     <frame focus="no" state="normal" resize="both" style="border"/>
  512.     <frame focus="yes" state="maximized" style="maximized_focused"/>
  513.     <frame focus="no" state="maximized" style="normal_focused"/>
  514.     <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  515.     <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  516.     <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  517.     <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  518. </frame_style_set>
  519.  
  520. <!-- WINDOW -->
  521. <window type="normal" style_set="normal"/>
  522. <window type="dialog" style_set="utility"/>
  523. <window type="modal_dialog" style_set="utility"/>
  524. <window type="menu" style_set="utility"/>
  525. <window type="utility" style_set="utility"/>
  526. <window type="border" style_set="border"/>
  527.  
  528. </metacity_theme>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement