4
<name>Nuvola-old</name>
5
<author>Christian Schaller based on work by Jakub Steiner</author>
6
<copyright>Christian Schaller and Ximian Inc.</copyright>
8
<description>Nuvola theme based on Gorilla theme</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="2" bottom="1"/>
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="1"/>
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"/>
84
<line color="#000000" x1="1" y1="height-4" x2="1" y2="height-5"/>
85
<line color="#000000" x1="2" y1="height-4" x2="2" y2="height-5"/>
86
<line color="#000000" x1="2" y1="height-3" x2="2" y2="height-3"/>
87
<line color="#000000" x1="2" y1="height-2" x2="4" y2="height-2"/>
88
<line color="#000000" x1="2" y1="height-3" x2="4" y2="height-3"/>
91
<line color="#000000" x1="width-2" y1="3" x2="width-2" y2="4"/>
92
<line color="#000000" x1="width-3" y1="3" x2="width-3" y2="4"/>
93
<line color="#000000" x1="width-3" y1="2" x2="width-3" y2="2"/>
94
<line color="#000000" x1="width-4" y1="1" x2="width-5" y2="1"/>
95
<line color="#000000" x1="width-4" y1="2" x2="width-5" y2="2"/>
98
<line color="#000000" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
99
<line color="#000000" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
100
<line color="#000000" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
101
<line color="#000000" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
102
<line color="#000000" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
106
<draw_ops name="corners_hilight_unfocused">
108
<!-- ** corner hilight for left top ** -->
109
<line color="shade/gtk:bg[NORMAL]/1.9" x1="2" y1="3" x2="2" y2="4"/>
110
<line color="shade/gtk:bg[NORMAL]/1.9" x1="3" y1="2" x2="4" y2="2"/>
112
<!-- ** corner hilight for left bottom ** -->
113
<line color="shade/gtk:bg[NORMAL]/1.4" x1="2" y1="height-4" x2="2" y2="height-5"/>
114
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="height-3" x2="4" y2="height-3"/>
116
<!-- ** corner hilight for right top ** -->
117
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-3" y1="3" x2="width-3" y2="4"/>
118
<line color="shade/gtk:bg[NORMAL]/0.8" x1="width-4" y1="2" x2="width-4" y2="2"/>
119
<line color="shade/gtk:bg[NORMAL]/1.9" x1="width-5" y1="2" x2="width-5" y2="2"/>
121
<!-- ** corner hilight for right bottom ** -->
122
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
123
<line color="shade/gtk:bg[NORMAL]/0.7" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
127
<draw_ops name="corners_hilight">
128
<!-- do some serious ani-aliasing ;) -->
130
<!-- ** corner hilight for left top ** -->
131
<line color="shade/gtk:bg[SELECTED]/1.9" x1="3" y1="4" x2="3" y2="4"/>
132
<line color="shade/gtk:bg[SELECTED]/1.9" x1="4" y1="3" x2="4" y2="2"/>
134
<!-- ** corner hilight for left bottom ** -->
135
<line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="height-5" x2="3" y2="height-5"/>
136
<line color="shade/gtk:bg[SELECTED]/1.4" x1="2" y1="height-4" x2="2" y2="height-5"/>
137
<line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-4" x2="3" y2="height-4"/>
138
<line color="shade/gtk:bg[NORMAL]/0.8" x1="4" y1="height-4" x2="4" y2="height-4"/>
140
<!-- ** corner hilight for right top ** -->
141
<line color="gtk:bg[SELECTED]" x1="width-5" y1="3" x2="width-5" y2="3"/>
142
<line color="shade/gtk:bg[SELECTED]/0.7" x1="width-4" y1="3" x2="width-4" y2="3"/>
143
<line color="shade/gtk:bg[SELECTED]/0.9" x1="width-4" y1="4" x2="width-4" y2="4"/>
145
<!-- ** corner hilight for right bottom ** -->
146
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-4" y1="height-6" x2="width-4" y2="height-6"/>
147
<line color="gtk:bg[SELECTED]" x1="width-4" y1="height-5" x2="width-4" y2="height-5"/>
148
<line color="shade/gtk:bg[SELECTED]/0.7" x1="width-4" y1="height-4" x2="width-4" y2="height-4"/>
149
<line color="gtk:bg[SELECTED]" x1="width-5" y1="height-4" x2="width-5" y2="height-4"/>
150
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-6" y1="height-4" x2="width-6" y2="height-4"/>
154
<draw_ops name="bevel_unfocused">
156
<!-- ** 3d beveled frame ** -->
157
<rectangle color="shade/gtk:light[NORMAL]/1.6" filled="false" x="1" y="1" width="width - 3" height="height - 4"/>
159
<rectangle color="shade/gtk:light[NORMAL]/1.3" filled="false" x="2" y="2" width="width - 2" height="height - 4"/>
161
<rectangle color="gtk:dark[NORMAL]" filled="false" x="2" y="2" width="width - 4" height="height - 4"/>
163
<rectangle color="gtk:bg[NORMAL]" filled="true" x="2" y="2" width="width - 4" height="height - 4"/>
165
<!-- ** fancy gradient **
166
<gradient type="vertical" x="2" y="2" width="width - 4" height="title_height + 4">
167
<color value="shade/gtk:bg[NORMAL]/1.1"/>
168
<color value="shade/gtk:bg[NORMAL]/0.9"/>
170
<gradient type="vertical" x="2" y="title_height+4" width="width - 4" height="32">
171
<color value="shade/gtk:bg[NORMAL]/0.9"/>
172
<color value="shade/gtk:bg[NORMAL]/1.0"/>
176
<rectangle color="#000000" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
180
<draw_ops name="round_bevel_unfocused">
181
<include name="bevel_unfocused"/>
182
<include name="corners_outline"/>
183
<include name="corners_hilight_unfocused"/>
187
<draw_ops name="bevel">
189
<!-- outermost black border -->
191
<rectangle color="#000000" filled="true" x="0" y="0" width="2" height="height"/>
193
<rectangle color="#000000" filled="true" x="width - 2" y="0" width="2" height="height"/>
194
<!-- bottom after the title gradient (for shaded mode) -->
197
<rectangle color="#000000" filled="true" x="0" y="0" width="width" height="2"/>
200
<!-- the bcg is actually lighter
201
<rectangle color="gtk:light[SELECTED]" filled="false"
207
<rectangle color="shade/gtk:bg[SELECTED]/0.8" filled="false" x="3" y="3" width="width - 6" height="height - 6"/>
212
below the title up till bottom ; FIXME -slow
214
<rectangle color="gtk:bg[NORMAL]" filled="true" x="3" y="3" width="width - 6" height="height - 6"/>
218
<rectangle color="gtk:bg[SELECTED]" filled="true"
219
x="width - 24" y="height - 24"
223
<rectangle color="gtk:bg[SELECTED]" filled="true"
224
x="2" y="height - 24"
229
<!-- ** fancy gradient ** -->
230
<!-- too bad metacity is misbehaving when I wanna do the interlace effect here
232
<gradient type="vertical" x="3" y="3" width="width - 6" height="4">
233
<color value="shade/gtk:bg[SELECTED]/0.95"/>
234
<color value="shade/gtk:bg[SELECTED]/0.7"/>
237
<gradient type="vertical" x="3" y="7" width="width - 6" height="title_height - 4">
238
<color value="shade/gtk:bg[SELECTED]/0.7"/>
239
<color value="gtk:bg[SELECTED]"/>
242
<gradient type="vertical" x="3" y="title_height + 3" width="width - 6" height="4">
243
<color value="gtk:bg[SELECTED]"/>
244
<color value="shade/gtk:bg[SELECTED]/0.7"/>
247
<!-- side gradients -->
248
<gradient type="vertical" x="3" y="title_height + 6" width="3" height="48">
249
<color value="shade/gtk:bg[SELECTED]/0.7"/>
250
<color value="gtk:bg[NORMAL]"/>
253
<gradient type="vertical" x="width - 6" y="title_height + 6" width="3" height="48">
254
<color value="shade/gtk:bg[SELECTED]/0.7"/>
255
<color value="gtk:bg[NORMAL]"/>
259
<tile name="title_tile" tile_width="width" tile_height="2" x="3" y="3" width="width - 6" height="title_height + 1"/>
261
<!-- inner black stroke -->
264
<rectangle color="shade/gtk:bg[SELECTED]/0.6" filled="false"
265
x="5" y="title_height + 6"
267
height="height - title_height - 11"/>
270
<!-- now the bottom black border -->
271
<rectangle color="#000000" filled="true" x="0" y="height - 2" width="width" height="2"/>
275
<draw_ops name="bevel_maximized">
277
<!-- this one is like bevel but without the outermost black border -->
279
<!-- the bcg is actually lighter
280
<rectangle color="gtk:light[SELECTED]" filled="false"
286
<rectangle color="shade/gtk:bg[SELECTED]/0.8" filled="false" x="3" y="3" width="width - 6" height="height - 6"/>
291
below the title up till bottom ; FIXME -slow
293
<rectangle color="gtk:bg[NORMAL]" filled="true" x="3" y="3" width="width - 6" height="height - 6"/>
297
<rectangle color="gtk:bg[SELECTED]" filled="true"
298
x="width - 24" y="height - 24"
302
<rectangle color="gtk:bg[SELECTED]" filled="true"
303
x="2" y="height - 24"
308
<!-- ** fancy gradient ** -->
309
<!-- too bad metacity is misbehaving when I wanna do the interlace effect here
311
<gradient type="vertical" x="3" y="3" width="width - 6" height="4">
312
<color value="shade/gtk:bg[SELECTED]/0.95"/>
313
<color value="shade/gtk:bg[SELECTED]/0.7"/>
316
<gradient type="vertical" x="3" y="7" width="width - 6" height="title_height - 4">
317
<color value="shade/gtk:bg[SELECTED]/0.7"/>
318
<color value="gtk:bg[SELECTED]"/>
321
<gradient type="vertical" x="3" y="title_height + 3" width="width - 6" height="4">
322
<color value="gtk:bg[SELECTED]"/>
323
<color value="shade/gtk:bg[SELECTED]/0.7"/>
326
<!-- side gradients -->
327
<gradient type="vertical" x="3" y="title_height + 6" width="3" height="48">
328
<color value="shade/gtk:bg[SELECTED]/0.7"/>
329
<color value="gtk:bg[NORMAL]"/>
332
<gradient type="vertical" x="width - 6" y="title_height + 6" width="3" height="48">
333
<color value="shade/gtk:bg[SELECTED]/0.7"/>
334
<color value="gtk:bg[NORMAL]"/>
338
<tile name="title_tile" tile_width="width" tile_height="2" x="3" y="3" width="width - 6" height="title_height + 1"/>
340
<!-- inner black stroke -->
343
<rectangle color="shade/gtk:bg[SELECTED]/0.6" filled="false"
344
x="5" y="title_height + 6"
346
height="height - title_height - 11"/>
349
<!-- now the bottom black border -->
350
<rectangle color="#000000" filled="true" x="0" y="height - 2" width="width" height="2"/>
355
<draw_ops name="bottom_corners">
358
* I cannot yet figure out how to do one from topright to bottomleft
360
<gradient type="vertical" x="width - 24" y="height - 48" width="22" height="46">
361
<color value="gtk:bg[NORMAL]"/>
362
<color value="shade/gtk:bg[SELECTED]/0.7"/>
363
<color value="shade/gtk:bg[SELECTED]/0.7"/>
366
<gradient type="horizontal" x="width - 48" y="height - 48" width="24" height="46">
367
<color value="gtk:bg[NORMAL]"/>
368
<color value="shade/gtk:bg[SELECTED]/0.7"/>
372
<gradient type="vertical" x="2" y="height - 48" width="22" height="46">
373
<color value="gtk:bg[NORMAL]"/>
374
<color value="shade/gtk:bg[SELECTED]/0.7"/>
375
<color value="shade/gtk:bg[SELECTED]/0.7"/>
378
<gradient type="horizontal" x="24" y="height - 48" width="24" height="46">
379
<color value="shade/gtk:bg[SELECTED]/0.7"/>
380
<color value="gtk:bg[NORMAL]"/>
387
<draw_ops name="round_bevel_shaded">
388
<include name="bevel"/>
389
<include name="corners_hilight"/>
390
<include name="corners_outline"/>
393
<draw_ops name="round_bevel">
394
<include name="bevel"/>
395
<include name="corners_hilight"/>
396
<include name="bottom_corners"/>
397
<include name="corners_outline"/>
400
<!-- ::: TITLES ::: -->
402
<!-- l33t t1g3rtcr4ck hack -->
403
<draw_ops name="title_text">
404
<title color="shade/gtk:bg[SELECTED]/0.75" x="(3 `max` (width-title_width)) / 2 + 1" y="(((height - title_height) / 2) `max` 0) + 2"/>
405
<title color="shade/gtk:bg[SELECTED]/0.7" x="(3 `max` (width-title_width)) / 2 + 2" y="(((height - title_height) / 2) `max` 0) + 2"/>
406
<title color="shade/gtk:bg[SELECTED]/0.4" x="(3 `max` (width-title_width)) / 2 + 1" y="(((height - title_height) / 2) `max` 0) + 1"/>
407
<title color="gtk:fg[SELECTED]" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/>
410
<draw_ops name="title_text_unfocused">
411
<title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x="(3 `max` (width-title_width)) / 2" y="((height - title_height) / 2) `max` 0"/>
414
<draw_ops name="title">
415
<include name="title_text"/>
418
<draw_ops name="title_unfocused">
419
<include name="title_text_unfocused"/>
422
<!-- ::: BUTTONS ::: -->
424
<draw_ops name="menu_button_icon">
425
<image filename="wm-menu.png" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
428
<draw_ops name="menu_button_icon_pressed">
429
<image filename="wm-menu.png" colorize="#ffffff" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
432
<draw_ops name="menu_button_icon_unfocused">
433
<image filename="wm-menu.png" colorize="#ffffff" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
436
<draw_ops name="menu_button_normal">
437
<include name="menu_button_icon"/>
439
<draw_ops name="menu_button_pressed">
440
<include name="menu_button_icon"/>
442
<draw_ops name="menu_button_unfocused">
443
<include name="menu_button_icon_unfocused"/>
446
<draw_ops name="button_icon_unfocused">
447
<image filename="wm-inac.png" colorize="#FFFFFF" alpha="0.1" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
450
<draw_ops name="close_button_icon">
451
<image filename="wm-close.png" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
454
<draw_ops name="close_button_icon_pressed">
455
<image filename="wm-close.png" colorize="#ffffff" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
458
<draw_ops name="close_button_normal">
459
<include name="close_button_icon"/>
461
<draw_ops name="close_button_pressed">
462
<include name="close_button_icon_pressed"/>
464
<draw_ops name="close_button_unfocused">
465
<include name="button_icon_unfocused"/>
468
<draw_ops name="maximize_button_icon">
469
<image filename="wm-max.png" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
472
<draw_ops name="maximize_button_icon_pressed">
473
<image filename="wm-max.png" colorize="#FFFFFF" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
476
<draw_ops name="maximize_button_normal">
477
<include name="maximize_button_icon"/>
479
<draw_ops name="maximize_button_pressed">
480
<include name="maximize_button_icon_pressed"/>
482
<draw_ops name="maximize_button_unfocused">
483
<include name="button_icon_unfocused"/>
486
<draw_ops name="restore_button_icon">
487
<image filename="wm-restore.png" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
490
<draw_ops name="restore_button_icon_pressed">
491
<image filename="wm-restore.png" colorize="#FFFFFF" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
494
<draw_ops name="restore_button_normal">
495
<include name="restore_button_icon"/>
497
<draw_ops name="restore_button_pressed">
498
<include name="restore_button_icon_pressed"/>
500
<draw_ops name="restore_button_unfocused">
501
<include name="button_icon_unfocused"/>
504
<draw_ops name="minimize_button_icon">
505
<image filename="wm-min.png" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
508
<draw_ops name="minimize_button_icon_pressed">
509
<image filename="wm-min.png" colorize="#ffffff" x="ButtonIPad" y="ButtonIPad" width="width - ButtonIPad" height="height - ButtonIPad"/>
512
<draw_ops name="minimize_button_normal">
513
<include name="minimize_button_icon"/>
515
<draw_ops name="minimize_button_pressed">
516
<include name="minimize_button_icon_pressed"/>
518
<draw_ops name="minimize_button_unfocused">
519
<include name="button_icon_unfocused"/>
522
<draw_ops name="blank">
523
<!-- nothing --></draw_ops>
525
<frame_style name="normal" geometry="normal">
526
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
527
<piece position="title" draw_ops="title_unfocused"/>
528
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
529
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
530
<button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
531
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
532
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
533
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
534
<button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
535
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
538
<frame_style name="focused" geometry="normal" parent="normal">
539
<piece position="entire_background" draw_ops="round_bevel"/>
540
<piece position="title" draw_ops="title"/>
541
<button function="close" state="normal" draw_ops="close_button_normal"/>
542
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
543
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
544
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
547
<frame_style name="focused_shaded" geometry="normal" parent="normal">
548
<piece position="entire_background" draw_ops="round_bevel_shaded"/>
549
<piece position="title" draw_ops="title"/>
550
<button function="close" state="normal" draw_ops="close_button_normal"/>
551
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
552
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
553
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
556
<frame_style name="normal_maximized" geometry="normal_maximized">
557
<piece position="entire_background" draw_ops="bevel_unfocused"/>
558
<piece position="title" draw_ops="title_unfocused"/>
559
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
560
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
561
<button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
562
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
563
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
564
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
565
<button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
566
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
569
<frame_style name="focused_maximized" geometry="normal_maximized" parent="normal">
570
<piece position="entire_background" draw_ops="bevel_maximized"/>
571
<piece position="title" draw_ops="title"/>
572
<button function="close" state="normal" draw_ops="close_button_normal"/>
573
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
574
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
575
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
578
<frame_style name="border" geometry="border" parent="normal">
579
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
580
<piece position="title" draw_ops="blank"/>
583
<!-- available styles -->
585
<frame_style_set name="normal">
586
<frame focus="yes" state="normal" resize="both" style="focused"/>
587
<frame focus="no" state="normal" resize="both" style="normal"/>
588
<frame focus="yes" state="maximized" style="focused_maximized"/>
589
<frame focus="no" state="maximized" style="normal_maximized"/>
590
<frame focus="yes" state="shaded" style="focused_shaded"/>
591
<frame focus="no" state="shaded" style="normal"/>
592
<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/>
593
<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/>
596
<frame_style_set name="utility" parent="normal">
597
<frame focus="yes" state="normal" resize="both" style="focused"/>
598
<frame focus="no" state="normal" resize="both" style="normal"/>
599
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
600
<frame focus="yes" state="maximized" style="focused"/>
601
<frame focus="no" state="maximized" style="normal"/>
602
<frame focus="yes" state="shaded" style="focused_shaded"/>
603
<frame focus="no" state="shaded" style="normal"/>
604
<frame focus="yes" state="maximized_and_shaded" style="focused"/>
605
<frame focus="no" state="maximized_and_shaded" style="normal"/>
608
<frame_style_set name="border">
609
<frame focus="yes" state="normal" resize="both" style="border"/>
610
<frame focus="no" state="normal" resize="both" style="border"/>
611
<frame focus="yes" state="maximized" style="border"/>
612
<frame focus="no" state="maximized" style="border"/>
613
<frame focus="yes" state="shaded" style="border"/>
614
<frame focus="no" state="shaded" style="border"/>
615
<frame focus="yes" state="maximized_and_shaded" style="border"/>
616
<frame focus="no" state="maximized_and_shaded" style="border"/>
619
<window type="normal" style_set="normal"/>
620
<window type="dialog" style_set="normal"/>
621
<window type="modal_dialog" style_set="normal"/>
622
<window type="menu" style_set="normal"/>
623
<window type="utility" style_set="normal"/>
624
<window type="border" style_set="border"/>
626
<menu_icon function="close" state="normal" draw_ops="close_button_icon_pressed"/>
627
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_pressed"/>
628
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_pressed"/>
629
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_pressed"/>