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