|
1
by Sebastien Bacher, Kenneth Wimer, Martin Pitt
* Initial Ubuntu Upload |
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>
|
|
|
6
by James Schriver
Ambiance/Radiance: metacity fix frame_style_maximized close and minimize unfocused prelight |
278 |
<draw_ops name="buttontrough_max_restore_inactive_prelight"> |
279 |
<image filename="buttontrough_max_prelight_restore_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> |
|
280 |
</draw_ops>
|
|
|
1
by Sebastien Bacher, Kenneth Wimer, Martin Pitt
* Initial Ubuntu Upload |
281 |
<!-- minimize button-->
|
282 |
<draw_ops name="button_min_normal"> |
|
283 |
<image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/> |
|
284 |
</draw_ops>
|
|
285 |
<draw_ops name="button_min_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_inactive_prelight"> |
|
289 |
<image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/> |
|
290 |
</draw_ops>
|
|
291 |
<draw_ops name="button_min_pressed"> |
|
292 |
<image filename="button_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/> |
|
293 |
</draw_ops>
|
|
294 |
<draw_ops name="button_min_inactive"> |
|
295 |
<image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/> |
|
296 |
</draw_ops>
|
|
297 |
||
298 |
<draw_ops name="buttontrough_min_normal"> |
|
299 |
<image filename="buttontrough_min_normal.png" x="0" y="1" width="object_width" height="object_height"/> |
|
300 |
</draw_ops>
|
|
301 |
<draw_ops name="buttontrough_min_prelight"> |
|
302 |
<image filename="buttontrough_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/> |
|
303 |
</draw_ops>
|
|
304 |
<draw_ops name="buttontrough_min_inactive_prelight"> |
|
305 |
<image filename="buttontrough_min_prelight_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> |
|
306 |
</draw_ops>
|
|
307 |
<draw_ops name="buttontrough_min_pressed"> |
|
308 |
<image filename="buttontrough_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/> |
|
309 |
</draw_ops>
|
|
310 |
<draw_ops name="buttontrough_min_inactive"> |
|
311 |
<image filename="buttontrough_min_normal_unfocused.png" x="0" y="1" width="object_width" height="object_height"/> |
|
312 |
</draw_ops>
|
|
313 |
||
314 |
<!-- menu icon -->
|
|
315 |
<draw_ops name="button_menu_normal"> |
|
316 |
<image filename="menu.png" x="0" y="1" width="20" height="18"/> |
|
317 |
</draw_ops>
|
|
318 |
<draw_ops name="button_menu_prelight"> |
|
319 |
<image filename="menu.png" x="0" y="1" width="20" height="18"/> |
|
320 |
</draw_ops>
|
|
321 |
<draw_ops name="button_menu_inactive_prelight"> |
|
322 |
<image filename="menu.png" x="0" y="1" width="20" height="18"/> |
|
323 |
</draw_ops>
|
|
324 |
<draw_ops name="button_menu_pressed"> |
|
325 |
<image filename="menu_over.png" x="0" y="1" width="20" height="18"/> |
|
326 |
</draw_ops>
|
|
327 |
<draw_ops name="button_menu_inactive"> |
|
328 |
<image filename="menu.png" x="0" y="1" width="20" height="18"/> |
|
329 |
</draw_ops>
|
|
330 |
||
331 |
<!-- Frame styles -->
|
|
332 |
<frame_style name="frame_style_normal_focused" geometry="frame_geometry_normal"> |
|
333 |
<piece position="title" draw_ops="draw_title_text_normal"/> |
|
334 |
<piece position="titlebar" draw_ops="draw_title"/> |
|
335 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
336 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
337 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
338 |
<button function="close" state="normal" draw_ops="buttontrough_close_normal"/> |
|
339 |
<button function="close" state="prelight" draw_ops="buttontrough_close_prelight"/> |
|
340 |
<button function="close" state="pressed" draw_ops="buttontrough_close_pressed"/> |
|
341 |
<button function="minimize" state="normal" draw_ops="buttontrough_min_normal"/> |
|
342 |
<button function="minimize" state="prelight" draw_ops="buttontrough_min_prelight"/> |
|
343 |
<button function="minimize" state="pressed" draw_ops="buttontrough_min_pressed"/> |
|
344 |
<button function="maximize" state="normal" draw_ops="buttontrough_max_normal"/> |
|
345 |
<button function="maximize" state="prelight" draw_ops="buttontrough_max_prelight"/> |
|
346 |
<button function="maximize" state="pressed" draw_ops="buttontrough_max_pressed"/> |
|
347 |
<button function="menu" state="normal" draw_ops="button_menu_normal"/> |
|
348 |
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/> |
|
349 |
<button function="menu" state="pressed" draw_ops="button_menu_pressed"/> |
|
350 |
</frame_style>
|
|
351 |
||
352 |
<frame_style name="frame_style_normal_unfocused" geometry="frame_geometry_normal"> |
|
353 |
<piece position="title" draw_ops="draw_title_text_inactive"/> |
|
354 |
<piece position="titlebar" draw_ops="draw_title_inactive"/> |
|
355 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
356 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
357 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
358 |
<button function="close" state="normal" draw_ops="buttontrough_close_inactive"/> |
|
359 |
<button function="close" state="prelight" draw_ops="buttontrough_close_inactive_prelight"/> |
|
360 |
<button function="close" state="pressed" draw_ops="buttontrough_close_inactive"/> |
|
361 |
<button function="minimize" state="normal" draw_ops="buttontrough_min_inactive"/> |
|
362 |
<button function="minimize" state="prelight" draw_ops="buttontrough_min_inactive_prelight"/> |
|
363 |
<button function="minimize" state="pressed" draw_ops="buttontrough_min_inactive"/> |
|
364 |
<button function="maximize" state="normal" draw_ops="buttontrough_max_inactive"/> |
|
365 |
<button function="maximize" state="prelight" draw_ops="buttontrough_max_inactive_prelight"/> |
|
366 |
<button function="maximize" state="pressed" draw_ops="buttontrough_max_inactive"/> |
|
367 |
<button function="menu" state="normal" draw_ops="button_menu_inactive"/> |
|
368 |
<button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/> |
|
369 |
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/> |
|
370 |
</frame_style>
|
|
371 |
||
372 |
<frame_style name="frame_style_maximized_focused" geometry="frame_geometry_abnormal"> |
|
373 |
<piece position="title" draw_ops="draw_title_text_normal"/> |
|
374 |
<piece position="titlebar" draw_ops="draw_title_maximized"/> |
|
375 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
376 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
377 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
378 |
<button function="close" state="normal" draw_ops="buttontrough_close_normal"/> |
|
379 |
<button function="close" state="prelight" draw_ops="buttontrough_close_prelight"/> |
|
380 |
<button function="close" state="pressed" draw_ops="buttontrough_close_pressed"/> |
|
381 |
<button function="minimize" state="normal" draw_ops="buttontrough_min_normal"/> |
|
382 |
<button function="minimize" state="prelight" draw_ops="buttontrough_min_prelight"/> |
|
383 |
<button function="minimize" state="pressed" draw_ops="buttontrough_min_pressed"/> |
|
384 |
<button function="maximize" state="normal" draw_ops="buttontrough_max_restore"/> |
|
385 |
<button function="maximize" state="prelight" draw_ops="buttontrough_max_restore_prelight"/> |
|
386 |
<button function="maximize" state="pressed" draw_ops="buttontrough_max_restore"/> |
|
387 |
<button function="menu" state="normal" draw_ops="button_menu_normal"/> |
|
388 |
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/> |
|
389 |
<button function="menu" state="pressed" draw_ops="button_menu_normal"/> |
|
390 |
</frame_style>
|
|
391 |
||
392 |
<frame_style name="frame_style_maximized_unfocused" geometry="frame_geometry_abnormal"> |
|
393 |
<piece position="title" draw_ops="draw_title_text_inactive"/> |
|
394 |
<piece position="titlebar" draw_ops="draw_title_maximized_inactive"/> |
|
395 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
396 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
397 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
398 |
<button function="close" state="normal" draw_ops="buttontrough_close_inactive"/> |
|
|
6
by James Schriver
Ambiance/Radiance: metacity fix frame_style_maximized close and minimize unfocused prelight |
399 |
<button function="close" state="prelight" draw_ops="buttontrough_close_inactive_prelight"/> |
|
1
by Sebastien Bacher, Kenneth Wimer, Martin Pitt
* Initial Ubuntu Upload |
400 |
<button function="close" state="pressed" draw_ops="buttontrough_close_inactive"/> |
401 |
<button function="minimize" state="normal" draw_ops="buttontrough_min_inactive"/> |
|
|
6
by James Schriver
Ambiance/Radiance: metacity fix frame_style_maximized close and minimize unfocused prelight |
402 |
<button function="minimize" state="prelight" draw_ops="buttontrough_min_inactive_prelight"/> |
|
1
by Sebastien Bacher, Kenneth Wimer, Martin Pitt
* Initial Ubuntu Upload |
403 |
<button function="minimize" state="pressed" draw_ops="buttontrough_min_inactive"/> |
404 |
<button function="maximize" state="normal" draw_ops="buttontrough_max_restore_inactive"/> |
|
|
6
by James Schriver
Ambiance/Radiance: metacity fix frame_style_maximized close and minimize unfocused prelight |
405 |
<button function="maximize" state="prelight" draw_ops="buttontrough_max_restore_inactive_prelight"/> |
|
1
by Sebastien Bacher, Kenneth Wimer, Martin Pitt
* Initial Ubuntu Upload |
406 |
<button function="maximize" state="pressed" draw_ops="buttontrough_max_restore"/> |
407 |
<button function="menu" state="normal" draw_ops="button_menu_inactive"/> |
|
408 |
<button function="menu" state="prelight" draw_ops="button_menu_inactive"/> |
|
409 |
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/> |
|
410 |
</frame_style>
|
|
411 |
||
412 |
<frame_style name="frame_style_normal_focused2" geometry="frame_geometry_normal"> |
|
413 |
<piece position="title" draw_ops="draw_title_text_normal"/> |
|
414 |
<piece position="titlebar" draw_ops="draw_title"/> |
|
415 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
416 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
417 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
418 |
<button function="close" state="normal" draw_ops="button_close_normal"/> |
|
419 |
<button function="close" state="prelight" draw_ops="button_close_prelight"/> |
|
420 |
<button function="close" state="pressed" draw_ops="button_close_pressed"/> |
|
421 |
<button function="minimize" state="normal" draw_ops="button_min_normal"/> |
|
422 |
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/> |
|
423 |
<button function="minimize" state="pressed" draw_ops="button_min_pressed"/> |
|
424 |
<button function="maximize" state="normal" draw_ops="button_max_normal"/> |
|
425 |
<button function="maximize" state="prelight" draw_ops="button_max_prelight"/> |
|
426 |
<button function="maximize" state="pressed" draw_ops="button_max_pressed"/> |
|
427 |
<button function="menu" state="normal" draw_ops="button_menu_normal"/> |
|
428 |
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/> |
|
429 |
<button function="menu" state="pressed" draw_ops="button_menu_pressed"/> |
|
430 |
</frame_style>
|
|
431 |
||
432 |
<frame_style name="frame_style_normal_unfocused2" geometry="frame_geometry_normal"> |
|
433 |
<piece position="title" draw_ops="draw_title_text_inactive"/> |
|
434 |
<piece position="titlebar" draw_ops="draw_title_inactive"/> |
|
435 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
436 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
437 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
438 |
<button function="close" state="normal" draw_ops="button_close_inactive"/> |
|
439 |
<button function="close" state="prelight" draw_ops="button_close_inactive_prelight"/> |
|
440 |
<button function="close" state="pressed" draw_ops="button_close_inactive"/> |
|
441 |
<button function="minimize" state="normal" draw_ops="button_min_inactive"/> |
|
442 |
<button function="minimize" state="prelight" draw_ops="button_min_inactive_prelight"/> |
|
443 |
<button function="minimize" state="pressed" draw_ops="button_min_inactive"/> |
|
444 |
<button function="maximize" state="normal" draw_ops="button_max_inactive"/> |
|
445 |
<button function="maximize" state="prelight" draw_ops="button_max_inactive_prelight"/> |
|
446 |
<button function="maximize" state="pressed" draw_ops="button_max_inactive"/> |
|
447 |
<button function="menu" state="normal" draw_ops="button_menu_inactive"/> |
|
448 |
<button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/> |
|
449 |
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/> |
|
450 |
</frame_style>
|
|
451 |
||
452 |
<frame_style name="frame_style_maximized_focused2" geometry="frame_geometry_abnormal"> |
|
453 |
<piece position="title" draw_ops="draw_title_text_normal"/> |
|
454 |
<piece position="titlebar" draw_ops="draw_title_maximized"/> |
|
455 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
456 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
457 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
458 |
<button function="close" state="normal" draw_ops="button_close_normal"/> |
|
459 |
<button function="close" state="prelight" draw_ops="button_close_prelight"/> |
|
460 |
<button function="close" state="pressed" draw_ops="button_close_pressed"/> |
|
461 |
<button function="minimize" state="normal" draw_ops="button_min_normal"/> |
|
462 |
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/> |
|
463 |
<button function="minimize" state="pressed" draw_ops="button_min_pressed"/> |
|
464 |
<button function="maximize" state="normal" draw_ops="button_max_restore"/> |
|
465 |
<button function="maximize" state="prelight" draw_ops="button_max_restore_prelight"/> |
|
466 |
<button function="maximize" state="pressed" draw_ops="button_max_restore"/> |
|
467 |
<button function="menu" state="normal" draw_ops="button_menu_normal"/> |
|
468 |
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/> |
|
469 |
<button function="menu" state="pressed" draw_ops="button_menu_normal"/> |
|
470 |
</frame_style>
|
|
471 |
||
472 |
<frame_style name="frame_style_maximized_unfocused2" geometry="frame_geometry_abnormal"> |
|
473 |
<piece position="title" draw_ops="draw_title_text_inactive"/> |
|
474 |
<piece position="titlebar" draw_ops="draw_title_maximized_inactive"/> |
|
475 |
<piece position="left_edge" draw_ops="draw_frame"/> |
|
476 |
<piece position="right_edge" draw_ops="draw_frame"/> |
|
477 |
<piece position="bottom_edge" draw_ops="bottom_edge"/> |
|
478 |
<button function="close" state="normal" draw_ops="button_close_inactive"/> |
|
479 |
<button function="close" state="prelight" draw_ops="button_close_prelight"/> |
|
480 |
<button function="close" state="pressed" draw_ops="button_close_inactive"/> |
|
481 |
<button function="minimize" state="normal" draw_ops="button_min_inactive"/> |
|
482 |
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/> |
|
483 |
<button function="minimize" state="pressed" draw_ops="button_min_inactive"/> |
|
484 |
<button function="maximize" state="normal" draw_ops="button_max_restore"/> |
|
485 |
<button function="maximize" state="prelight" draw_ops="button_max_restore_prelight"/> |
|
486 |
<button function="maximize" state="pressed" draw_ops="button_max_restore"/> |
|
487 |
<button function="menu" state="normal" draw_ops="button_menu_inactive"/> |
|
488 |
<button function="menu" state="prelight" draw_ops="button_menu_inactive"/> |
|
489 |
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/> |
|
490 |
</frame_style>
|
|
491 |
||
492 |
<frame_style_set name="frame_style_set_normal"> |
|
493 |
<frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused"/> |
|
494 |
<frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused"/> |
|
495 |
<frame focus="yes" state="maximized" style="frame_style_maximized_focused"/> |
|
496 |
<frame focus="no" state="maximized" style="frame_style_maximized_unfocused"/> |
|
497 |
<frame focus="yes" state="shaded" style="frame_style_normal_focused"/> |
|
498 |
<frame focus="no" state="shaded" style="frame_style_normal_unfocused"/> |
|
499 |
<frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused"/> |
|
500 |
<frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused"/> |
|
501 |
</frame_style_set>
|
|
502 |
||
503 |
<frame_style_set name="frame_style_set_other"> |
|
504 |
<frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused2"/> |
|
505 |
<frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused2"/> |
|
506 |
<frame focus="yes" state="maximized" style="frame_style_maximized_focused2"/> |
|
507 |
<frame focus="no" state="maximized" style="frame_style_maximized_unfocused2"/> |
|
508 |
<frame focus="yes" state="shaded" style="frame_style_normal_focused2"/> |
|
509 |
<frame focus="no" state="shaded" style="frame_style_normal_unfocused2"/> |
|
510 |
<frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused2"/> |
|
511 |
<frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused2"/> |
|
512 |
</frame_style_set>
|
|
513 |
||
514 |
<window type="normal" style_set="frame_style_set_normal"/> |
|
515 |
<window type="dialog" style_set="frame_style_set_other"/> |
|
516 |
<window type="modal_dialog" style_set="frame_style_set_other"/> |
|
517 |
<window type="menu" style_set="frame_style_set_other"/> |
|
518 |
<window type="utility" style_set="frame_style_set_other"/> |
|
519 |
<window type="border" style_set="frame_style_set_other"/> |
|
520 |
||
521 |
<menu_icon function="close" state="normal" draw_ops="button_close_normal"/> |
|
522 |
<menu_icon function="maximize" state="normal" draw_ops="button_max_normal"/> |
|
523 |
<menu_icon function="unmaximize" state="normal" draw_ops="button_max_normal"/> |
|
524 |
<menu_icon function="minimize" state="normal" draw_ops="button_min_normal"/> |
|
525 |
||
526 |
||
527 |
</metacity_theme>
|