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