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