comparison metacity-1/metacity-theme-3.xml @ 0:a48477723cfe

Base Adwaita theme for GTK 3.16 https://github.com/GNOME/gnome-themes-standard/tree/gnome-3-14/themes/Adwaita @ 7c9d684 with gtk-3.0 directory replaced with https://github.com/GNOME/gtk/tree/gtk-3-16/gtk/theme/Adwaita @ ff9ee56
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Apr 2016 20:21:23 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a48477723cfe
1 <?xml version="1.0"?>
2 <metacity_theme>
3 <info>
4 <name>Adwaita</name>
5 <author>GNOME Art Team &lt;art.gnome.org&gt;</author>
6 <copyright>&#194; Intel, &#194; Red Hat, Lapo Calamandrei</copyright>
7 <date>2014</date>
8 <description>Default GNOME 3 window theme</description>
9 </info>
10
11 <!-- meaningfull constants -->
12
13 <constant name="C_border_focused" value="blend/#000000/gtk:bg[NORMAL]/0.7" />
14 <constant name="C_border_unfocused" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
15 <constant name="C_titlebar_focused_hilight" value="gtk:custom(wm_highlight,gtk:base[NORMAL])" />
16 <constant name="C_titlebar_unfocused" value="blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.4" />
17 <constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
18 <constant name="C_title_focused_hilight" value="gtk:custom(wm_borders_edge,gtk:base[NORMAL])" />
19 <constant name="C_title_focused_hilight_dark" value="gtk:custom(wm_borders_edge,gtk:bg[NORMAL])" />
20 <constant name="C_title_unfocused" value="gtk:custom(wm_unfocused_title,gtk:fg[INSENSITIVE])" />
21 <!-- color of the button icons -->
22 <constant name="C_icons_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
23 <constant name="C_icons_pressed" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
24 <constant name="C_icons_unfocused" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
25 <constant name="C_icons_unfocused_prelight" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
26 <constant name="C_icons_unfocused_pressed" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
27 <constant name="C_icons_shadow" value="gtk:custom(wm_borders_edge,gtk:base[NORMAL])" />
28 <constant name="C_separator" value="blend/#000000/gtk:bg[NORMAL]/0.9" />
29 <constant name="D_icons_unfocused_offset" value="0" /> <!-- offset of the unfocused icons -->
30 <constant name="D_icons_shrink" value="3" /> <!-- increasing this value makes the icons in buttons smaller -->
31 <constant name="D_icons_grow" value="0" /> <!-- increasing this value makes the icons in buttons bigger -->
32 <!-- geometries -->
33
34 <frame_geometry name="normal" title_scale="medium" rounded_top_left="4" rounded_top_right="4">
35 <distance name="left_width" value="1" />
36 <distance name="right_width" value="1" />
37 <distance name="bottom_height" value="1" />
38 <distance name="left_titlebar_edge" value="1"/>
39 <distance name="right_titlebar_edge" value="1"/>
40 <distance name="title_vertical_pad" value="16"/>
41 <border name="title_border" left="10" right="10" top="0" bottom="2"/>
42 <border name="button_border" left="0" right="0" top="1" bottom="0"/>
43 <aspect_ratio name="button" value="1"/>
44 </frame_geometry>
45
46 <frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="4" rounded_top_right="4" parent="normal">
47 <distance name="left_titlebar_edge" value="1"/>
48 <distance name="right_titlebar_edge" value="1"/>
49 </frame_geometry>
50
51 <frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
52 <distance name="left_width" value="0" />
53 <distance name="right_width" value="0" />
54 <distance name="title_vertical_pad" value="15"/> <!--
55 This needs to be 1 less then the
56 title_vertical_pad on normal state
57 or you'll have bigger buttons -->
58 <border name="title_border" left="10" right="10" top="1" bottom="2"/>
59 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
60 <distance name="bottom_height" value="0" />
61 </frame_geometry>
62
63 <frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
64 <distance name="right_width" value="0" />
65 </frame_geometry>
66
67 <frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
68 <distance name="left_width" value="1" />
69 </frame_geometry>
70
71 <frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false">
72 <distance name="title_vertical_pad" value="7"/>
73 <border name="title_border" left="10" right="10" top="0" bottom="1"/>
74 <border name="button_border" left="0" right="0" top="0" bottom="2"/>
75 </frame_geometry>
76
77 <frame_geometry name="small_unfocused" parent="small">
78 <distance name="left_titlebar_edge" value="1"/>
79 <distance name="right_titlebar_edge" value="1"/>
80 </frame_geometry>
81
82 <frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
83 </frame_geometry>
84
85 <frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
86 <distance name="left_width" value="1" />
87 <distance name="right_width" value="1" />
88 <distance name="bottom_height" value="1" />
89 <border name="title_border" left="10" right="10" top="0" bottom="0" />
90 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
91 <distance name="title_vertical_pad" value="1" />
92 </frame_geometry>
93
94 <frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
95 <distance name="left_width" value="0" />
96 <distance name="right_width" value="0" />
97 <distance name="bottom_height" value="0" />
98 <distance name="title_vertical_pad" value="0" />
99 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
100 <border name="title_border" left="0" right="0" top="0" bottom="0" />
101 </frame_geometry>
102
103 <frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="false" rounded_top_right="false" parent="small">
104 <distance name="title_vertical_pad" value="5"/>
105 </frame_geometry>
106
107 <frame_geometry name="attached" title_scale="medium" hide_buttons="true" rounded_top_left="4" rounded_top_right="4" rounded_bottom_left="4" rounded_bottom_right="4" parent="normal">
108 <distance name="title_vertical_pad" value="1"/>
109 <distance name="bottom_height" value="1"/>
110 <distance name="left_width" value="1"/>
111 <distance name="right_width" value="1"/>
112 </frame_geometry>
113
114 <!-- drawing operations -->
115
116 <!-- title -->
117
118 <draw_ops name="title_focused">
119 <title version="< 3.1"
120 x="(0 `max` ((width - title_width) / 2))"
121 y="(0 `max` ((height - title_height) / 2)) + 2"
122 color="C_title_focused_hilight" />
123 <title version="< 3.1"
124 x="(0 `max` ((width - title_width) / 2))"
125 y="(0 `max` ((height - title_height) / 2))"
126 color="C_title_focused_hilight_dark" />
127 <title version="< 3.1"
128 x="(0 `max` ((width - title_width) / 2))"
129 y="(0 `max` ((height - title_height) / 2)) + 1"
130 color="C_title_focused" />
131 <title version=">= 3.1"
132 x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
133 y="(0 `max` ((height - title_height) / 2)) + 2"
134 ellipsize_width="width"
135 color="C_title_focused_hilight" />
136 <title version=">= 3.1"
137 x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
138 y="(0 `max` ((height - title_height) / 2))"
139 ellipsize_width="width"
140 color="C_title_focused_hilight_dark" />
141 <title version=">= 3.1"
142 x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
143 y="(0 `max` ((height - title_height) / 2)) + 1"
144 ellipsize_width="width"
145 color="C_title_focused" />
146 </draw_ops>
147
148 <draw_ops name="title_unfocused">
149 <title version="< 3.1"
150 x="(0 `max` ((width - title_width) / 2))"
151 y="(0 `max` ((height - title_height) / 2)) + 1"
152 color="C_title_unfocused"/>
153 <title version=">= 3.1"
154 x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width)))"
155 y="(0 `max` ((height - title_height) / 2)) + 1"
156 ellipsize_width="width"
157 color="C_title_unfocused"/>
158 </draw_ops>
159
160 <!-- window decorations -->
161
162 <draw_ops name="entire_background_focused">
163 <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true" />
164 </draw_ops>
165
166 <draw_ops name="entire_background_unfocused">
167 <include name="entire_background_focused" />
168 </draw_ops>
169
170 <draw_ops name="titlebar_fill_focused">
171 <gradient type="vertical" x="0" y="0" width="width" height="height">
172 <color value="gtk:custom(wm_bg_a,blend/gtk:bg[NORMAL]/gtk:base[NORMAL]/0.4)" />
173 <color value="gtk:custom(wm_bg_b,gtk:bg[NORMAL])" />
174 </gradient>
175 </draw_ops>
176
177
178 <draw_ops name="titlebar_fill_unfocused">
179 <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" />
180 </draw_ops>
181
182 <draw_ops name="hilight">
183 <line x1="0" y1="1" x2="width-1" y2="1" color="C_titlebar_focused_hilight" />
184 </draw_ops>
185
186 <draw_ops name="rounded_hilight">
187 <line x1="5" y1="1" x2="width-6" y2="1" color="C_titlebar_focused_hilight" />
188 <arc color="C_titlebar_focused_hilight" x="0" y="1" width="8" height="7" start_angle="270" extent_angle="90" />
189 <arc color="C_titlebar_focused_hilight" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" />
190 </draw_ops>
191
192 <draw_ops name="titlebar_focused">
193 <include name="titlebar_fill_focused" />
194 <include name="hilight" />
195 </draw_ops>
196
197 <draw_ops name="rounded_titlebar_focused">
198 <include name="titlebar_fill_focused" />
199 <include name="rounded_hilight" />
200 </draw_ops>
201
202 <draw_ops name="rounded_titlebar_focused_alt">
203 <include name="titlebar_fill_focused" />
204 <include name="rounded_hilight" />
205 </draw_ops>
206
207 <draw_ops name="rounded_titlebar_unfocused">
208 <include name="titlebar_fill_unfocused" />
209 <include name="rounded_hilight" />
210 </draw_ops>
211
212 <draw_ops name="titlebar_unfocused">
213 <include name="titlebar_fill_unfocused" />
214 <include name="hilight" />
215 </draw_ops>
216
217 <draw_ops name="border_focused">
218 <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" />
219 </draw_ops>
220
221 <draw_ops name="border_unfocused">
222 <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" />
223 </draw_ops>
224
225 <draw_ops name="rounded_border_focused">
226 <line color="C_border_focused" x1="4" y1="0" x2="width-5" y2="0" />
227 <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
228 <line color="C_border_focused" x1="0" y1="4" x2="0" y2="height-2" />
229 <line color="C_border_focused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
230 <arc color="C_border_focused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
231 <arc color="C_border_focused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
232 <!-- double arcs for darker borders -->
233 <arc color="C_border_focused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
234 <arc color="C_border_focused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
235 </draw_ops>
236
237 <draw_ops name="rounded_border_unfocused">
238 <line color="C_border_unfocused" x1="4" y1="0" x2="width-5" y2="0" />
239 <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
240 <line color="C_border_unfocused" x1="0" y1="4" x2="0" y2="height-2" />
241 <line color="C_border_unfocused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
242 <arc color="C_border_unfocused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
243 <arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
244
245 <!-- double arcs for darker borders -->
246 <arc color="C_border_unfocused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
247 <arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
248 </draw_ops>
249
250
251
252 <draw_ops name="border_left_focused">
253 <line
254 x1="0" y1="0"
255 x2="0" y2="height"
256 color="C_border_focused" />
257 </draw_ops>
258
259 <draw_ops name="border_left_unfocused">
260 <line
261 x1="0" y1="0"
262 x2="0" y2="height"
263 color="C_border_unfocused" />
264 </draw_ops>
265
266 <!-- button icons-->
267
268
269 <draw_ops name="close_shadow_focused">
270 <line
271 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
272 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
273 color="C_icons_shadow" />
274 <line
275 x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
276 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
277 color="C_icons_shadow" />
278 <line
279 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
280 x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
281 color="C_icons_shadow" />
282 <line
283 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
284 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
285 color="C_icons_shadow" />
286 <line
287 x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
288 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
289 color="C_icons_shadow" />
290 <line
291 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
292 x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
293 color="C_icons_shadow" />
294 </draw_ops>
295
296 <draw_ops name="close_glyph_focused">
297 <line
298 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
299 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
300 color="C_icons_focused" />
301 <line
302 x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
303 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
304 color="C_icons_focused" />
305 <line
306 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
307 x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
308 color="C_icons_focused" />
309 <line
310 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
311 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
312 color="C_icons_focused" />
313 <line
314 x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
315 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
316 color="C_icons_focused" />
317 <line
318 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
319 x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
320 color="C_icons_focused" />
321 </draw_ops>
322
323 <draw_ops name="close_focused">
324 <include name="close_shadow_focused" y="1" />
325 <include name="close_glyph_focused" />
326 </draw_ops>
327
328 <draw_ops name="close_focused_pressed">
329 <include name="close_focused"/>
330 </draw_ops>
331
332 <draw_ops name="close_focused_prelight">
333 <include name="close_focused"/>
334 </draw_ops>
335
336 <draw_ops name="close_glyph_unfocused">
337 <line
338 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
339 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
340 color="C_icons_unfocused" />
341 <line
342 x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
343 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
344 color="C_icons_unfocused" />
345 <line
346 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
347 x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
348 color="C_icons_unfocused" />
349 <line
350 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
351 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
352 color="C_icons_unfocused" />
353 <line
354 x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
355 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
356 color="C_icons_unfocused" />
357 <line
358 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
359 x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
360 color="C_icons_unfocused" />
361 </draw_ops>
362
363 <draw_ops name="close_unfocused">
364 <include name="close_glyph_unfocused" y="D_icons_unfocused_offset" />
365 </draw_ops>
366
367 <draw_ops name="close_glyph_unfocused_prelight">
368 <line
369 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
370 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
371 color="C_icons_unfocused_prelight" />
372 <line
373 x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
374 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
375 color="C_icons_unfocused_prelight" />
376 <line
377 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
378 x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
379 color="C_icons_unfocused_prelight" />
380 <line
381 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
382 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
383 color="C_icons_unfocused_prelight" />
384 <line
385 x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
386 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
387 color="C_icons_unfocused_prelight" />
388 <line
389 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
390 x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
391 color="C_icons_unfocused_prelight" />
392 </draw_ops>
393
394 <draw_ops name="close_unfocused_prelight">
395 <include name="close_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
396 </draw_ops>
397
398 <draw_ops name="close_glyph_unfocused_pressed">
399 <line
400 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
401 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
402 color="C_icons_unfocused_pressed" />
403 <line
404 x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
405 x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
406 color="C_icons_unfocused_pressed" />
407 <line
408 x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
409 x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
410 color="C_icons_unfocused_pressed" />
411 <line
412 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
413 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
414 color="C_icons_unfocused_pressed" />
415 <line
416 x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
417 x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
418 color="C_icons_unfocused_pressed" />
419 <line
420 x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
421 x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
422 color="C_icons_unfocused_pressed" />
423 </draw_ops>
424
425 <draw_ops name="close_unfocused_pressed">
426 <include name="close_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
427 </draw_ops>
428
429 <draw_ops name="maximize_glyph_focused">
430 <rectangle
431 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
432 width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
433 color="C_icons_focused" />
434 <rectangle
435 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
436 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
437 color="C_icons_focused" />
438 </draw_ops>
439
440 <draw_ops name="maximize_shadow_focused">
441 <rectangle
442 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
443 width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
444 color="C_icons_shadow" />
445 <rectangle
446 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
447 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
448 color="C_icons_shadow" />
449 </draw_ops>
450
451 <draw_ops name="maximize_focused">
452 <include name="maximize_shadow_focused" y="1" />
453 <include name="maximize_glyph_focused" />
454 </draw_ops>
455
456 <draw_ops name="maximize_focused_pressed">
457 <include name="maximize_focused" />
458 </draw_ops>
459
460 <draw_ops name="maximize_focused_prelight">
461 <include name="maximize_focused" />
462 </draw_ops>
463
464 <draw_ops name="maximize_glyph_unfocused">
465 <rectangle
466 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
467 width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
468 color="C_icons_unfocused" />
469 <rectangle
470 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
471 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
472 color="C_icons_unfocused" />
473 </draw_ops>
474
475 <draw_ops name="maximize_unfocused">
476 <include name="maximize_glyph_unfocused" y="D_icons_unfocused_offset" />
477 </draw_ops>
478
479 <draw_ops name="maximize_glyph_unfocused_prelight">
480 <rectangle
481 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
482 width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
483 color="C_icons_unfocused_prelight" />
484 <rectangle
485 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
486 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
487 color="C_icons_unfocused_prelight" />
488 </draw_ops>
489
490 <draw_ops name="maximize_unfocused_prelight">
491 <include name="maximize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
492 </draw_ops>
493
494 <draw_ops name="maximize_glyph_unfocused_pressed">
495 <rectangle
496 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
497 width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
498 color="C_icons_unfocused_pressed" />
499 <rectangle
500 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
501 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
502 color="C_icons_unfocused_pressed" />
503 </draw_ops>
504
505 <draw_ops name="maximize_unfocused_pressed">
506 <include name="maximize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
507 </draw_ops>
508
509 <draw_ops name="minimize_glyph_focused">
510 <rectangle
511 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
512 width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
513 color="C_icons_focused" />
514 </draw_ops>
515
516 <draw_ops name="minimize_shadow_focused">
517 <rectangle
518 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
519 width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
520 color="C_icons_shadow" />
521 </draw_ops>
522
523 <draw_ops name="minimize_focused">
524 <include name="minimize_shadow_focused" y="1" />
525 <include name="minimize_glyph_focused" />
526 </draw_ops>
527
528 <draw_ops name="minimize_focused_pressed">
529 <include name="minimize_focused" />
530 </draw_ops>
531
532 <draw_ops name="minimize_focused_prelight">
533 <include name="minimize_focused" />
534 </draw_ops>
535
536 <draw_ops name="minimize_glyph_unfocused">
537 <rectangle
538 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
539 width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
540 color="C_icons_unfocused" />
541 </draw_ops>
542
543 <draw_ops name="minimize_unfocused">
544 <include name="minimize_glyph_unfocused" y="D_icons_unfocused_offset" />
545 </draw_ops>
546
547 <draw_ops name="minimize_glyph_unfocused_prelight">
548 <rectangle
549 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
550 width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
551 color="C_icons_unfocused_prelight" />
552 </draw_ops>
553
554 <draw_ops name="minimize_unfocused_prelight">
555 <include name="minimize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
556 </draw_ops>
557
558 <draw_ops name="minimize_glyph_unfocused_pressed">
559 <rectangle
560 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
561 width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
562 color="C_icons_unfocused_pressed" />
563 </draw_ops>
564
565 <draw_ops name="minimize_unfocused_pressed">
566 <include name="minimize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
567 </draw_ops>
568
569 <draw_ops name="menu_glyph_focused">
570 <rectangle
571 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
572 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
573 color="C_icons_focused" />
574 <rectangle
575 x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
576 width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
577 color="C_icons_focused" />
578 <rectangle
579 x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
580 width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
581 color="C_icons_focused" />
582 </draw_ops>
583
584 <draw_ops name="menu_shadow_focused">
585 <rectangle
586 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
587 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
588 color="C_icons_shadow" />
589 <rectangle
590 x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
591 width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
592 color="C_icons_shadow" />
593 <rectangle
594 x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
595 width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
596 color="C_icons_shadow" />
597 </draw_ops>
598
599 <draw_ops name="menu_focused">
600 <include name="menu_shadow_focused" y="1" />
601 <include name="menu_glyph_focused" />
602 </draw_ops>
603
604 <draw_ops name="menu_focused_pressed">
605 <include name="menu_glyph_focused" />
606 </draw_ops>
607
608 <draw_ops name="menu_glyph_unfocused">
609 <rectangle
610 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
611 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
612 color="C_icons_unfocused" />
613 <rectangle
614 x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
615 width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
616 color="C_icons_unfocused" />
617 <rectangle
618 x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
619 width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
620 color="C_icons_unfocused" />
621 </draw_ops>
622
623 <draw_ops name="menu_unfocused">
624 <include name="menu_glyph_unfocused" y="D_icons_unfocused_offset" />
625 </draw_ops>
626
627 <draw_ops name="menu_glyph_unfocused_prelight">
628 <rectangle
629 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
630 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
631 color="C_icons_unfocused_prelight" />
632 <rectangle
633 x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
634 width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
635 color="C_icons_unfocused_prelight" />
636 <rectangle
637 x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
638 width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
639 color="C_icons_unfocused_prelight" />
640 </draw_ops>
641
642 <draw_ops name="menu_unfocused_prelight">
643 <include name="menu_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
644 </draw_ops>
645
646 <draw_ops name="menu_glyph_unfocused_pressed">
647 <rectangle
648 x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
649 width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
650 color="C_icons_unfocused_pressed" />
651 <rectangle
652 x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
653 width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
654 color="C_icons_unfocused_pressed" />
655 <rectangle
656 x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
657 width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
658 color="C_icons_unfocused_pressed" />
659 </draw_ops>
660
661 <draw_ops name="menu_unfocused_pressed">
662 <include name="menu_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
663 </draw_ops>
664
665 <!-- icon size used in GTK -->
666 <constant name="D_appmenu_icon_size" value="16" />
667
668 <draw_ops name="appmenu_icon_focused">
669 <icon
670 x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
671 width="D_appmenu_icon_size" height="D_appmenu_icon_size" />
672 </draw_ops>
673
674 <draw_ops name="appmenu_focused">
675 <include name="appmenu_icon_focused" />
676 </draw_ops>
677
678 <draw_ops name="appmenu_focused_pressed">
679 <include name="appmenu_icon_focused" />
680 </draw_ops>
681
682 <draw_ops name="appmenu_icon_unfocused">
683 <icon
684 x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
685 width="D_appmenu_icon_size" height="D_appmenu_icon_size"
686 alpha="0.4"/>
687 </draw_ops>
688
689 <draw_ops name="appmenu_unfocused">
690 <include name="appmenu_icon_unfocused" />
691 </draw_ops>
692
693 <draw_ops name="appmenu_icon_unfocused_prelight">
694 <icon
695 x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
696 width="D_appmenu_icon_size" height="D_appmenu_icon_size"
697 alpha="0.6"/>
698 </draw_ops>
699
700 <draw_ops name="appmenu_unfocused_prelight">
701 <include name="appmenu_icon_unfocused_prelight" y="D_icons_unfocused_offset" />
702 </draw_ops>
703
704 <draw_ops name="appmenu_unfocused_pressed">
705 <include name="appmenu_icon_unfocused_prelight" y="D_icons_unfocused_offset" />
706 </draw_ops>
707
708 <draw_ops name="shade_glyph_focused">
709 <rectangle
710 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
711 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
712 color="C_icons_focused" />
713 <rectangle
714 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
715 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
716 color="C_icons_focused" />
717 <rectangle
718 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
719 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
720 color="C_icons_focused" />
721 <rectangle
722 x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
723 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
724 color="C_icons_focused" />
725 </draw_ops>
726
727 <draw_ops name="shade_shadow_focused">
728 <rectangle
729 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
730 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
731 color="C_icons_shadow" />
732 <rectangle
733 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
734 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
735 color="C_icons_shadow" />
736 </draw_ops>
737
738 <draw_ops name="shade_focused">
739 <include name="shade_shadow_focused" y="1" />
740 <include name="shade_glyph_focused" />
741 </draw_ops>
742
743 <draw_ops name="shade_focused_pressed">
744 <include name="shade_glyph_focused" />
745 </draw_ops>
746
747 <draw_ops name="shade_glyph_unfocused">
748 <rectangle
749 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
750 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
751 color="C_icons_unfocused" />
752 <rectangle
753 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
754 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
755 color="C_icons_unfocused" />
756 <rectangle
757 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
758 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
759 color="C_icons_unfocused" />
760 <rectangle
761 x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
762 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
763 color="C_icons_unfocused" />
764 </draw_ops>
765
766 <draw_ops name="shade_unfocused">
767 <include name="shade_glyph_unfocused" y="D_icons_unfocused_offset" />
768 </draw_ops>
769
770 <draw_ops name="shade_glyph_unfocused_prelight">
771 <rectangle
772 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
773 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
774 color="C_icons_unfocused_prelight" />
775 <rectangle
776 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
777 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
778 color="C_icons_unfocused_prelight" />
779 <rectangle
780 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
781 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
782 color="C_icons_unfocused_prelight" />
783 <rectangle
784 x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
785 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
786 color="C_icons_unfocused_prelight" />
787 </draw_ops>
788
789 <draw_ops name="shade_unfocused_prelight">
790 <include name="shade_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
791 </draw_ops>
792
793 <draw_ops name="shade_glyph_unfocused_pressed">
794 <rectangle
795 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
796 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
797 color="C_icons_unfocused_pressed" />
798 <rectangle
799 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
800 width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
801 color="C_icons_unfocused_pressed" />
802 <rectangle
803 x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
804 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
805 color="C_icons_unfocused_pressed" />
806 <rectangle
807 x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
808 width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
809 color="C_icons_unfocused_pressed" />
810 </draw_ops>
811
812 <draw_ops name="shade_unfocused_pressed">
813 <include name="shade_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
814 </draw_ops>
815
816
817 <!-- button backgrounds -->
818
819 <constant name="C_button_border" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
820 <constant name="C_button_hilight" value="gtk:custom(wm_highlight,blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.6)" />
821
822 <draw_ops name="button_border">
823 <line x1="6" y1="4" x2="width-7" y2="4" color="C_button_border" />
824 <arc color="C_button_border" x="width-9" y="4" width="4" height="4" start_angle="0" extent_angle="90"/>
825 <line x1="width-5" y1="6" x2="width-5" y2="height-7" color="C_button_border" />
826 <arc color="C_button_border" x="width-9" y="height-9" width="4" height="4" start_angle="90" extent_angle="90"/>
827 <line x1="width-6" y1="height-5" x2="6" y2="height-5" color="C_button_border" />
828 <arc color="C_button_border" x="4" y="height-9" width="4" height="4" start_angle="180" extent_angle="90"/>
829 <line x1="4" y1="6" x2="4" y2="height-7" color="C_button_border" />
830 <arc color="C_button_border" x="4" y="4" width="4" height="4" start_angle="270" extent_angle="90"/>
831 <line x1="width-7" y1="height-4" x2="7" y2="height-4" color="C_title_focused_hilight" />
832 </draw_ops>
833
834
835 <draw_ops name="button_fill"> <!-- button background gradient -->
836
837 </draw_ops>
838
839 <draw_ops name="button_fill_prelight"> <!-- button background gradient for prelight status -->
840 <gradient type="vertical" x="5" y="5" width="width-10" height="height-10">
841 <color value="gtk:custom(wm_button_hover_color_a,gtk:fg[NORMAL])" />
842 <color value="gtk:custom(wm_button_hover_color_b,gtk:fg[NORMAL])" />
843 </gradient>
844 <include name="button_border" />
845 </draw_ops>
846
847 <draw_ops name="button_fill_pressed"> <!-- button background gradient for pressed status -->
848 <gradient type="vertical" x="5" y="5" width="width-10" height="height-10">
849 <color value="gtk:custom(wm_button_active_color_b,gtk:fg[NORMAL])" />
850 <color value="gtk:custom(wm_button_active_color_c,gtk:fg[NORMAL])" />
851 </gradient>
852 <line x1="5" y1="5" x2="width-6" y2="5" color="blend/#000000/gtk:custom(wm_button_active_color_a,gtk:fg[NORMAL])/0.9" />
853 <line x1="4" y1="6" x2="width-5" y2="6" color="gtk:custom(wm_button_active_color_a,gtk:fg[NORMAL])" />
854 <include name="button_border" />
855 </draw_ops>
856
857 <draw_ops name="button">
858 </draw_ops>
859
860 <draw_ops name="button_prelight">
861 <include name="button_fill_prelight" />
862 </draw_ops>
863
864 <draw_ops name="button_pressed">
865 <include name="button_fill_pressed" />
866 </draw_ops>
867
868 <!-- frame styles -->
869
870 <frame_style name="normal_focused" geometry="normal">
871 <piece position="entire_background" draw_ops="entire_background_focused" />
872 <piece position="titlebar" draw_ops="rounded_titlebar_focused" />
873 <piece position="title" draw_ops="title_focused" />
874 <piece position="overlay" draw_ops="rounded_border_focused" />
875 <button function="close" state="normal" draw_ops="close_focused" />
876 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
877 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
878 <button function="maximize" state="normal" draw_ops="maximize_focused" />
879 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
880 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
881 <button function="minimize" state="normal" draw_ops="minimize_focused" />
882 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
883 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
884 <button function="menu" state="normal" draw_ops="menu_focused" />
885 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
886 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
887 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
888 <button function="shade" state="normal" draw_ops="shade_focused" />
889 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
890 <button function="unshade" state="normal" draw_ops="shade_focused" />
891 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
892
893 <button function="left_middle_background" state="normal" draw_ops="button"/>
894 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
895 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
896 <button function="right_middle_background" state="normal" draw_ops="button"/>
897 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
898 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
899
900 <button function="above" state="normal"><draw_ops></draw_ops></button>
901 <button function="above" state="pressed"><draw_ops></draw_ops></button>
902 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
903 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
904 <button function="stick" state="normal"><draw_ops></draw_ops></button>
905 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
906 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
907 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
908 </frame_style>
909
910 <frame_style name="normal_unfocused" geometry="normal_unfocused">
911 <piece position="entire_background" draw_ops="entire_background_unfocused" />
912 <piece position="titlebar" draw_ops="rounded_titlebar_unfocused" />
913 <piece position="title" draw_ops="title_unfocused" />
914 <piece position="overlay" draw_ops="rounded_border_unfocused" />
915 <button function="close" state="normal" draw_ops="close_unfocused"/>
916 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
917 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
918 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
919 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
920 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
921 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
922 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
923 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
924 <button function="menu" state="normal" draw_ops="menu_unfocused" />
925 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
926 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
927 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
928 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
929 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
930 <button function="shade" state="normal" draw_ops="shade_unfocused" />
931 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
932 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
933 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
934 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
935 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
936 <button function="above" state="normal"><draw_ops></draw_ops></button>
937 <button function="above" state="pressed"><draw_ops></draw_ops></button>
938 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
939 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
940 <button function="stick" state="normal"><draw_ops></draw_ops></button>
941 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
942 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
943 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
944 </frame_style>
945
946 <frame_style name="normal_max_focused" geometry="max">
947 <piece position="entire_background" draw_ops="entire_background_focused" />
948 <piece position="titlebar" draw_ops="titlebar_focused" />
949 <piece position="title" draw_ops="title_focused" />
950 <button function="close" state="normal" draw_ops="close_focused" />
951 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
952 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
953 <button function="maximize" state="normal" draw_ops="maximize_focused" />
954 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
955 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
956 <button function="minimize" state="normal" draw_ops="minimize_focused" />
957 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
958 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
959 <button function="menu" state="normal" draw_ops="menu_focused" />
960 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
961 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
962 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
963 <button function="shade" state="normal" draw_ops="shade_focused" />
964 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
965 <button function="unshade" state="normal" draw_ops="shade_focused" />
966 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
967
968 <button function="left_middle_background" state="normal" draw_ops="button"/>
969 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
970 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
971 <button function="right_middle_background" state="normal" draw_ops="button"/>
972 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
973 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
974
975 <button function="above" state="normal"><draw_ops></draw_ops></button>
976 <button function="above" state="pressed"><draw_ops></draw_ops></button>
977 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
978 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
979 <button function="stick" state="normal"><draw_ops></draw_ops></button>
980 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
981 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
982 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
983 </frame_style>
984
985 <frame_style name="normal_max_unfocused" geometry="max">
986 <piece position="entire_background" draw_ops="entire_background_unfocused" />
987 <piece position="titlebar" draw_ops="titlebar_unfocused" />
988 <piece position="title" draw_ops="title_unfocused" />
989 <button function="close" state="normal" draw_ops="close_unfocused"/>
990 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
991 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
992 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
993 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
994 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
995 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
996 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
997 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
998 <button function="menu" state="normal" draw_ops="menu_unfocused" />
999 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1000 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1001 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1002 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1003 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1004 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1005 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1006 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1007 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1008 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1009 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1010 <button function="above" state="normal"><draw_ops></draw_ops></button>
1011 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1012 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1013 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1014 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1015 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1016 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1017 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1018 </frame_style>
1019
1020 <frame_style name="normal_max_shaded_focused" geometry="max">
1021 <piece position="entire_background" draw_ops="entire_background_focused" />
1022 <piece position="titlebar" draw_ops="titlebar_focused" />
1023 <piece position="title" draw_ops="title_focused" />
1024 <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece>
1025 <button function="close" state="normal" draw_ops="close_focused" />
1026 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1027 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1028 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1029 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1030 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1031 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1032 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1033 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1034 <button function="menu" state="normal" draw_ops="menu_focused" />
1035 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1036 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1037 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1038 <button function="shade" state="normal" draw_ops="shade_focused" />
1039 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1040 <button function="unshade" state="normal" draw_ops="shade_focused" />
1041 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1042
1043 <button function="left_middle_background" state="normal" draw_ops="button"/>
1044 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1045 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1046 <button function="right_middle_background" state="normal" draw_ops="button"/>
1047 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1048 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1049
1050 <button function="above" state="normal"><draw_ops></draw_ops></button>
1051 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1052 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1053 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1054 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1055 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1056 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1057 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1058 </frame_style>
1059
1060 <frame_style name="normal_max_shaded_unfocused" geometry="max">
1061 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1062 <piece position="titlebar" draw_ops="titlebar_unfocused" />
1063 <piece position="title" draw_ops="title_unfocused" />
1064 <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece>
1065 <button function="close" state="normal" draw_ops="close_unfocused"/>
1066 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1067 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1068 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1069 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1070 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1071 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1072 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1073 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1074 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1075 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1076 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1077 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1078 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1079 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1080 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1081 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1082 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1083 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1084 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1085 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1086 <button function="above" state="normal"><draw_ops></draw_ops></button>
1087 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1088 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1089 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1090 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1091 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1092 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1093 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1094 </frame_style>
1095
1096 <frame_style name="dialog_focused" geometry="nobuttons">
1097 <piece position="entire_background" draw_ops="entire_background_focused" />
1098 <piece position="titlebar" draw_ops="rounded_titlebar_focused" />
1099 <piece position="title" draw_ops="title_focused" />
1100 <piece position="overlay" draw_ops="rounded_border_focused" />
1101 <button function="close" state="normal" draw_ops="close_focused" />
1102 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1103 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1104 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1105 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1106 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1107 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1108 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1109 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1110 <button function="menu" state="normal" draw_ops="menu_focused" />
1111 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1112 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1113 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1114 <button function="shade" state="normal" draw_ops="shade_focused" />
1115 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1116 <button function="unshade" state="normal" draw_ops="shade_focused" />
1117 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1118
1119 <button function="left_middle_background" state="normal" draw_ops="button"/>
1120 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1121 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1122 <button function="right_middle_background" state="normal" draw_ops="button"/>
1123 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1124 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1125
1126 <button function="above" state="normal"><draw_ops></draw_ops></button>
1127 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1128 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1129 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1130 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1131 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1132 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1133 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1134 </frame_style>
1135
1136 <frame_style name="dialog_unfocused" geometry="nobuttons">
1137 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1138 <piece position="titlebar" draw_ops="titlebar_unfocused" />
1139 <piece position="title" draw_ops="title_unfocused" />
1140 <piece position="overlay" draw_ops="rounded_border_unfocused" />
1141 <button function="close" state="normal" draw_ops="close_unfocused"/>
1142 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1143 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1144 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1145 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1146 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1147 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1148 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1149 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1150 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1151 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1152 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1153 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1154 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1155 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1156 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1157 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1158 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1159 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1160 <button function="above" state="normal"><draw_ops></draw_ops></button>
1161 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1162 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1163 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1164 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1165 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1166 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1167 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1168 </frame_style>
1169
1170 <frame_style name="modal_dialog_focused" geometry="modal">
1171 <piece position="entire_background" draw_ops="entire_background_focused" />
1172 <piece position="titlebar" draw_ops="titlebar_focused" />
1173 <piece position="title" draw_ops="title_focused" />
1174 <piece position="overlay" draw_ops="border_focused" />
1175 <button function="close" state="normal" draw_ops="close_focused" />
1176 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1177 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1178 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1179 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1180 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1181 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1182 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1183 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1184 <button function="menu" state="normal" draw_ops="menu_focused" />
1185 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1186 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1187 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1188 <button function="shade" state="normal" draw_ops="shade_focused" />
1189 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1190 <button function="unshade" state="normal" draw_ops="shade_focused" />
1191 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1192
1193 <button function="left_middle_background" state="normal" draw_ops="button"/>
1194 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1195 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1196 <button function="right_middle_background" state="normal" draw_ops="button"/>
1197 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1198 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1199
1200 <button function="above" state="normal"><draw_ops></draw_ops></button>
1201 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1202 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1203 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1204 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1205 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1206 <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1207 </frame_style>
1208
1209 <frame_style name="modal_dialog_unfocused" geometry="modal">
1210 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1211 <piece position="titlebar" draw_ops="titlebar_unfocused" />
1212 <piece position="title" draw_ops="title_unfocused" />
1213 <piece position="overlay" draw_ops="border_unfocused" />
1214 <button function="close" state="normal" draw_ops="close_unfocused"/>
1215 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1216 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1217 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1218 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1219 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1220 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1221 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1222 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1223 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1224 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1225 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1226 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1227 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1228 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1229 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1230 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1231 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1232 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1233 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1234 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1235 <button function="above" state="normal"><draw_ops></draw_ops></button>
1236 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1237 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1238 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1239 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1240 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1241 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1242 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1243 </frame_style>
1244
1245 <frame_style name="utility_focused" geometry="small">
1246 <piece position="entire_background" draw_ops="entire_background_focused" />
1247 <piece position="titlebar" draw_ops="titlebar_focused" />
1248 <piece position="title" draw_ops="title_focused" />
1249 <piece position="overlay" draw_ops="border_focused" />
1250 <button function="close" state="normal" draw_ops="close_focused" />
1251 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1252 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1253 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1254 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1255 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1256 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1257 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1258 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1259 <button function="menu" state="normal" draw_ops="menu_focused" />
1260 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1261 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1262 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1263 <button function="shade" state="normal" draw_ops="shade_focused" />
1264 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1265 <button function="unshade" state="normal" draw_ops="shade_focused" />
1266 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1267
1268 <button function="left_middle_background" state="normal" draw_ops="button"/>
1269 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1270 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1271 <button function="right_middle_background" state="normal" draw_ops="button"/>
1272 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1273 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1274
1275 <button function="above" state="normal"><draw_ops></draw_ops></button>
1276 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1277 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1278 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1279 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1280 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1281 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1282 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1283 </frame_style>
1284
1285 <frame_style name="utility_unfocused" geometry="small_unfocused">
1286 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1287 <piece position="titlebar" draw_ops="titlebar_unfocused" />
1288 <piece position="title" draw_ops="title_unfocused" />
1289 <piece position="overlay" draw_ops="border_unfocused" />
1290 <button function="close" state="normal" draw_ops="close_unfocused"/>
1291 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1292 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1293 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1294 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1295 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1296 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1297 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1298 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1299 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1300 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1301 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1302 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1303 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1304 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1305 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1306 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1307 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1308 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1309 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1310 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1311 <button function="above" state="normal"><draw_ops></draw_ops></button>
1312 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1313 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1314 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1315 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1316 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1317 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1318 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1319 </frame_style>
1320
1321 <frame_style name="border_focused" geometry="border">
1322 <piece position="entire_background" draw_ops="entire_background_focused" />
1323 <piece position="overlay" draw_ops="border_focused" />
1324 <button function="close" state="normal"><draw_ops></draw_ops></button>
1325 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1326 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1327 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1328 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1329 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1330 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1331 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1332 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1333 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1334 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1335 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1336 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1337 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1338 <button function="above" state="normal"><draw_ops></draw_ops></button>
1339 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1340 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1341 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1342 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1343 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1344 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1345 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1346 </frame_style>
1347
1348 <frame_style name="border_unfocused" geometry="border">
1349 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1350 <piece position="overlay" draw_ops="border_unfocused" />
1351 <button function="close" state="normal"><draw_ops></draw_ops></button>
1352 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1353 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1354 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1355 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1356 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1357 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1358 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1359 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1360 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1361 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1362 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1363 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1364 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1365 <button function="above" state="normal"><draw_ops></draw_ops></button>
1366 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1367 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1368 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1369 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1370 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1371 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1372 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1373 </frame_style>
1374
1375 <frame_style name="borderless" geometry="borderless">
1376 <button function="close" state="normal"><draw_ops></draw_ops></button>
1377 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1378 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1379 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1380 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1381 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1382 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1383 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1384 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1385 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1386 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1387 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1388 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1389 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1390 <button function="above" state="normal"><draw_ops></draw_ops></button>
1391 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1392 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1393 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1394 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1395 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1396 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1397 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1398 </frame_style>
1399
1400 <frame_style name="attached_focused" geometry="attached">
1401 <piece position="entire_background" draw_ops="entire_background_focused" />
1402 <piece position="titlebar" draw_ops="titlebar_fill_focused" />
1403 <piece position="title" draw_ops="title_focused" />
1404 <piece position="overlay" draw_ops="border_focused" />
1405 <button function="close" state="normal"><draw_ops></draw_ops></button>
1406 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1407 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1408 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1409 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1410 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1411 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1412 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1413 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1414 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1415 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1416 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1417 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1418 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1419 <button function="above" state="normal"><draw_ops></draw_ops></button>
1420 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1421 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1422 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1423 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1424 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1425 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1426 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1427 </frame_style>
1428
1429 <frame_style name="attached_unfocused" geometry="attached">
1430 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1431 <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
1432 <piece position="title" draw_ops="title_unfocused" />
1433 <piece position="overlay" draw_ops="border_unfocused" />
1434 <button function="close" state="normal"><draw_ops></draw_ops></button>
1435 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1436 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1437 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1438 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1439 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1440 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1441 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1442 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1443 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1444 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1445 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1446 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1447 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1448 <button function="above" state="normal"><draw_ops></draw_ops></button>
1449 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1450 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1451 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1452 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1453 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1454 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1455 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1456 </frame_style>
1457
1458 <frame_style name="tiled_left_focused" geometry="tiled_left">
1459 <piece position="entire_background" draw_ops="entire_background_focused" />
1460 <piece position="titlebar" draw_ops="titlebar_fill_focused" />
1461 <piece position="title" draw_ops="title_focused" />
1462 <!-- <piece position="overlay" draw_ops="border_right_focused" /> -->
1463 <button function="close" state="normal" draw_ops="close_focused" />
1464 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1465 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1466 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1467 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1468 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1469 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1470 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1471 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1472 <button function="menu" state="normal" draw_ops="menu_focused" />
1473 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1474 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1475 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1476 <button function="shade" state="normal" draw_ops="shade_focused" />
1477 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1478 <button function="unshade" state="normal" draw_ops="shade_focused" />
1479 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1480
1481 <button function="left_middle_background" state="normal" draw_ops="button"/>
1482 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1483 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1484 <button function="right_middle_background" state="normal" draw_ops="button"/>
1485 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1486 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1487
1488 <button function="above" state="normal"><draw_ops></draw_ops></button>
1489 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1490 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1491 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1492 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1493 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1494 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1495 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1496 </frame_style>
1497
1498 <frame_style name="tiled_left_unfocused" geometry="tiled_left">
1499 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1500 <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
1501 <piece position="title" draw_ops="title_unfocused" />
1502 <!-- <piece position="overlay" draw_ops="border_right_unfocused" /> -->
1503 <button function="close" state="normal" draw_ops="close_unfocused"/>
1504 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1505 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1506 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1507 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1508 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1509 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1510 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1511 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1512 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1513 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1514 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1515 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1516 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1517 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1518 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1519 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1520 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1521 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1522 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1523 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1524 <button function="above" state="normal"><draw_ops></draw_ops></button>
1525 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1526 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1527 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1528 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1529 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1530 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1531 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1532 </frame_style>
1533
1534 <frame_style name="tiled_right_focused" geometry="tiled_right">
1535 <piece position="entire_background" draw_ops="entire_background_focused" />
1536 <piece position="titlebar" draw_ops="titlebar_fill_focused" />
1537 <piece position="title" draw_ops="title_focused" />
1538 <piece position="overlay" draw_ops="border_left_focused" />
1539 <button function="close" state="normal" draw_ops="close_focused" />
1540 <button function="close" state="pressed" draw_ops="close_focused_pressed" />
1541 <button function="close" state="prelight" draw_ops="close_focused_prelight" />
1542 <button function="maximize" state="normal" draw_ops="maximize_focused" />
1543 <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
1544 <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
1545 <button function="minimize" state="normal" draw_ops="minimize_focused" />
1546 <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
1547 <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
1548 <button function="menu" state="normal" draw_ops="menu_focused" />
1549 <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
1550 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
1551 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
1552 <button function="shade" state="normal" draw_ops="shade_focused" />
1553 <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
1554 <button function="unshade" state="normal" draw_ops="shade_focused" />
1555 <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
1556
1557 <button function="left_middle_background" state="normal" draw_ops="button"/>
1558 <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
1559 <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
1560 <button function="right_middle_background" state="normal" draw_ops="button"/>
1561 <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
1562 <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
1563
1564 <button function="above" state="normal"><draw_ops></draw_ops></button>
1565 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1566 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1567 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1568 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1569 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1570 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1571 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1572 </frame_style>
1573
1574 <frame_style name="tiled_right_unfocused" geometry="tiled_right">
1575 <piece position="entire_background" draw_ops="entire_background_unfocused" />
1576 <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
1577 <piece position="title" draw_ops="title_unfocused" />
1578 <piece position="overlay" draw_ops="border_left_unfocused" />
1579 <button function="close" state="normal" draw_ops="close_unfocused"/>
1580 <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
1581 <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
1582 <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
1583 <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
1584 <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
1585 <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
1586 <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
1587 <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
1588 <button function="menu" state="normal" draw_ops="menu_unfocused" />
1589 <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
1590 <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
1591 <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
1592 <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
1593 <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
1594 <button function="shade" state="normal" draw_ops="shade_unfocused" />
1595 <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
1596 <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
1597 <button function="unshade" state="normal" draw_ops="shade_unfocused" />
1598 <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
1599 <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
1600 <button function="above" state="normal"><draw_ops></draw_ops></button>
1601 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1602 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1603 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1604 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1605 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1606 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1607 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1608 </frame_style>
1609
1610 <!-- placeholder for unimplementated styles-->
1611 <frame_style name="blank" geometry="normal">
1612 <button function="close" state="normal"><draw_ops></draw_ops></button>
1613 <button function="close" state="pressed"><draw_ops></draw_ops></button>
1614 <button function="maximize" state="normal"><draw_ops></draw_ops></button>
1615 <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
1616 <button function="minimize" state="normal"><draw_ops></draw_ops></button>
1617 <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
1618 <button function="menu" state="normal"><draw_ops></draw_ops></button>
1619 <button function="menu" state="pressed"><draw_ops></draw_ops></button>
1620 <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
1621 <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
1622 <button function="shade" state="normal"><draw_ops></draw_ops></button>
1623 <button function="shade" state="pressed"><draw_ops></draw_ops></button>
1624 <button function="unshade" state="normal"><draw_ops></draw_ops></button>
1625 <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
1626 <button function="above" state="normal"><draw_ops></draw_ops></button>
1627 <button function="above" state="pressed"><draw_ops></draw_ops></button>
1628 <button function="unabove" state="normal"><draw_ops></draw_ops></button>
1629 <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
1630 <button function="stick" state="normal"><draw_ops></draw_ops></button>
1631 <button function="stick" state="pressed"><draw_ops></draw_ops></button>
1632 <button function="unstick" state="normal"><draw_ops></draw_ops></button>
1633 <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
1634 </frame_style>
1635
1636 <!-- frame style sets -->
1637
1638 <frame_style_set name="normal_style_set">
1639 <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
1640 <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
1641 <frame focus="yes" state="maximized" style="normal_max_focused"/>
1642 <frame focus="no" state="maximized" style="normal_max_unfocused"/>
1643 <frame focus="yes" state="shaded" style="normal_focused"/>
1644 <frame focus="no" state="shaded" style="normal_unfocused"/>
1645 <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused"/>
1646 <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused"/>
1647 <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused"/>
1648 <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused"/>
1649 <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused"/>
1650 <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused"/>
1651 <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused"/>
1652 <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused"/>
1653 <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused"/>
1654 <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused"/>
1655 </frame_style_set>
1656
1657 <frame_style_set name="dialog_style_set">
1658 <frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
1659 <frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
1660 <frame focus="yes" state="maximized" style="blank"/>
1661 <frame focus="no" state="maximized" style="blank"/>
1662 <frame focus="yes" state="shaded" style="dialog_focused"/>
1663 <frame focus="no" state="shaded" style="dialog_unfocused"/>
1664 <frame focus="yes" state="maximized_and_shaded" style="blank"/>
1665 <frame focus="no" state="maximized_and_shaded" style="blank"/>
1666 </frame_style_set>
1667
1668 <frame_style_set name="modal_dialog_style_set">
1669 <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
1670 <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
1671 <frame focus="yes" state="maximized" style="blank"/>
1672 <frame focus="no" state="maximized" style="blank"/>
1673 <frame focus="yes" state="shaded" style="modal_dialog_focused"/>
1674 <frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
1675 <frame focus="yes" state="maximized_and_shaded" style="blank"/>
1676 <frame focus="no" state="maximized_and_shaded" style="blank"/>
1677 </frame_style_set>
1678
1679 <frame_style_set name="utility_style_set">
1680 <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
1681 <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
1682 <frame focus="yes" state="maximized" style="blank"/>
1683 <frame focus="no" state="maximized" style="blank"/>
1684 <frame focus="yes" state="shaded" style="utility_focused"/>
1685 <frame focus="no" state="shaded" style="utility_unfocused"/>
1686 <frame focus="yes" state="maximized_and_shaded" style="blank"/>
1687 <frame focus="no" state="maximized_and_shaded" style="blank"/>
1688 </frame_style_set>
1689
1690 <frame_style_set name="border_style_set">
1691 <frame focus="yes" state="normal" resize="both" style="border_focused"/>
1692 <frame focus="no" state="normal" resize="both" style="border_unfocused"/>
1693 <frame focus="yes" state="maximized" style="borderless"/>
1694 <frame focus="no" state="maximized" style="borderless"/>
1695 <frame focus="yes" state="shaded" style="blank"/>
1696 <frame focus="no" state="shaded" style="blank"/>
1697 <frame focus="yes" state="maximized_and_shaded" style="blank"/>
1698 <frame focus="no" state="maximized_and_shaded" style="blank"/>
1699 </frame_style_set>
1700
1701 <frame_style_set name="attached_style_set">
1702 <frame focus="yes" state="normal" resize="both" style="attached_focused"/>
1703 <frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
1704 <frame focus="yes" state="maximized" style="blank"/>
1705 <frame focus="no" state="maximized" style="blank"/>
1706 <frame focus="yes" state="shaded" style="blank"/>
1707 <frame focus="no" state="shaded" style="blank"/>
1708 <frame focus="yes" state="maximized_and_shaded" style="blank"/>
1709 <frame focus="no" state="maximized_and_shaded" style="blank"/>
1710 </frame_style_set>
1711
1712
1713 <!-- windows -->
1714
1715 <window type="normal" style_set="normal_style_set"/>
1716 <window type="dialog" style_set="dialog_style_set"/>
1717 <window type="modal_dialog" style_set="modal_dialog_style_set"/>
1718 <window type="menu" style_set="utility_style_set"/>
1719 <window type="utility" style_set="utility_style_set"/>
1720 <window type="border" style_set="border_style_set"/>
1721 <window version=">= 3.2" type="attached" style_set="attached_style_set"/>
1722
1723 </metacity_theme>