~3v1n0/ubuntu-themes/fix-dialog-headerbar-min-height

« back to all changes in this revision

Viewing changes to Ambiance/metacity-1/metacity-theme-1.xml

  • Committer: Kenneth Wimer
  • Date: 2010-03-04 19:25:28 UTC
  • Revision ID: kwwii@clive-20100304192528-rs73rasgqhx32w25
Final naming

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<metacity_theme>
 
4
<info>
 
5
    <name>Dark</name>
 
6
    <author>Kenneth Wimer</author>
 
7
    <copyright>Canonical Ltd.</copyright>
 
8
    <date>Nov 28, 2009</date>
 
9
    <description>Metacity theme</description>
 
10
</info>
 
11
 
 
12
<!-- General window layout -->
 
13
<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true"  rounded_bottom_left="true" rounded_bottom_right="true">
 
14
    <distance name="left_width" value="1"/>
 
15
    <distance name="right_width" value="1"/>
 
16
    <distance name="bottom_height" value="4"/>
 
17
    <distance name="left_titlebar_edge" value="10"/>
 
18
    <distance name="right_titlebar_edge" value="10"/>
 
19
    <distance name="button_width" value="20"/>
 
20
    <distance name="button_height" value="20"/>
 
21
    <distance name="title_vertical_pad" value="8"/>
 
22
    <border name="title_border" left="2" right="2" top="2" bottom="0"/>
 
23
    <border name="button_border" left="0" right="0" top="2" bottom="1"/>
 
24
</frame_geometry>
 
25
 
 
26
<frame_geometry name="frame_geometry_abnormal" title_scale="medium" rounded_top_left="false" rounded_top_right="false">
 
27
    <distance name="left_width" value="0"/>
 
28
    <distance name="right_width" value="0"/>
 
29
    <distance name="bottom_height" value="4"/>
 
30
    <distance name="left_titlebar_edge" value="10"/>
 
31
    <distance name="right_titlebar_edge" value="10"/>
 
32
    <distance name="button_width" value="20"/>
 
33
    <distance name="button_height" value="20"/>
 
34
    <distance name="title_vertical_pad" value="2"/>
 
35
    <border name="title_border" left="2" right="2" top="2" bottom="2"/>
 
36
    <border name="button_border" left="0" right="0" top="2" bottom="1"/>
 
37
</frame_geometry>
 
38
 
 
39
<!-- Window Title -->
 
40
 
 
41
<draw_ops name="draw_title_text_normal">
 
42
  <title color="#333"
 
43
         x="10"
 
44
         y="(((height - title_height) / 2) `max` 0)+1"/>
 
45
  <title color="#333"
 
46
         x="10"
 
47
         y="(((height - title_height) / 2) `max` 0)-1"/>
 
48
  <title color="#333"
 
49
         x="9"
 
50
         y="(((height - title_height) / 2) `max` 0)"/>
 
51
  <title color="#333"
 
52
         x="11"
 
53
         y="(((height - title_height) / 2) `max` 0)"/>
 
54
  <title color="#dfd8c8"
 
55
         x="10"
 
56
         y="(((height - title_height) / 2) `max` 0)"/>
 
57
 
 
58
</draw_ops>
 
59
 
 
60
<draw_ops name="draw_title_text_inactive">
 
61
  <title color="#333333"
 
62
         x="10"
 
63
         y="(((height - title_height) / 2) `max` 0)+1"/>
 
64
  <title color="#333333"
 
65
         x="10"
 
66
         y="(((height - title_height) / 2) `max` 0)-1"/>
 
67
  <title color="#333333"
 
68
         x="9"
 
69
         y="(((height - title_height) / 2) `max` 0)"/>
 
70
  <title color="#333333"
 
71
         x="11"
 
72
         y="(((height - title_height) / 2) `max` 0)"/>
 
73
  <title color="#99958b"
 
74
         x="10"
 
75
         y="(((height - title_height) / 2) `max` 0)"/>
 
76
</draw_ops>
 
77
 
 
78
<draw_ops name="draw_title">
 
79
    <!-- Background gradient -->
 
80
    <gradient type="vertical" x="0" y="0" width="width+9" height="height">
 
81
        <color value="#5c5b56" />
 
82
        <color value="#3c3b37" />
 
83
        <color value="#3c3b37" />
 
84
    </gradient>
 
85
    
 
86
    <!-- Topmost dark line -->
 
87
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="width" y1="0" y2="0"/>
 
88
    
 
89
    <!-- Darkening of the left arch -->
 
90
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="4" y1="1" y2="1"/>
 
91
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="2" y1="2" y2="2"/>
 
92
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="1" y1="3" y2="3"/>
 
93
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="1" y1="4" y2="4"/>
 
94
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="0" y1="5" y2="40"/>
 
95
    
 
96
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-5" x2="width" y1="1" y2="1"/>
 
97
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-3" x2="width" y1="2" y2="2"/>
 
98
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-2" x2="width" y1="3" y2="3"/>
 
99
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-2" x2="width" y1="4" y2="4"/>
 
100
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-1" x2="width" y1="5" y2="90"/>
 
101
    
 
102
    <!-- Top highlight -->
 
103
    <tint color="#5c5b56" alpha="0.55" x="5" y="1" width="width - 10" height="1"/> 
 
104
    <tint color="#5c5b56" alpha="0.15" x="5" y="2" width="width - 10" height="1"/> 
 
105
    
 
106
</draw_ops>
 
107
 
 
108
<draw_ops name="draw_title_inactive">
 
109
    <!-- Background gradient -->
 
110
    <gradient type="vertical" x="0" y="0" width="width+9" height="height">
 
111
        <color value="#5c5b56" />
 
112
        <color value="#3c3b37" />
 
113
        <color value="#3c3b37" />
 
114
    </gradient>
 
115
    
 
116
    <!-- Topmost dark line -->
 
117
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="width" y1="0" y2="0"/>
 
118
    
 
119
    <!-- Darkening of the left arch -->
 
120
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="4" y1="1" y2="1"/>
 
121
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="2" y1="2" y2="2"/>
 
122
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="1" y1="3" y2="3"/>
 
123
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="1" y1="4" y2="4"/>
 
124
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="0" y1="5" y2="40"/>
 
125
    
 
126
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-5" x2="width" y1="1" y2="1"/>
 
127
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-3" x2="width" y1="2" y2="2"/>
 
128
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-2" x2="width" y1="3" y2="3"/>
 
129
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-2" x2="width" y1="4" y2="4"/>
 
130
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="width-1" x2="width" y1="5" y2="90"/>
 
131
    
 
132
    <!-- Top highlight -->
 
133
    <tint color="#5c5b56" alpha="0.55" x="5" y="1" width="width - 10" height="1"/> 
 
134
    <tint color="#5c5b56" alpha="0.15" x="5" y="2" width="width - 10" height="1"/> 
 
135
    
 
136
</draw_ops>
 
137
 
 
138
<draw_ops name="draw_title_maximized">
 
139
    <!-- Background gradient -->
 
140
    <gradient type="vertical" x="0" y="0" width="width+9" height="height">
 
141
        <color value="#5c5b56" />
 
142
        <color value="#3c3b37" />
 
143
        <color value="#3c3b37" />
 
144
    </gradient>
 
145
    
 
146
    <!-- Topmost dark line -->
 
147
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="width" y1="0" y2="0"/>
 
148
    
 
149
    <!-- Top highlight -->
 
150
    <tint color="#5c5b56" alpha="0.55" x="0" y="1" width="width" height="1"/> 
 
151
    <tint color="#5c5b56" alpha="0.15" x="0" y="2" width="width" height="1"/> 
 
152
</draw_ops>
 
153
 
 
154
<draw_ops name="draw_title_maximized_inactive">
 
155
    <!-- Background gradient -->
 
156
    <gradient type="vertical" x="0" y="0" width="width+9" height="height">
 
157
        <color value="#5c5b56" />
 
158
        <color value="#3c3b37" />
 
159
    </gradient>
 
160
    
 
161
    <!-- Topmost dark line -->
 
162
    <line color="shade/gtk:bg[NORMAL]/0.4" x1="0" x2="width" y1="0" y2="0"/>
 
163
    
 
164
    <!-- Top highlight -->
 
165
    <tint color="#5c5b56" alpha="0.55" x="0" y="1" width="width" height="1"/> 
 
166
    <tint color="#5c5b56" alpha="0.15" x="0" y="2" width="width" height="1"/> 
 
167
</draw_ops>
 
168
 
 
169
<!-- Window Frames -->
 
170
 
 
171
<draw_ops name="draw_frame">
 
172
<rectangle color="shade/gtk:bg[NORMAL]/0.5" x="0" y="0" width="width" height="height" filled="true"/>
 
173
    <gradient type="vertical" x="0" y="0" width="width" height="60">
 
174
        <color value="shade/gtk:bg[NORMAL]/0.4" />
 
175
        <color value="shade/gtk:bg[NORMAL]/0.6" />
 
176
    </gradient>
 
177
</draw_ops>
 
178
 
 
179
<!-- bottom border -->
 
180
<draw_ops name="bottom_edge">
 
181
<line color="shade/gtk:bg[NORMAL]/0.6" x1="0" x2="width" y1="height-1" y2="height-1"/>
 
182
        <!-- bottom left -->
 
183
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="height-4" x2="0" y2="height-7"/>
 
184
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="height-4" x2="1" y2="height-5"/>
 
185
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="2" y2="height-3"/>
 
186
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-2" x2="4" y2="height-2"/>
 
187
 
 
188
        <!-- bottom right -->
 
189
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="height-4" x2="width-1" y2="height-7"/>
 
190
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
 
191
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
 
192
        <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
 
193
</draw_ops>
 
194
 
 
195
 
 
196
 
 
197
<!-- Buttons-->
 
198
 
 
199
<!-- close button-->
 
200
<draw_ops name="button_close_normal">
 
201
    <image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
202
</draw_ops>
 
203
<draw_ops name="button_close_prelight">
 
204
    <image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
205
</draw_ops>
 
206
<draw_ops name="button_close_inactive_prelight">
 
207
    <image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
208
</draw_ops>
 
209
<draw_ops name="button_close_pressed">
 
210
    <image filename="button_close_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
211
</draw_ops>
 
212
<draw_ops name="button_close_inactive">
 
213
    <image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
214
</draw_ops>
 
215
 
 
216
<draw_ops name="buttontrough_close_normal">
 
217
    <image filename="buttontrough_close_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
218
</draw_ops>
 
219
<draw_ops name="buttontrough_close_prelight">
 
220
    <image filename="buttontrough_close_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
221
</draw_ops>
 
222
<draw_ops name="buttontrough_close_inactive_prelight">
 
223
    <image filename="buttontrough_close_prelight_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
224
</draw_ops>
 
225
<draw_ops name="buttontrough_close_pressed">
 
226
    <image filename="buttontrough_close_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
227
</draw_ops>
 
228
<draw_ops name="buttontrough_close_inactive">
 
229
    <image filename="buttontrough_close_normal_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
230
</draw_ops>
 
231
 
 
232
<!-- maximize button-->
 
233
<draw_ops name="button_max_normal">
 
234
    <image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
235
</draw_ops>
 
236
<draw_ops name="button_max_prelight">
 
237
    <image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
238
</draw_ops>
 
239
<draw_ops name="button_max_inactive_prelight">
 
240
    <image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
241
</draw_ops>
 
242
<draw_ops name="button_max_pressed">
 
243
    <image filename="button_max_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
244
</draw_ops>
 
245
<draw_ops name="button_max_inactive">
 
246
    <image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
247
</draw_ops>
 
248
<draw_ops name="button_max_restore">
 
249
    <image filename="button_max_restore.png" x="0" y="1" width="object_width" height="object_height"/>
 
250
</draw_ops>
 
251
<draw_ops name="button_max_restore_prelight">
 
252
    <image filename="button_max_restore_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
253
</draw_ops>
 
254
<draw_ops name="buttontrough_max_normal">
 
255
    <image filename="buttontrough_max_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
256
</draw_ops>
 
257
<draw_ops name="buttontrough_max_prelight">
 
258
    <image filename="buttontrough_max_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
259
</draw_ops>
 
260
<draw_ops name="buttontrough_max_inactive_prelight">
 
261
    <image filename="buttontrough_max_prelight_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
262
</draw_ops>
 
263
<draw_ops name="buttontrough_max_pressed">
 
264
    <image filename="buttontrough_max_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
265
</draw_ops>
 
266
<draw_ops name="buttontrough_max_inactive">
 
267
    <image filename="buttontrough_max_normal_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
268
</draw_ops>
 
269
<draw_ops name="buttontrough_max_restore">
 
270
    <image filename="buttontrough_max_restore.png" x="0" y="1" width="object_width" height="object_height"/>
 
271
</draw_ops>
 
272
<draw_ops name="buttontrough_max_restore_inactive">
 
273
    <image filename="buttontrough_max_normal_restore_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
274
</draw_ops>
 
275
<draw_ops name="buttontrough_max_restore_prelight">
 
276
    <image filename="buttontrough_max_restore_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
277
</draw_ops>
 
278
<!-- minimize button-->
 
279
<draw_ops name="button_min_normal">
 
280
    <image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
281
</draw_ops>
 
282
<draw_ops name="button_min_prelight">
 
283
    <image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
284
</draw_ops>
 
285
<draw_ops name="button_min_inactive_prelight">
 
286
    <image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
287
</draw_ops>
 
288
<draw_ops name="button_min_pressed">
 
289
    <image filename="button_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
290
</draw_ops>
 
291
<draw_ops name="button_min_inactive">
 
292
    <image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
293
</draw_ops>
 
294
 
 
295
<draw_ops name="buttontrough_min_normal">
 
296
    <image filename="buttontrough_min_normal.png" x="0" y="1" width="object_width" height="object_height"/>
 
297
</draw_ops>
 
298
<draw_ops name="buttontrough_min_prelight">
 
299
    <image filename="buttontrough_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
 
300
</draw_ops>
 
301
<draw_ops name="buttontrough_min_inactive_prelight">
 
302
    <image filename="buttontrough_min_prelight_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
303
</draw_ops>
 
304
<draw_ops name="buttontrough_min_pressed">
 
305
    <image filename="buttontrough_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
 
306
</draw_ops>
 
307
<draw_ops name="buttontrough_min_inactive">
 
308
    <image filename="buttontrough_min_normal_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
 
309
</draw_ops>
 
310
 
 
311
<!-- menu icon -->
 
312
<draw_ops name="button_menu_normal">
 
313
<image filename="menu.png" x="0" y="1" width="20" height="18"/>
 
314
</draw_ops>
 
315
<draw_ops name="button_menu_prelight">
 
316
<image filename="menu.png" x="0" y="1" width="20" height="18"/>
 
317
</draw_ops>
 
318
<draw_ops name="button_menu_inactive_prelight">
 
319
<image filename="menu.png" x="0" y="1" width="20" height="18"/>
 
320
</draw_ops>
 
321
<draw_ops name="button_menu_pressed">
 
322
<image filename="menu_over.png" x="0" y="1" width="20" height="18"/>
 
323
</draw_ops>
 
324
<draw_ops name="button_menu_inactive">
 
325
<image filename="menu.png" x="0" y="1" width="20" height="18"/>
 
326
</draw_ops>
 
327
 
 
328
<!-- Frame styles -->
 
329
<frame_style name="frame_style_normal_focused" geometry="frame_geometry_normal">
 
330
   <piece position="title" draw_ops="draw_title_text_normal"/>
 
331
   <piece position="titlebar" draw_ops="draw_title"/>
 
332
   <piece position="left_edge" draw_ops="draw_frame"/>
 
333
   <piece position="right_edge" draw_ops="draw_frame"/>
 
334
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
335
   <button function="close" state="normal" draw_ops="buttontrough_close_normal"/>
 
336
   <button function="close" state="prelight" draw_ops="buttontrough_close_prelight"/>
 
337
   <button function="close" state="pressed" draw_ops="buttontrough_close_pressed"/>
 
338
   <button function="minimize" state="normal" draw_ops="buttontrough_min_normal"/>
 
339
   <button function="minimize" state="prelight" draw_ops="buttontrough_min_prelight"/>
 
340
   <button function="minimize" state="pressed" draw_ops="buttontrough_min_pressed"/>
 
341
   <button function="maximize" state="normal" draw_ops="buttontrough_max_normal"/>
 
342
   <button function="maximize" state="prelight" draw_ops="buttontrough_max_prelight"/>
 
343
   <button function="maximize" state="pressed" draw_ops="buttontrough_max_pressed"/>
 
344
   <button function="menu" state="normal" draw_ops="button_menu_normal"/>
 
345
   <button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
 
346
   <button function="menu" state="pressed" draw_ops="button_menu_pressed"/>
 
347
</frame_style>
 
348
 
 
349
<frame_style name="frame_style_normal_unfocused" geometry="frame_geometry_normal">
 
350
   <piece position="title" draw_ops="draw_title_text_inactive"/>
 
351
   <piece position="titlebar" draw_ops="draw_title_inactive"/>
 
352
   <piece position="left_edge" draw_ops="draw_frame"/>
 
353
   <piece position="right_edge" draw_ops="draw_frame"/>
 
354
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
355
   <button function="close" state="normal" draw_ops="buttontrough_close_inactive"/>
 
356
   <button function="close" state="prelight" draw_ops="buttontrough_close_inactive_prelight"/>
 
357
   <button function="close" state="pressed" draw_ops="buttontrough_close_inactive"/>
 
358
   <button function="minimize" state="normal" draw_ops="buttontrough_min_inactive"/>
 
359
   <button function="minimize" state="prelight" draw_ops="buttontrough_min_inactive_prelight"/>
 
360
   <button function="minimize" state="pressed" draw_ops="buttontrough_min_inactive"/>
 
361
   <button function="maximize" state="normal" draw_ops="buttontrough_max_inactive"/>
 
362
   <button function="maximize" state="prelight" draw_ops="buttontrough_max_inactive_prelight"/>
 
363
   <button function="maximize" state="pressed" draw_ops="buttontrough_max_inactive"/>
 
364
   <button function="menu" state="normal" draw_ops="button_menu_inactive"/>
 
365
   <button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/>
 
366
   <button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
 
367
</frame_style>
 
368
 
 
369
<frame_style name="frame_style_maximized_focused" geometry="frame_geometry_abnormal">
 
370
   <piece position="title" draw_ops="draw_title_text_normal"/>
 
371
   <piece position="titlebar" draw_ops="draw_title_maximized"/>
 
372
   <piece position="left_edge" draw_ops="draw_frame"/>
 
373
   <piece position="right_edge" draw_ops="draw_frame"/>
 
374
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
375
   <button function="close" state="normal" draw_ops="buttontrough_close_normal"/>
 
376
   <button function="close" state="prelight" draw_ops="buttontrough_close_prelight"/>
 
377
   <button function="close" state="pressed" draw_ops="buttontrough_close_pressed"/>
 
378
   <button function="minimize" state="normal" draw_ops="buttontrough_min_normal"/>
 
379
   <button function="minimize" state="prelight" draw_ops="buttontrough_min_prelight"/>
 
380
   <button function="minimize" state="pressed" draw_ops="buttontrough_min_pressed"/>
 
381
   <button function="maximize" state="normal" draw_ops="buttontrough_max_restore"/>
 
382
   <button function="maximize" state="prelight" draw_ops="buttontrough_max_restore_prelight"/>
 
383
   <button function="maximize" state="pressed" draw_ops="buttontrough_max_restore"/>
 
384
   <button function="menu" state="normal" draw_ops="button_menu_normal"/>
 
385
   <button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
 
386
   <button function="menu" state="pressed" draw_ops="button_menu_normal"/>
 
387
</frame_style>
 
388
 
 
389
<frame_style name="frame_style_maximized_unfocused" geometry="frame_geometry_abnormal">
 
390
   <piece position="title" draw_ops="draw_title_text_inactive"/>
 
391
   <piece position="titlebar" draw_ops="draw_title_maximized_inactive"/>
 
392
   <piece position="left_edge" draw_ops="draw_frame"/>
 
393
   <piece position="right_edge" draw_ops="draw_frame"/>
 
394
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
395
   <button function="close" state="normal" draw_ops="buttontrough_close_inactive"/>
 
396
   <button function="close" state="prelight" draw_ops="buttontrough_close_prelight"/>
 
397
   <button function="close" state="pressed" draw_ops="buttontrough_close_inactive"/>
 
398
   <button function="minimize" state="normal" draw_ops="buttontrough_min_inactive"/>
 
399
   <button function="minimize" state="prelight" draw_ops="buttontrough_min_prelight"/>
 
400
   <button function="minimize" state="pressed" draw_ops="buttontrough_min_inactive"/>
 
401
   <button function="maximize" state="normal" draw_ops="buttontrough_max_restore_inactive"/>
 
402
   <button function="maximize" state="prelight" draw_ops="buttontrough_max_restore_prelight"/>
 
403
   <button function="maximize" state="pressed" draw_ops="buttontrough_max_restore"/>
 
404
   <button function="menu" state="normal" draw_ops="button_menu_inactive"/>
 
405
   <button function="menu" state="prelight" draw_ops="button_menu_inactive"/>
 
406
   <button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
 
407
</frame_style>
 
408
 
 
409
<frame_style name="frame_style_normal_focused2" geometry="frame_geometry_normal">
 
410
   <piece position="title" draw_ops="draw_title_text_normal"/>
 
411
   <piece position="titlebar" draw_ops="draw_title"/>
 
412
   <piece position="left_edge" draw_ops="draw_frame"/>
 
413
   <piece position="right_edge" draw_ops="draw_frame"/>
 
414
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
415
   <button function="close" state="normal" draw_ops="button_close_normal"/>
 
416
   <button function="close" state="prelight" draw_ops="button_close_prelight"/>
 
417
   <button function="close" state="pressed" draw_ops="button_close_pressed"/>
 
418
   <button function="minimize" state="normal" draw_ops="button_min_normal"/>
 
419
   <button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
 
420
   <button function="minimize" state="pressed" draw_ops="button_min_pressed"/>
 
421
   <button function="maximize" state="normal" draw_ops="button_max_normal"/>
 
422
   <button function="maximize" state="prelight" draw_ops="button_max_prelight"/>
 
423
   <button function="maximize" state="pressed" draw_ops="button_max_pressed"/>
 
424
   <button function="menu" state="normal" draw_ops="button_menu_normal"/>
 
425
   <button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
 
426
   <button function="menu" state="pressed" draw_ops="button_menu_pressed"/>
 
427
</frame_style>
 
428
 
 
429
<frame_style name="frame_style_normal_unfocused2" geometry="frame_geometry_normal">
 
430
   <piece position="title" draw_ops="draw_title_text_inactive"/>
 
431
   <piece position="titlebar" draw_ops="draw_title_inactive"/>
 
432
   <piece position="left_edge" draw_ops="draw_frame"/>
 
433
   <piece position="right_edge" draw_ops="draw_frame"/>
 
434
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
435
   <button function="close" state="normal" draw_ops="button_close_inactive"/>
 
436
   <button function="close" state="prelight" draw_ops="button_close_inactive_prelight"/>
 
437
   <button function="close" state="pressed" draw_ops="button_close_inactive"/>
 
438
   <button function="minimize" state="normal" draw_ops="button_min_inactive"/>
 
439
   <button function="minimize" state="prelight" draw_ops="button_min_inactive_prelight"/>
 
440
   <button function="minimize" state="pressed" draw_ops="button_min_inactive"/>
 
441
   <button function="maximize" state="normal" draw_ops="button_max_inactive"/>
 
442
   <button function="maximize" state="prelight" draw_ops="button_max_inactive_prelight"/>
 
443
   <button function="maximize" state="pressed" draw_ops="button_max_inactive"/>
 
444
   <button function="menu" state="normal" draw_ops="button_menu_inactive"/>
 
445
   <button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/>
 
446
   <button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
 
447
</frame_style>
 
448
 
 
449
<frame_style name="frame_style_maximized_focused2" geometry="frame_geometry_abnormal">
 
450
   <piece position="title" draw_ops="draw_title_text_normal"/>
 
451
   <piece position="titlebar" draw_ops="draw_title_maximized"/>
 
452
   <piece position="left_edge" draw_ops="draw_frame"/>
 
453
   <piece position="right_edge" draw_ops="draw_frame"/>
 
454
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
455
   <button function="close" state="normal" draw_ops="button_close_normal"/>
 
456
   <button function="close" state="prelight" draw_ops="button_close_prelight"/>
 
457
   <button function="close" state="pressed" draw_ops="button_close_pressed"/>
 
458
   <button function="minimize" state="normal" draw_ops="button_min_normal"/>
 
459
   <button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
 
460
   <button function="minimize" state="pressed" draw_ops="button_min_pressed"/>
 
461
   <button function="maximize" state="normal" draw_ops="button_max_restore"/>
 
462
   <button function="maximize" state="prelight" draw_ops="button_max_restore_prelight"/>
 
463
   <button function="maximize" state="pressed" draw_ops="button_max_restore"/>
 
464
   <button function="menu" state="normal" draw_ops="button_menu_normal"/>
 
465
   <button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
 
466
   <button function="menu" state="pressed" draw_ops="button_menu_normal"/>
 
467
</frame_style>
 
468
 
 
469
<frame_style name="frame_style_maximized_unfocused2" geometry="frame_geometry_abnormal">
 
470
   <piece position="title" draw_ops="draw_title_text_inactive"/>
 
471
   <piece position="titlebar" draw_ops="draw_title_maximized_inactive"/>
 
472
   <piece position="left_edge" draw_ops="draw_frame"/>
 
473
   <piece position="right_edge" draw_ops="draw_frame"/>
 
474
   <piece position="bottom_edge" draw_ops="bottom_edge"/>
 
475
   <button function="close" state="normal" draw_ops="button_close_inactive"/>
 
476
   <button function="close" state="prelight" draw_ops="button_close_prelight"/>
 
477
   <button function="close" state="pressed" draw_ops="button_close_inactive"/>
 
478
   <button function="minimize" state="normal" draw_ops="button_min_inactive"/>
 
479
   <button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
 
480
   <button function="minimize" state="pressed" draw_ops="button_min_inactive"/>
 
481
   <button function="maximize" state="normal" draw_ops="button_max_restore"/>
 
482
   <button function="maximize" state="prelight" draw_ops="button_max_restore_prelight"/>
 
483
   <button function="maximize" state="pressed" draw_ops="button_max_restore"/>
 
484
   <button function="menu" state="normal" draw_ops="button_menu_inactive"/>
 
485
   <button function="menu" state="prelight" draw_ops="button_menu_inactive"/>
 
486
   <button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
 
487
</frame_style>
 
488
 
 
489
<frame_style_set name="frame_style_set_normal">
 
490
  <frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused"/>
 
491
  <frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused"/>
 
492
  <frame focus="yes" state="maximized" style="frame_style_maximized_focused"/>
 
493
  <frame focus="no" state="maximized" style="frame_style_maximized_unfocused"/>
 
494
  <frame focus="yes" state="shaded" style="frame_style_normal_focused"/>
 
495
  <frame focus="no" state="shaded" style="frame_style_normal_unfocused"/>
 
496
  <frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused"/>
 
497
  <frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused"/>
 
498
</frame_style_set>
 
499
 
 
500
<frame_style_set name="frame_style_set_other">
 
501
  <frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused2"/>
 
502
  <frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused2"/>
 
503
  <frame focus="yes" state="maximized" style="frame_style_maximized_focused2"/>
 
504
  <frame focus="no" state="maximized" style="frame_style_maximized_unfocused2"/>
 
505
  <frame focus="yes" state="shaded" style="frame_style_normal_focused2"/>
 
506
  <frame focus="no" state="shaded" style="frame_style_normal_unfocused2"/>
 
507
  <frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused2"/>
 
508
  <frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused2"/>
 
509
</frame_style_set>
 
510
 
 
511
<window type="normal" style_set="frame_style_set_normal"/>
 
512
<window type="dialog" style_set="frame_style_set_other"/>
 
513
<window type="modal_dialog" style_set="frame_style_set_other"/>
 
514
<window type="menu" style_set="frame_style_set_other"/>
 
515
<window type="utility" style_set="frame_style_set_other"/>
 
516
<window type="border" style_set="frame_style_set_other"/>
 
517
 
 
518
<menu_icon function="close" state="normal" draw_ops="button_close_normal"/>
 
519
<menu_icon function="maximize" state="normal" draw_ops="button_max_normal"/>
 
520
<menu_icon function="unmaximize" state="normal" draw_ops="button_max_normal"/>
 
521
<menu_icon function="minimize" state="normal" draw_ops="button_min_normal"/>
 
522
 
 
523
 
 
524
</metacity_theme>