A fork of the Materia GTK theme.

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

Dismiss

 metacity-theme-2.xml

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