PageRenderTime 19ms CodeModel.GetById 2ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/light-themes-0.1.11/Radiance/metacity-1/metacity-theme-1.xml

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