5
<author>Lapo Calamandrei <lapo@it.gnome.org></author>
6
<copyright>2003 Â Lapo Calamandrei, <lapo@it.gnome.org></copyright>
8
<description>Goes well with the Nuvola. Tig's World Domination derivate.</description>
13
ButtonIPad : Padding of buttons
17
<constant name="UnButtAlpha" value="0.2"/>
18
<constant name="ButtonIPad" value="1"/>
22
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true">
23
<distance name="left_width" value="6"/>
24
<distance name="right_width" value="6"/>
25
<distance name="bottom_height" value="6"/>
26
<distance name="left_titlebar_edge" value="4"/>
27
<distance name="right_titlebar_edge" value="4"/>
28
<aspect_ratio name="button" value="1"/>
29
<distance name="title_vertical_pad" value="2"/>
30
<border name="title_border" left="2" right="2" top="2" bottom="2"/>
31
<border name="button_border" left="1" right="1" top="3" bottom="3"/>
34
<!-- strip borders off the normal geometry -->
35
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
36
<distance name="left_width" value="1"/>
37
<distance name="right_width" value="1"/>
38
<distance name="bottom_height" value="3"/>
39
<distance name="left_titlebar_edge" value="2"/>
40
<distance name="right_titlebar_edge" value="2"/>
43
<frame_geometry name="normal_small_borders" parent="normal">
44
<distance name="left_width" value="0"/>
45
<distance name="right_width" value="0"/>
46
<distance name="bottom_height" value="0"/>
47
<distance name="left_titlebar_edge" value="0"/>
48
<distance name="right_titlebar_edge" value="0"/>
51
<frame_geometry name="border" has_title="false">
52
<distance name="left_width" value="4"/>
53
<distance name="right_width" value="4"/>
54
<distance name="bottom_height" value="4"/>
55
<distance name="left_titlebar_edge" value="0"/>
56
<distance name="right_titlebar_edge" value="0"/>
57
<distance name="button_width" value="0"/>
58
<distance name="button_height" value="0"/>
59
<distance name="title_vertical_pad" value="4"/>
60
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
61
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
65
<draw_ops name="focus_outline">
66
<rectangle color="#FFFFFF" x="left_width-1" y="top_height-1" width="width-left_width-right_width+1" height="height-top_height-bottom_height+1"/>
67
<line color="shade/gtk:bg[SELECTED]/0.45" x1="left_width-1" y1="top_height-1" x2="left_width-1" y2="top_height-1"/>
68
<line color="shade/gtk:bg[SELECTED]/0.45" x1="width-right_width" y1="top_height-1" x2="width-right_width" y2="top_height-1"/>
69
<line color="shade/gtk:bg[SELECTED]/0.45" x1="left_width-1" y1="height-bottom_height" x2="left_width-1" y2="height-bottom_height"/>
70
<line color="shade/gtk:bg[SELECTED]/0.45" x1="width-right_width" y1="height-bottom_height" x2="width-right_width" y2="height-bottom_height"/>
74
<draw_ops name="corners_outline">
75
<!-- ** BLACK outlines around the round corners ** -->
77
<!-- <line color="#000000" x1="1" y1="3" x2="1" y2="4"/>
78
<line color="#000000" x1="2" y1="3" x2="2" y2="4"/>
79
<line color="#000000" x1="2" y1="2" x2="2" y2="2"/>
80
<line color="#000000" x1="3" y1="1" x2="4" y2="1"/>
81
<line color="#000000" x1="3" y1="2" x2="4" y2="2"/> -->
83
<line color="shade/gtk:bg[SELECTED]/0.4" x1="1" y1="3" x2="1" y2="4"/>
84
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="3" x2="2" y2="4"/>
85
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="2" x2="2" y2="2"/>
86
<line color="shade/gtk:bg[SELECTED]/0.4" x1="3" y1="1" x2="4" y2="1"/>
87
<line color="shade/gtk:bg[SELECTED]/0.4" x1="3" y1="2" x2="4" y2="2"/>
90
<line color="shade/gtk:bg[SELECTED]/0.4" x1="1" y1="height-4" x2="1" y2="height-5"/>
91
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="height-4" x2="2" y2="height-5"/>
92
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="height-3" x2="2" y2="height-3"/>
93
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="height-2" x2="4" y2="height-2"/>
94
<line color="shade/gtk:bg[SELECTED]/0.4" x1="2" y1="height-3" x2="4" y2="height-3"/>
97
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-2" y1="3" x2="width-2" y2="4"/>
98
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-3" y1="3" x2="width-3" y2="4"/>
99
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-3" y1="2" x2="width-3" y2="2"/>
100
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-4" y1="1" x2="width-5" y2="1"/>
101
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-4" y1="2" x2="width-5" y2="2"/>
103
<!-- bottom right -->
104
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
105
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
106
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
107
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
108
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
112
<draw_ops name="corners_outline_unfocused">
114
<line color="shade/gtk:bg[NORMAL]/0.8" x1="1" y1="3" x2="1" y2="4"/>
115
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="3" x2="2" y2="4"/>
116
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="2" x2="2" y2="2"/>
117
<line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="1" x2="4" y2="1"/>
118
<line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="4" y2="2"/>
121
<line color="shade/gtk:bg[NORMAL]/0.8" x1="1" y1="height-4" x2="1" y2="height-5"/>
122
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="height-4" x2="2" y2="height-5"/>
123
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="height-3" x2="2" y2="height-3"/>
124
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="height-2" x2="4" y2="height-2"/>
125
<line color="shade/gtk:bg[NORMAL]/0.8" x1="2" y1="height-3" x2="4" y2="height-3"/>
128
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-2" y1="3" x2="width-2" y2="4"/>
129
<line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="4"/>
130
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-3" y1="2" x2="width-3" y2="2"/>
131
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-4" y1="1" x2="width-5" y2="1"/>
132
<line color="shade/gtk:bg[NORMAL]/0.95" x1="width-4" y1="2" x2="width-5" y2="2"/>
134
<!-- bottom right -->
135
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
136
<line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
137
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
138
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
139
<line color="shade/gtk:bg[NORMAL]/0.95" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
142
<draw_ops name="corners_hilight_unfocused">
144
<!-- ** corner hilight for left top ** -->
145
<line color="shade/gtk:bg[NORMAL]/1.9" x1="2" y1="3" x2="2" y2="4"/>
146
<line color="shade/gtk:bg[NORMAL]/1.9" x1="3" y1="2" x2="4" y2="2"/>
148
<!-- ** corner hilight for left bottom ** -->
149
<line color="shade/gtk:bg[NORMAL]/1.4" x1="2" y1="height-4" x2="2" y2="height-5"/>
150
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="height-3" x2="4" y2="height-3"/>
152
<!-- ** corner hilight for right top **
153
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-3" y1="3" x2="width-3" y2="4"/>
154
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-4" y1="2" x2="width-4" y2="2"/>
155
<line color="shade/gtk:bg[NORMAL]/1.9" x1="width-5" y1="2" x2="width-5" y2="2"/>
157
<!-- ** corner hilight for right bottom ** -->
158
<!-- <line color="shade/gtk:bg[NORMAL]/0.7" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
159
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
164
<draw_ops name="corners_hilight">
165
<!-- do some serious ani-aliasing ;) -->
167
<!-- ** corner hilight for left top ** -->
168
<line color="shade/gtk:bg[SELECTED]/1.1" x1="3" y1="4" x2="3" y2="4"/>
169
<line color="shade/gtk:bg[SELECTED]/1.1" x1="4" y1="3" x2="4" y2="2"/>
171
<!-- ** corner hilight for left bottom ** -->
172
<line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-5" x2="3" y2="height-5"/>
173
<!-- <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-4" x2="2" y2="height-5"/> -->
174
<line color="shade/gtk:bg[SELECTED]/0.7" x1="3" y1="height-4" x2="3" y2="height-4"/>
175
<line color="shade/gtk:bg[SELECTED]/0.8" x1="4" y1="height-4" x2="4" y2="height-4"/>
177
<!-- ** corner hilight for right top ** -->
178
<line color="gtk:bg[SELECTED]" x1="width-5" y1="3" x2="width-5" y2="3"/>
179
<line color="shade/gtk:bg[SELECTED]/0.7" x1="width-4" y1="3" x2="width-4" y2="3"/>
180
<line color="shade/gtk:bg[SELECTED]/0.9" x1="width-4" y1="4" x2="width-4" y2="4"/>
182
<!-- ** corner hilight for right bottom ** -->
183
<!-- <line color="shade/gtk:bg[NORMAL]/0.5" x1="width-4" y1="height-6" x2="width-4" y2="height-6"/><
184
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="height-5" x2="width-4" y2="height-5"/>
185
<line color="shade/gtk:bg[SELECTED]/0.4" x1="width-4" y1="height-4" x2="width-4" y2="height-4"/>
186
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-5" y1="height-4" x2="width-5" y2="height-4"/>
187
<line color="shade/gtk:bg[NORMAL]/0.5" x1="width-6" y1="height-4" x2="width-6" y2="height-4"/>
191
<draw_ops name="bevel_unfocused">
193
<!-- ** 3d beveled frame ** -->
194
<rectangle color="shade/gtk:light[NORMAL]/1.6" filled="false" x="1" y="1" width="width - 3" height="height - 4"/>
196
<rectangle color="shade/gtk:light[NORMAL]/1.3" filled="false" x="2" y="2" width="width - 2" height="height - 4"/>
198
<rectangle color="gtk:dark[NORMAL]" filled="false" x="2" y="2" width="width - 3" height="height - 3"/>
200
<rectangle color="gtk:bg[NORMAL]" filled="true" x="2" y="2" width="width - 3" height="height - 3"/>
202
<rectangle color="shade/gtk:bg[NORMAL]/0.8" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
206
<draw_ops name="round_bevel_unfocused">
207
<include name="bevel_unfocused"/>
208
<include name="corners_outline_unfocused"/>
209
<include name="corners_hilight_unfocused"/>
213
<draw_ops name="bevel">
215
<!-- outermost black border -->
217
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="true" x="0" y="0" width="2" height="height"/>
219
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="true" x="width - 2" y="0" width="2" height="height"/>
221
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="true" x="0" y="0" width="width" height="2"/>
224
<!-- the bcg is actually lighter -->
225
<rectangle color="shade/gtk:bg[SELECTED]/0.9" filled="false"
230
<rectangle color="shade/gtk:bg[SELECTED]/0.5" filled="false" x="3" y="3" width="width - 6" height="height - 6"/>
235
below the title up till bottom ; FIXME -slow
237
<rectangle color="shade/gtk:bg[SELECTED]/0.6" filled="true" x="3" y="3" width="width - 6" height="height - 6"/>
239
<!-- ** fancy gradient ** -->
240
<!-- too bad metacity is misbehaving when I wanna do the interlace effect here
242
<gradient type="vertical" x="3" y="3" width="width - 6" height="top_height - 3">
243
<color value="gtk:bg[SELECTED]"/>
244
<color value="shade/gtk:bg[SELECTED]/0.6"/>
247
<!-- inner dark stroke -->
249
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="false"
250
x="5" y="title_height + 5"
252
height="height - title_height - 11"/>
254
<!-- now the bottom dark border -->
255
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="true" x="0" y="height - 2" width="width" height="2"/>
258
<draw_ops name="bottom_corners">
261
* I cannot yet figure out how to do one from topright to bottomleft
263
<gradient type="vertical" x="width - 24" y="height - 48" width="22" height="46">
264
<color value="gtk:bg[NORMAL]"/>
265
<color value="shade/gtk:bg[SELECTED]/0.7"/>
266
<color value="shade/gtk:bg[SELECTED]/0.7"/>
269
<gradient type="horizontal" x="width - 48" y="height - 48" width="24" height="46">
270
<color value="gtk:bg[NORMAL]"/>
271
<color value="shade/gtk:bg[SELECTED]/0.7"/>
275
<gradient type="vertical" x="2" y="height - 48" width="22" height="46">
276
<color value="gtk:bg[NORMAL]"/>
277
<color value="shade/gtk:bg[SELECTED]/0.7"/>
278
<color value="shade/gtk:bg[SELECTED]/0.7"/>
281
<gradient type="horizontal" x="24" y="height - 48" width="24" height="46">
282
<color value="shade/gtk:bg[SELECTED]/0.7"/>
283
<color value="gtk:bg[NORMAL]"/>
288
<draw_ops name="normal_maximized">
289
<rectangle color="gtk:bg[NORMAL]" filled="true"
294
<draw_ops name="bevel_maximized">
296
<!-- this one is like bevel but without the outermost black border cause it gave the impression that the maximized window wasn't fully maximized. -->
297
<gradient type="vertical" x="0" y="2" width="width" height="top_height - 2">
298
<color value="shade/gtk:bg[SELECTED]/1.05"/>
299
<color value="shade/gtk:bg[SELECTED]/0.6"/>
302
<rectangle color="shade/gtk:bg[SELECTED]/0.4" filled="false"
303
x="0" y="title_height + 5"
305
height="height - title_height - 5"/>
307
<line color="shade/gtk:bg[SELECTED]/0.9" x1="0" y1="1" x2="width" y2="1" />
309
<!-- now the top dark border -->
310
<line color="shade/gtk:bg[SELECTED]/0.4" x1="0" y1="0" x2="width" y2="0" />
311
<!-- now the bottom dark border -->
312
<line color="shade/gtk:bg[SELECTED]/0.4" x1="0" y1="height - 1" x2="width" y2="height - 1" />
315
<draw_ops name="round_bevel_shaded">
316
<include name="bevel"/>
317
<include name="corners_hilight"/>
318
<include name="corners_outline"/>
321
<draw_ops name="round_bevel">
322
<include name="bevel"/>
323
<include name="corners_hilight"/>
324
<include name="bottom_corners"/>
325
<include name="corners_outline"/>
328
<!-- ::: TITLES ::: -->
330
<!-- trucchetto interessante -->
331
<draw_ops name="title_text">
332
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 + 1" y="(((height - title_height) / 2) `max` 0)"/>
333
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 + 1" y="(((height - title_height) / 2 + 1) `max` 0)"/>
334
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 + 1" y="(((height - title_height) / 2 - 1) `max` 0)"/>
336
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 - 1" y="(((height - title_height) / 2) `max` 0)"/>
337
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 - 1" y="(((height - title_height) / 2 - 1) `max` 0)"/>
338
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2 - 1" y="(((height - title_height) / 2 + 1) `max` 0)"/>
340
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2 + 1) `max` 0)"/>
341
<title color="shade/gtk:bg[SELECTED]/0.6" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2 - 1) `max` 0)"/>
343
<title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/>
346
<draw_ops name="title_text_unfocused">
347
<title color="gtk:text[NORMAL]" x="(3 `max` (width-title_width)) / 2" y="((height - title_height) / 2) `max` 0"/>
350
<draw_ops name="title">
351
<include name="title_text"/>
354
<draw_ops name="title_unfocused">
355
<include name="title_text_unfocused"/>
358
<!-- ::: BUTTONS ::: -->
360
<draw_ops name="menu_button_icon">
363
width="width" height="height"/>
366
<draw_ops name="menu_button_icon_unfocused">
369
width="width" height="height" alpha="0.5"/>
372
<draw_ops name="menu_button_normal">
373
<include name="menu_button_icon"/>
375
<draw_ops name="menu_button_prelight">
376
<include name="menu_button_icon"/>
378
<draw_ops name="menu_button_pressed">
379
<include name="menu_button_icon"/>
381
<draw_ops name="menu_button_unfocused">
382
<include name="menu_button_icon_unfocused"/>
385
<draw_ops name="close_button_icon">
386
<image filename="wm-close.svg" colorize="shade/gtk:bg[SELECTED]/0.5" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
389
<draw_ops name="close_button_icon_prelight">
390
<image filename="wm-close.svg" colorize="shade/gtk:bg[SELECTED]/0.8" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
393
<draw_ops name="close_button_icon_pressed">
394
<image filename="wm-close-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.7" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
397
<draw_ops name="close_button_icon_unfocused">
398
<image filename="wm-close-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
401
<draw_ops name="close_button_icon_unfocused_prelight">
402
<image filename="wm-close-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
405
<draw_ops name="close_button_icon_unfocused_pressed">
406
<image filename="wm-close.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
411
<draw_ops name="close_button_prelight">
412
<include name="close_button_icon_prelight"/>
414
<draw_ops name="close_button_normal">
415
<include name="close_button_icon"/>
417
<draw_ops name="close_button_pressed">
418
<include name="close_button_icon_pressed"/>
420
<draw_ops name="close_button_unfocused">
421
<include name="close_button_icon_unfocused"/>
423
<draw_ops name="close_button_unfocused_prelight">
424
<include name="close_button_icon_unfocused_prelight"/>
426
<draw_ops name="close_button_unfocused_pressed">
427
<include name="close_button_icon_unfocused_pressed"/>
431
<draw_ops name="maximize_button_icon">
432
<image filename="wm-max.svg" colorize="shade/gtk:bg[SELECTED]/0.5" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
435
<draw_ops name="maximize_button_icon_prelight">
436
<image filename="wm-max.svg" colorize="shade/gtk:bg[SELECTED]/0.8" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
439
<draw_ops name="maximize_button_icon_pressed">
440
<image filename="wm-max-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.7" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
443
<draw_ops name="maximize_button_icon_unfocused">
444
<image filename="wm-max-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
447
<draw_ops name="maximize_button_icon_unfocused_prelight">
448
<image filename="wm-max-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
451
<draw_ops name="maximize_button_icon_unfocused_pressed">
452
<image filename="wm-max.svg" colorize="shade/gtk:bg[SELECTED]/0.1" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
456
<draw_ops name="maximize_button_normal">
457
<include name="maximize_button_icon"/>
459
<draw_ops name="maximize_button_prelight">
460
<include name="maximize_button_icon_prelight"/>
462
<draw_ops name="maximize_button_pressed">
463
<include name="maximize_button_icon_pressed"/>
465
<draw_ops name="maximize_button_unfocused">
466
<include name="maximize_button_icon_unfocused"/>
468
<draw_ops name="maximize_button_unfocused_prelight">
469
<include name="maximize_button_icon_unfocused_prelight"/>
471
<draw_ops name="maximize_button_unfocused_pressed">
472
<include name="maximize_button_icon_unfocused_pressed"/>
477
<draw_ops name="restore_button_icon">
478
<image filename="wm-restore.svg" colorize="shade/gtk:bg[SELECTED]/0.5" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
481
<draw_ops name="restore_button_icon_prelight">
482
<image filename="wm-restore.svg" colorize="shade/gtk:bg[SELECTED]/0.8" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
485
<draw_ops name="restore_button_icon_pressed">
486
<image filename="wm-restore-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.7" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
489
<draw_ops name="restore_button_icon_unfocused">
490
<image filename="wm-restore-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
493
<draw_ops name="restore_button_icon_unfocused_prelight">
494
<image filename="wm-restore-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
497
<draw_ops name="restore_button_icon_unfocused_pressed">
498
<image filename="wm-restore.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
501
<draw_ops name="restore_button_normal">
502
<include name="restore_button_icon"/>
504
<draw_ops name="restore_button_prelight">
505
<include name="restore_button_icon_prelight"/>
507
<draw_ops name="restore_button_pressed">
508
<include name="restore_button_icon_pressed"/>
510
<draw_ops name="restore_button_unfocused">
511
<include name="restore_button_icon_unfocused"/>
513
<draw_ops name="restore_button_unfocused_prelight">
514
<include name="restore_button_icon_unfocused_prelight"/>
516
<draw_ops name="restore_button_unfocused_pressed">
517
<include name="restore_button_icon_unfocused_pressed"/>
520
<draw_ops name="minimize_button_icon">
521
<image filename="wm-min.svg" colorize="shade/gtk:bg[SELECTED]/0.5" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
524
<draw_ops name="minimize_button_icon_prelight">
525
<image filename="wm-min.svg" colorize="shade/gtk:bg[SELECTED]/0.8" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
528
<draw_ops name="minimize_button_icon_pressed">
529
<image filename="wm-min-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.7" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
532
<draw_ops name="minimize_button_icon_unfocused">
533
<image filename="wm-min-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
536
<draw_ops name="minimize_button_icon_unfocused_prelight">
537
<image filename="wm-min-alt.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
540
<draw_ops name="minimize_button_icon_unfocused_pressed">
541
<image filename="wm-min.svg" colorize="shade/gtk:bg[SELECTED]/0.2" alpha="0.2" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
544
<draw_ops name="minimize_button_normal">
545
<include name="minimize_button_icon"/>
547
<draw_ops name="minimize_button_prelight">
548
<include name="minimize_button_icon_prelight"/>
550
<draw_ops name="minimize_button_pressed">
551
<include name="minimize_button_icon_pressed"/>
553
<draw_ops name="minimize_button_unfocused">
554
<include name="minimize_button_icon_unfocused"/>
556
<draw_ops name="minimize_button_unfocused_prelight">
557
<include name="minimize_button_icon_unfocused_prelight"/>
559
<draw_ops name="minimize_button_unfocused_pressed">
560
<include name="minimize_button_icon_unfocused_pressed"/>
563
<draw_ops name="blank">
564
<!-- nothing --></draw_ops>
566
<frame_style name="normal" geometry="normal">
567
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
568
<piece position="title" draw_ops="title_unfocused"/>
569
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
570
<button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/>
571
<button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/>
572
<button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
573
<button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/>
574
<button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/>
575
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
576
<button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
577
<button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
578
<button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
579
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
580
<button function="menu" state="prelight" draw_ops="menu_button_prelight"/>
583
<frame_style name="focused" geometry="normal" parent="normal">
584
<piece position="entire_background" draw_ops="round_bevel"/>
585
<piece position="title" draw_ops="title"/>
586
<button function="close" state="normal" draw_ops="close_button_normal"/>
587
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
588
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
589
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
591
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
592
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
593
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
594
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
595
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
596
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
600
<frame_style name="focused_shaded" geometry="normal" parent="normal">
601
<piece position="entire_background" draw_ops="round_bevel_shaded"/>
602
<piece position="title" draw_ops="title"/>
603
<button function="close" state="normal" draw_ops="close_button_normal"/>
604
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
605
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
606
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
607
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
608
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
609
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
610
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
611
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
612
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
615
<frame_style name="normal_maximized" geometry="normal_maximized">
616
<piece position="entire_background" draw_ops="normal_maximized"/>
617
<piece position="title" draw_ops="title_unfocused"/>
618
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
619
<button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/>
620
<button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/>
621
<button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
622
<button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/>
623
<button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/>
624
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
625
<button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
626
<button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
627
<button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
628
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
629
<button function="menu" state="prelight" draw_ops="menu_button_prelight"/>
632
<frame_style name="focused_maximized" geometry="normal_maximized" parent="normal">
633
<piece position="entire_background" draw_ops="bevel_maximized"/>
634
<piece position="title" draw_ops="title"/>
635
<button function="close" state="normal" draw_ops="close_button_normal"/>
636
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
637
<button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
638
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
639
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
640
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
641
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
642
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
643
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
644
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
647
<frame_style name="border" geometry="border" parent="normal">
648
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
649
<piece position="title" draw_ops="blank"/>
652
<!-- available styles -->
654
<frame_style_set name="normal">
655
<frame focus="yes" state="normal" resize="both" style="focused"/>
656
<frame focus="no" state="normal" resize="both" style="normal"/>
657
<frame focus="yes" state="maximized" style="focused_maximized"/>
658
<frame focus="no" state="maximized" style="normal_maximized"/>
659
<frame focus="yes" state="shaded" style="focused_shaded"/>
660
<frame focus="no" state="shaded" style="normal"/>
661
<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/>
662
<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/>
665
<frame_style_set name="utility" parent="normal">
666
<frame focus="yes" state="normal" resize="both" style="focused"/>
667
<frame focus="no" state="normal" resize="both" style="normal"/>
668
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
669
<frame focus="yes" state="maximized" style="focused"/>
670
<frame focus="no" state="maximized" style="normal"/>
671
<frame focus="yes" state="shaded" style="focused_shaded"/>
672
<frame focus="no" state="shaded" style="normal"/>
673
<frame focus="yes" state="maximized_and_shaded" style="focused"/>
674
<frame focus="no" state="maximized_and_shaded" style="normal"/>
677
<frame_style_set name="border">
678
<frame focus="yes" state="normal" resize="both" style="border"/>
679
<frame focus="no" state="normal" resize="both" style="border"/>
680
<frame focus="yes" state="maximized" style="border"/>
681
<frame focus="no" state="maximized" style="border"/>
682
<frame focus="yes" state="shaded" style="border"/>
683
<frame focus="no" state="shaded" style="border"/>
684
<frame focus="yes" state="maximized_and_shaded" style="border"/>
685
<frame focus="no" state="maximized_and_shaded" style="border"/>
688
<window type="normal" style_set="normal"/>
689
<window type="dialog" style_set="normal"/>
690
<window type="modal_dialog" style_set="normal"/>
691
<window type="menu" style_set="normal"/>
692
<window type="utility" style_set="normal"/>
693
<window type="border" style_set="border"/>
695
<menu_icon function="close" state="normal" draw_ops="close_button_icon_pressed"/>
696
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_pressed"/>
697
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_pressed"/>
698
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_pressed"/>