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