A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 metacity-theme-3.xml

View raw Download
text/xml • 32.53 kiB
XML 1.0 document, ASCII text
        
            
1
<?xml version="1.0"?>
2
<metacity_theme>
3
<info>
4
<name>Flat-Plat</name>
5
<author>nana-4</author>
6
<copyright>GPL</copyright>
7
<date>2016</date>
8
<description>Flat-Plat Metacity theme</description>
9
</info>
10
11
12
<!-- meaningful constants -->
13
14
<constant name="C_titlebar" value="#37474F"/>
15
<constant name="C_titlebar_alt" value="gtk:custom(theme_bg_color,gtk:bg[NORMAL])"/>
16
17
<constant name="C_highlight" value="blend/#37474F/#FFFFFF/0.2"/>
18
<constant name="C_highlight_alt" value="blend/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/#FFFFFF/0.4"/>
19
20
<constant name="C_title_focused" value="#FFFFFF"/>
21
<constant name="C_title_unfocused" value="blend/#37474F/#FFFFFF/0.75"/>
22
<constant name="C_title_alt_focused" value="gtk:custom(theme_fg_color,gtk:fg[NORMAL])"/>
23
<constant name="C_title_alt_unfocused" value="blend/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/gtk:custom(theme_fg_color,gtk:fg[NORMAL])/0.75"/>
24
25
26
<!-- geometries -->
27
28
<frame_geometry name="normal" title_scale="medium" rounded_top_left="2" rounded_top_right="2">
29
<distance name="left_width" value="0"/>
30
<distance name="right_width" value="0"/>
31
<distance name="bottom_height" value="0"/>
32
<distance name="left_titlebar_edge" value="0"/>
33
<distance name="right_titlebar_edge" value="0"/>
34
<distance name="title_vertical_pad" value="14"/>
35
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
36
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
37
<aspect_ratio name="button" value="1"/>
38
</frame_geometry>
39
40
<frame_geometry name="max" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="normal">
41
<distance name="left_width" value="0"/>
42
<distance name="right_width" value="0"/>
43
<distance name="bottom_height" value="0"/>
44
</frame_geometry>
45
46
<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
47
<distance name="right_width" value="0"/>
48
</frame_geometry>
49
50
<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
51
<distance name="left_width" value="0"/>
52
</frame_geometry>
53
54
<frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
55
</frame_geometry>
56
57
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="2" rounded_top_right="2" parent="normal">
58
<distance name="title_vertical_pad" value="8"/>
59
</frame_geometry>
60
61
<frame_geometry name="small" title_scale="small" rounded_top_left="2" rounded_top_right="2" parent="normal">
62
<distance name="title_vertical_pad" value="8"/>
63
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
64
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
65
</frame_geometry>
66
67
<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
68
<distance name="left_width" value="1"/>
69
<distance name="right_width" value="1"/>
70
<distance name="bottom_height" value="1"/>
71
<distance name="title_vertical_pad" value="1"/>
72
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
73
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
74
</frame_geometry>
75
76
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
77
<distance name="left_width" value="0"/>
78
<distance name="right_width" value="0"/>
79
<distance name="bottom_height" value="0"/>
80
<distance name="title_vertical_pad" value="0"/>
81
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
82
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
83
</frame_geometry>
84
85
<frame_geometry name="attached" title_scale="medium" hide_buttons="true" rounded_top_left="2" rounded_top_right="2" rounded_bottom_left="2" rounded_bottom_right="2" parent="normal">
86
<distance name="title_vertical_pad" value="6"/>
87
</frame_geometry>
88
89
90
<!-- drawing operations -->
91
92
<!-- title -->
93
<draw_ops name="title_focused">
94
<title version="< 3.1"
95
x="(0 `max` ((width - title_width) / 2))"
96
y="(0 `max` ((height - title_height) / 2))"
97
color="C_title_focused"/>
98
<title version=">= 3.1"
99
x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
100
y="(0 `max` ((height - title_height) / 2))"
101
ellipsize_width="width"
102
color="C_title_focused"/>
103
</draw_ops>
104
105
<draw_ops name="title_unfocused">
106
<title version="< 3.1"
107
x="(0 `max` ((width - title_width) / 2))"
108
y="(0 `max` ((height - title_height) / 2))"
109
color="C_title_unfocused"/>
110
<title version=">= 3.1"
111
x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width)))"
112
y="(0 `max` ((height - title_height) / 2))"
113
ellipsize_width="width"
114
color="C_title_unfocused"/>
115
</draw_ops>
116
117
<draw_ops name="title_alt_focused">
118
<title version="< 3.1"
119
x="(0 `max` ((width - title_width) / 2))"
120
y="(0 `max` ((height - title_height) / 2))"
121
color="C_title_alt_focused"/>
122
<title version=">= 3.1"
123
x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
124
y="(0 `max` ((height - title_height) / 2))"
125
ellipsize_width="width"
126
color="C_title_alt_focused"/>
127
</draw_ops>
128
129
<draw_ops name="title_alt_unfocused">
130
<title version="< 3.1"
131
x="(0 `max` ((width - title_width) / 2))"
132
y="(0 `max` ((height - title_height) / 2))"
133
color="C_title_alt_unfocused"/>
134
<title version=">= 3.1"
135
x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width)))"
136
y="(0 `max` ((height - title_height) / 2))"
137
ellipsize_width="width"
138
color="C_title_alt_unfocused"/>
139
</draw_ops>
140
141
<!-- window decorations -->
142
<draw_ops name="entire_background_focused">
143
<rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true"/>
144
</draw_ops>
145
146
<draw_ops name="entire_background_unfocused">
147
<include name="entire_background_focused"/>
148
</draw_ops>
149
150
<draw_ops name="entire_background_alt_focused">
151
<rectangle color="C_titlebar_alt" x="0" y="0" width="width" height="height" filled="true"/>
152
</draw_ops>
153
154
<draw_ops name="entire_background_alt_unfocused">
155
<include name="entire_background_alt_focused"/>
156
</draw_ops>
157
158
<draw_ops name="highlight">
159
<line color="C_highlight" x1="2" y1="0" x2="width-3" y2="0"/>
160
<arc color="C_highlight" x="0-1" y="0" width="5" height="5" start_angle="270" extent_angle="90"/>
161
<arc color="C_highlight" x="width-5" y="0" width="5" height="5" start_angle="0" extent_angle="90"/>
162
</draw_ops>
163
164
<draw_ops name="highlight_alt">
165
<line color="C_highlight_alt" x1="2" y1="0" x2="width-3" y2="0"/>
166
<arc color="C_highlight_alt" x="0-1" y="0" width="5" height="5" start_angle="270" extent_angle="90"/>
167
<arc color="C_highlight_alt" x="width-5" y="0" width="5" height="5" start_angle="0" extent_angle="90"/>
168
</draw_ops>
169
170
<draw_ops name="titlebar_focused">
171
<include name="entire_background_focused"/>
172
<include name="highlight"/>
173
</draw_ops>
174
175
<draw_ops name="titlebar_unfocused">
176
<include name="entire_background_unfocused"/>
177
<include name="highlight"/>
178
</draw_ops>
179
180
<draw_ops name="titlebar_alt_focused">
181
<include name="entire_background_alt_focused"/>
182
<include name="highlight_alt"/>
183
</draw_ops>
184
185
<draw_ops name="titlebar_alt_unfocused">
186
<include name="entire_background_alt_unfocused"/>
187
<include name="highlight_alt"/>
188
</draw_ops>
189
190
191
<!-- button icons -->
192
193
<!-- close -->
194
<draw_ops name="close_focused">
195
<image filename="close.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
196
</draw_ops>
197
198
<draw_ops name="close_focused_prelight">
199
<image filename="close.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
200
</draw_ops>
201
202
<draw_ops name="close_focused_pressed">
203
<include name="close_focused_prelight"/>
204
</draw_ops>
205
206
<draw_ops name="close_unfocused">
207
<image filename="close.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
208
</draw_ops>
209
210
<draw_ops name="close_unfocused_prelight">
211
<image filename="close.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
212
</draw_ops>
213
214
<draw_ops name="close_unfocused_pressed">
215
<include name="close_unfocused_prelight"/>
216
</draw_ops>
217
218
<!-- maximize -->
219
<draw_ops name="maximize_focused">
220
<image filename="maximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
221
</draw_ops>
222
223
<draw_ops name="maximize_focused_prelight">
224
<image filename="maximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
225
</draw_ops>
226
227
<draw_ops name="maximize_focused_pressed">
228
<include name="maximize_focused_prelight"/>
229
</draw_ops>
230
231
<draw_ops name="maximize_unfocused">
232
<image filename="maximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
233
</draw_ops>
234
235
<draw_ops name="maximize_unfocused_prelight">
236
<image filename="maximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
237
</draw_ops>
238
239
<draw_ops name="maximize_unfocused_pressed">
240
<include name="maximize_unfocused_prelight"/>
241
</draw_ops>
242
243
<!-- unmaximize -->
244
<draw_ops name="unmaximize_focused">
245
<image filename="unmaximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
246
</draw_ops>
247
248
<draw_ops name="unmaximize_focused_prelight">
249
<image filename="unmaximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
250
</draw_ops>
251
252
<draw_ops name="unmaximize_focused_pressed">
253
<include name="unmaximize_focused_prelight"/>
254
</draw_ops>
255
256
<draw_ops name="unmaximize_unfocused">
257
<image filename="unmaximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
258
</draw_ops>
259
260
<draw_ops name="unmaximize_unfocused_prelight">
261
<image filename="unmaximize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
262
</draw_ops>
263
264
<draw_ops name="unmaximize_unfocused_pressed">
265
<include name="unmaximize_unfocused_prelight"/>
266
</draw_ops>
267
268
<!-- minimize -->
269
<draw_ops name="minimize_focused">
270
<image filename="minimize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
271
</draw_ops>
272
273
<draw_ops name="minimize_focused_prelight">
274
<image filename="minimize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
275
</draw_ops>
276
277
<draw_ops name="minimize_focused_pressed">
278
<include name="minimize_focused_prelight"/>
279
</draw_ops>
280
281
<draw_ops name="minimize_unfocused">
282
<image filename="minimize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
283
</draw_ops>
284
285
<draw_ops name="minimize_unfocused_prelight">
286
<image filename="minimize.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
287
</draw_ops>
288
289
<draw_ops name="minimize_unfocused_pressed">
290
<include name="minimize_unfocused_prelight"/>
291
</draw_ops>
292
293
<!-- menu -->
294
<draw_ops name="menu_focused">
295
<image filename="menu.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
296
</draw_ops>
297
298
<draw_ops name="menu_focused_prelight">
299
<image filename="menu.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
300
</draw_ops>
301
302
<draw_ops name="menu_focused_pressed">
303
<include name="menu_focused_prelight"/>
304
</draw_ops>
305
306
<draw_ops name="menu_unfocused">
307
<image filename="menu.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
308
</draw_ops>
309
310
<draw_ops name="menu_unfocused_prelight">
311
<image filename="menu.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
312
</draw_ops>
313
314
<draw_ops name="menu_unfocused_pressed">
315
<include name="menu_unfocused_prelight"/>
316
</draw_ops>
317
318
<!-- shade -->
319
<draw_ops name="shade_focused">
320
<image filename="shade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
321
</draw_ops>
322
323
<draw_ops name="shade_focused_prelight">
324
<image filename="shade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
325
</draw_ops>
326
327
<draw_ops name="shade_focused_pressed">
328
<include name="shade_focused_prelight"/>
329
</draw_ops>
330
331
<draw_ops name="shade_unfocused">
332
<image filename="shade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
333
</draw_ops>
334
335
<draw_ops name="shade_unfocused_prelight">
336
<image filename="shade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
337
</draw_ops>
338
339
<draw_ops name="shade_unfocused_pressed">
340
<include name="shade_unfocused_prelight"/>
341
</draw_ops>
342
343
<!-- unshade -->
344
<draw_ops name="unshade_focused">
345
<image filename="unshade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_focused"/>
346
</draw_ops>
347
348
<draw_ops name="unshade_focused_prelight">
349
<image filename="unshade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
350
</draw_ops>
351
352
<draw_ops name="unshade_focused_pressed">
353
<include name="unshade_focused_prelight"/>
354
</draw_ops>
355
356
<draw_ops name="unshade_unfocused">
357
<image filename="unshade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.75" colorize="C_title_unfocused"/>
358
</draw_ops>
359
360
<draw_ops name="unshade_unfocused_prelight">
361
<image filename="unshade.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
362
</draw_ops>
363
364
<draw_ops name="unshade_unfocused_pressed">
365
<include name="unshade_unfocused_prelight"/>
366
</draw_ops>
367
368
<!-- appmenu -->
369
<constant name="D_appmenu_icon_size" value="16"/>
370
371
<draw_ops name="appmenu_icon_focused">
372
<icon
373
x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
374
width="D_appmenu_icon_size" height="D_appmenu_icon_size"/>
375
</draw_ops>
376
377
<draw_ops name="appmenu_focused">
378
<include name="appmenu_icon_focused"/>
379
</draw_ops>
380
381
<draw_ops name="appmenu_focused_prelight">
382
<include name="appmenu_icon_focused"/>
383
</draw_ops>
384
385
<draw_ops name="appmenu_focused_pressed">
386
<include name="appmenu_icon_focused"/>
387
</draw_ops>
388
389
<draw_ops name="appmenu_icon_unfocused">
390
<icon
391
x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
392
width="D_appmenu_icon_size" height="D_appmenu_icon_size"
393
alpha="0.75"/>
394
</draw_ops>
395
396
<draw_ops name="appmenu_unfocused">
397
<include name="appmenu_icon_unfocused"/>
398
</draw_ops>
399
400
<draw_ops name="appmenu_unfocused_prelight">
401
<include name="appmenu_icon_unfocused"/>
402
</draw_ops>
403
404
<draw_ops name="appmenu_unfocused_pressed">
405
<include name="appmenu_icon_unfocused"/>
406
</draw_ops>
407
408
409
<!-- button backgrounds -->
410
411
<draw_ops name="button_focused">
412
</draw_ops>
413
414
<draw_ops name="button_focused_prelight">
415
<image filename="button.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.15" colorize="C_title_focused"/>
416
</draw_ops>
417
418
<draw_ops name="button_focused_pressed">
419
<image filename="button.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.3" colorize="C_title_focused"/>
420
</draw_ops>
421
422
<draw_ops name="button_unfocused">
423
</draw_ops>
424
425
<draw_ops name="button_unfocused_prelight">
426
<image filename="button.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.15" colorize="C_title_unfocused"/>
427
</draw_ops>
428
429
<draw_ops name="button_unfocused_pressed">
430
<image filename="button.svg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height" alpha="0.3" colorize="C_title_unfocused"/>
431
</draw_ops>
432
433
434
<!-- frame styles -->
435
436
<frame_style name="normal_focused" geometry="normal">
437
<piece position="entire_background" draw_ops="entire_background_focused"/>
438
<piece position="titlebar" draw_ops="titlebar_focused"/>
439
<piece position="title" draw_ops="title_focused"/>
440
<button function="close" state="normal" draw_ops="close_focused"/>
441
<button function="close" state="prelight" draw_ops="close_focused_prelight"/>
442
<button function="close" state="pressed" draw_ops="close_focused_pressed"/>
443
<button function="maximize" state="normal" draw_ops="maximize_focused"/>
444
<button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
445
<button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
446
<button function="minimize" state="normal" draw_ops="minimize_focused"/>
447
<button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
448
<button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
449
<button function="menu" state="normal" draw_ops="menu_focused"/>
450
<button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
451
<button function="menu" state="pressed" draw_ops="menu_focused_pressed"/>
452
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused"/>
453
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_focused_prelight"/>
454
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed"/>
455
<button function="shade" state="normal" draw_ops="shade_focused"/>
456
<button function="shade" state="prelight" draw_ops="shade_focused_prelight"/>
457
<button function="shade" state="pressed" draw_ops="shade_focused_pressed"/>
458
<button function="unshade" state="normal" draw_ops="unshade_focused"/>
459
<button function="unshade" state="prelight" draw_ops="unshade_focused_prelight"/>
460
<button function="unshade" state="pressed" draw_ops="unshade_focused_pressed"/>
461
462
<button function="left_middle_background" state="normal" draw_ops="button_focused"/>
463
<button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
464
<button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
465
<button function="right_middle_background" state="normal" draw_ops="button_focused"/>
466
<button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
467
<button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
468
469
<button function="above" state="normal"><draw_ops></draw_ops></button>
470
<button function="above" state="pressed"><draw_ops></draw_ops></button>
471
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
472
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
473
<button function="stick" state="normal"><draw_ops></draw_ops></button>
474
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
475
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
476
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
477
</frame_style>
478
479
<frame_style name="normal_unfocused" geometry="normal">
480
<piece position="entire_background" draw_ops="entire_background_unfocused"/>
481
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
482
<piece position="title" draw_ops="title_unfocused"/>
483
<button function="close" state="normal" draw_ops="close_unfocused"/>
484
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
485
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
486
<button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
487
<button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
488
<button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
489
<button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
490
<button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
491
<button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
492
<button function="menu" state="normal" draw_ops="menu_unfocused"/>
493
<button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
494
<button function="menu" state="pressed" draw_ops="menu_unfocused_pressed"/>
495
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused"/>
496
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight"/>
497
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed"/>
498
<button function="shade" state="normal" draw_ops="shade_unfocused"/>
499
<button function="shade" state="prelight" draw_ops="shade_unfocused_prelight"/>
500
<button function="shade" state="pressed" draw_ops="shade_unfocused_pressed"/>
501
<button function="unshade" state="normal" draw_ops="unshade_unfocused"/>
502
<button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight"/>
503
<button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed"/>
504
505
<button function="left_middle_background" state="normal" draw_ops="button_unfocused"/>
506
<button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
507
<button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
508
<button function="right_middle_background" state="normal" draw_ops="button_unfocused"/>
509
<button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
510
<button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
511
512
<button function="above" state="normal"><draw_ops></draw_ops></button>
513
<button function="above" state="pressed"><draw_ops></draw_ops></button>
514
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
515
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
516
<button function="stick" state="normal"><draw_ops></draw_ops></button>
517
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
518
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
519
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
520
</frame_style>
521
522
<frame_style name="normal_max_focused" geometry="max" parent="normal_focused">
523
<piece position="titlebar" draw_ops="entire_background_focused"/>
524
<button function="maximize" state="normal" draw_ops="unmaximize_focused"/>
525
<button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
526
<button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
527
</frame_style>
528
529
<frame_style name="normal_max_unfocused" geometry="max" parent="normal_unfocused">
530
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
531
<button function="maximize" state="normal" draw_ops="unmaximize_unfocused"/>
532
<button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
533
<button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
534
</frame_style>
535
536
<frame_style name="tiled_left_focused" geometry="tiled_left" parent="normal_focused">
537
<piece position="titlebar" draw_ops="entire_background_focused"/>
538
</frame_style>
539
540
<frame_style name="tiled_left_unfocused" geometry="tiled_left" parent="normal_unfocused">
541
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
542
</frame_style>
543
544
<frame_style name="tiled_right_focused" geometry="tiled_right" parent="normal_focused">
545
<piece position="titlebar" draw_ops="entire_background_focused"/>
546
</frame_style>
547
548
<frame_style name="tiled_right_unfocused" geometry="tiled_right" parent="normal_unfocused">
549
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
550
</frame_style>
551
552
<frame_style name="dialog_focused" geometry="nobuttons" parent="normal_focused">
553
</frame_style>
554
555
<frame_style name="dialog_unfocused" geometry="nobuttons" parent="normal_unfocused">
556
</frame_style>
557
558
<frame_style name="modal_dialog_focused" geometry="modal" parent="normal_focused">
559
<piece position="entire_background" draw_ops="entire_background_alt_focused"/>
560
<piece position="titlebar" draw_ops="titlebar_alt_focused"/>
561
<piece position="title" draw_ops="title_alt_focused"/>
562
</frame_style>
563
564
<frame_style name="modal_dialog_unfocused" geometry="modal" parent="normal_unfocused">
565
<piece position="entire_background" draw_ops="entire_background_alt_unfocused"/>
566
<piece position="titlebar" draw_ops="titlebar_alt_unfocused"/>
567
<piece position="title" draw_ops="title_alt_unfocused"/>
568
</frame_style>
569
570
<frame_style name="utility_focused" geometry="small" parent="normal_focused">
571
</frame_style>
572
573
<frame_style name="utility_unfocused" geometry="small" parent="normal_unfocused">
574
</frame_style>
575
576
<frame_style name="border_focused" geometry="border" parent="normal_focused">
577
</frame_style>
578
579
<frame_style name="border_unfocused" geometry="border" parent="normal_unfocused">
580
</frame_style>
581
582
<frame_style name="borderless_focused" geometry="borderless" parent="normal_focused">
583
</frame_style>
584
585
<frame_style name="borderless_unfocused" geometry="borderless" parent="normal_unfocused">
586
</frame_style>
587
588
<frame_style name="attached_focused" geometry="attached" parent="modal_dialog_focused">
589
</frame_style>
590
591
<frame_style name="attached_unfocused" geometry="attached" parent="modal_dialog_unfocused">
592
</frame_style>
593
594
<!-- placeholder for unimplementated styles-->
595
<frame_style name="blank" geometry="normal">
596
<button function="close" state="normal"><draw_ops></draw_ops></button>
597
<button function="close" state="pressed"><draw_ops></draw_ops></button>
598
<button function="maximize" state="normal"><draw_ops></draw_ops></button>
599
<button function="maximize" state="pressed"><draw_ops></draw_ops></button>
600
<button function="minimize" state="normal"><draw_ops></draw_ops></button>
601
<button function="minimize" state="pressed"><draw_ops></draw_ops></button>
602
<button function="menu" state="normal"><draw_ops></draw_ops></button>
603
<button function="menu" state="pressed"><draw_ops></draw_ops></button>
604
<button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
605
<button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
606
<button function="shade" state="normal"><draw_ops></draw_ops></button>
607
<button function="shade" state="pressed"><draw_ops></draw_ops></button>
608
<button function="unshade" state="normal"><draw_ops></draw_ops></button>
609
<button function="unshade" state="pressed"><draw_ops></draw_ops></button>
610
<button function="above" state="normal"><draw_ops></draw_ops></button>
611
<button function="above" state="pressed"><draw_ops></draw_ops></button>
612
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
613
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
614
<button function="stick" state="normal"><draw_ops></draw_ops></button>
615
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
616
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
617
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
618
</frame_style>
619
620
621
<!-- frame style sets -->
622
623
<frame_style_set name="normal_style_set">
624
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
625
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
626
<frame focus="yes" state="maximized" style="normal_max_focused"/>
627
<frame focus="no" state="maximized" style="normal_max_unfocused"/>
628
<frame focus="yes" state="shaded" style="normal_focused"/>
629
<frame focus="no" state="shaded" style="normal_unfocused"/>
630
<frame focus="yes" state="maximized_and_shaded" style="normal_max_focused"/>
631
<frame focus="no" state="maximized_and_shaded" style="normal_max_unfocused"/>
632
<frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused"/>
633
<frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused"/>
634
<frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused"/>
635
<frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused"/>
636
<frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused"/>
637
<frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused"/>
638
<frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused"/>
639
<frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused"/>
640
</frame_style_set>
641
642
<frame_style_set name="dialog_style_set">
643
<frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
644
<frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
645
<frame focus="yes" state="maximized" style="blank"/>
646
<frame focus="no" state="maximized" style="blank"/>
647
<frame focus="yes" state="shaded" style="dialog_focused"/>
648
<frame focus="no" state="shaded" style="dialog_unfocused"/>
649
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
650
<frame focus="no" state="maximized_and_shaded" style="blank"/>
651
</frame_style_set>
652
653
<frame_style_set name="modal_dialog_style_set">
654
<frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
655
<frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
656
<frame focus="yes" state="maximized" style="blank"/>
657
<frame focus="no" state="maximized" style="blank"/>
658
<frame focus="yes" state="shaded" style="modal_dialog_focused"/>
659
<frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
660
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
661
<frame focus="no" state="maximized_and_shaded" style="blank"/>
662
</frame_style_set>
663
664
<frame_style_set name="utility_style_set">
665
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
666
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
667
<frame focus="yes" state="maximized" style="blank"/>
668
<frame focus="no" state="maximized" style="blank"/>
669
<frame focus="yes" state="shaded" style="utility_focused"/>
670
<frame focus="no" state="shaded" style="utility_unfocused"/>
671
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
672
<frame focus="no" state="maximized_and_shaded" style="blank"/>
673
</frame_style_set>
674
675
<frame_style_set name="border_style_set">
676
<frame focus="yes" state="normal" resize="both" style="border_focused"/>
677
<frame focus="no" state="normal" resize="both" style="border_unfocused"/>
678
<frame focus="yes" state="maximized" style="borderless_focused"/>
679
<frame focus="no" state="maximized" style="borderless_unfocused"/>
680
<frame focus="yes" state="shaded" style="blank"/>
681
<frame focus="no" state="shaded" style="blank"/>
682
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
683
<frame focus="no" state="maximized_and_shaded" style="blank"/>
684
</frame_style_set>
685
686
<frame_style_set name="attached_style_set">
687
<frame focus="yes" state="normal" resize="both" style="attached_focused"/>
688
<frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
689
<frame focus="yes" state="maximized" style="blank"/>
690
<frame focus="no" state="maximized" style="blank"/>
691
<frame focus="yes" state="shaded" style="blank"/>
692
<frame focus="no" state="shaded" style="blank"/>
693
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
694
<frame focus="no" state="maximized_and_shaded" style="blank"/>
695
</frame_style_set>
696
697
698
<!-- windows -->
699
700
<window type="normal" style_set="normal_style_set"/>
701
<window type="dialog" style_set="dialog_style_set"/>
702
<window type="modal_dialog" style_set="modal_dialog_style_set"/>
703
<window type="menu" style_set="utility_style_set"/>
704
<window type="utility" style_set="utility_style_set"/>
705
<window type="border" style_set="border_style_set"/>
706
<window version=">= 3.2" type="attached" style_set="attached_style_set"/>
707
708
</metacity_theme>
709