source: trunk/gnome-theme-xp/files/XPLuna/metacity-1/metacity-theme-1.xml @ 157

Last change on this file since 157 was 157, checked in by sebas, 15 years ago

importacion initial - gracias al trabajo de PhrankDaChicken?

File size: 14.5 KB
Line 
1<?xml version="1.0"?>
2<metacity_theme>
3<info>
4  <name>Lunacity Blue</name>
5  <author>Cuvou.com</author>
6  <copyright>2007 Casey Kirsle</copyright>
7  <date>Sept 4, 2007</date>
8  <description>A true Windows XP experience.</description>
9</info>
10
11<constant name="IconTitleSpacing" value="0"/>
12
13<frame_geometry name="normal"  rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
14  <distance name="left_width" value="4"/>
15  <distance name="right_width" value="4"/>
16  <distance name="bottom_height" value="4"/>
17  <distance name="left_titlebar_edge" value="1"/>
18  <distance name="right_titlebar_edge" value="5"/>
19  <distance name="button_width" value="21"/>
20  <distance name="button_height" value="21"/>
21  <distance name="title_vertical_pad" value="12"/>
22  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
23  <border name="button_border" left="3" right="0" top="0" bottom="0"/>
24</frame_geometry>
25
26<frame_geometry name="maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
27  <distance name="left_width" value="0"/>
28  <distance name="right_width" value="0"/>
29  <distance name="bottom_height" value="0"/>
30  <distance name="left_titlebar_edge" value="0"/>
31  <distance name="right_titlebar_edge" value="0"/>
32  <distance name="button_width" value="21"/>
33  <distance name="button_height" value="21"/>
34  <distance name="title_vertical_pad" value="12"/>
35  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
36  <border name="button_border" left="0" right="3" top="0" bottom="0"/>
37</frame_geometry>
38
39<frame_geometry name="border" parent="normal" has_title="false">
40  <distance name="button_width" value="0"/>
41  <distance name="button_height" value="24"/>
42  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
43  <border name="button_border" left="0" right="0" top="0" bottom="0"/>
44</frame_geometry>
45
46<draw_ops name="title-text-focused">
47<title color="#060606" x="6" y="(height - title_height) / 2 + 1"/>
48<title color="#ffffff" x="5" y="(height - title_height) / 2"/>
49</draw_ops>
50
51<draw_ops name="title-text-unfocused">
52<title color="#cecece" x="5" y="(height - title_height) / 2 + 1"/>
53<title color="#ffffff" x="6" y="(height - title_height) / 2"/>
54</draw_ops>
55
56<draw_ops name="blank">
57</draw_ops>
58
59<draw_ops name="title">
60  <image filename="titlebar-focused-left.png" x="0" y="0" width="object_width" height="height"/>
61  <image filename="titlebar-focused-middle.png" x="6" y="0" width="width - 6" height="height"/>
62  <image filename="titlebar-focused-right.png" x="width - object_width" y="0" width="object_width" height="height"/>
63</draw_ops>
64
65<draw_ops name="title-shaded">
66  <image filename="titlebar-focused-left.png" x="0" y="0" width="object_width" height="height"/>
67  <image filename="titlebar-focused-middle.png" x="6" y="0" width="width - 6" height="height"/>
68  <image filename="titlebar-focused-right.png" x="width - object_width" y="0" width="object_width" height="height"/>
69</draw_ops>
70
71<draw_ops name="title-unfocused">
72  <image filename="titlebar-unfocused-left.png" x="0" y="0" width="object_width" height="height"/>
73  <image filename="titlebar-unfocused-middle.png" x="6" y="0" width="width - 6" height="height"/>
74  <image filename="titlebar-unfocused-right.png" x="width - object_width" y="0" width="object_width" height="height"/>
75</draw_ops>
76
77<draw_ops name="title-max">
78  <image filename="titlebar-focused-middle.png" x="0" y="0" width="width" height="height"/>
79</draw_ops>
80
81<draw_ops name="title-max-unfocused">
82  <image filename="titlebar-unfocused-middle.png" x="0" y="0" width="width" height="height"/>
83</draw_ops>
84
85<draw_ops name="frame-left-focused">
86  <image filename="border-focused-left.png" x="0" y="0" width="width" height="height"/>
87</draw_ops>
88
89<draw_ops name="frame-left-unfocused">
90  <image filename="border-unfocused-left.png" x="0" y="0" width="width" height="height"/>
91</draw_ops>
92
93<draw_ops name="frame-right-focused">
94  <image filename="border-focused-right.png" x="0" y="0" width="width" height="height"/>
95</draw_ops>
96
97<draw_ops name="frame-right-unfocused">
98  <image filename="border-unfocused-right.png" x="0" y="0" width="width" height="height"/>
99</draw_ops>
100
101<draw_ops name="frame-bottom-focused">
102  <image filename="border-focused-leftcorner.png" x="0" y="0" width="4" height="object_height"/>
103  <image filename="border-focused-bottom.png" x="4" y="0" width="width - 4" height="object_height"/>
104  <image filename="border-focused-rightcorner.png" x="width - object_width" y="0" width="object_width" height="object_height"/>
105</draw_ops>
106
107<draw_ops name="frame-bottom-unfocused">
108  <image filename="border-unfocused-leftcorner.png" x="0" y="0" width="4" height="object_height"/>
109  <image filename="border-unfocused-bottom.png" x="4" y="0" width="width - 4" height="object_height"/>
110  <image filename="border-unfocused-rightcorner.png" x="width - object_width" y="0" width="object_width" height="object_height"/>
111</draw_ops>
112
113<draw_ops name="button-close-focused">
114  <image filename="close-focused-active.png" x="0" y="0" width="width" height="height"/>
115</draw_ops>
116
117<draw_ops name="button-close-unfocused">
118  <image filename="close-focused-normal.png" x="0" y="0" width="width" height="height"/>
119</draw_ops>
120
121<draw_ops name="button-close-blurred">
122  <image filename="close-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
123</draw_ops>
124
125<draw_ops name="button-close-pressed">
126  <image filename="close-focused-pressed.png" x="0" y="0" width="width" height="height"/>
127</draw_ops>
128
129<draw_ops name="button-maximize-focused">
130  <image filename="maximize-focused-active.png" x="0" y="0" width="width" height="height"/>
131</draw_ops>
132
133<draw_ops name="button-maximize-unfocused">
134  <image filename="maximize-focused-normal.png" x="0" y="0" width="width" height="height"/>
135</draw_ops>
136
137<draw_ops name="button-maximize-blurred">
138  <image filename="maximize-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
139</draw_ops>
140
141<draw_ops name="button-maximize-pressed">
142  <image filename="maximize-focused-pressed.png" x="0"  y="0" width="width" height="height"/>
143</draw_ops>
144
145<draw_ops name="button-restore-focused">
146  <image filename="restore-focused-active.png" x="0" y="0" width="width" height="height"/>
147</draw_ops>
148
149<draw_ops name="button-restore-unfocused">
150  <image filename="restore-focused-normal.png" x="0" y="0" width="width" height="height"/>
151</draw_ops>
152
153<draw_ops name="button-restore-blurred">
154  <image filename="restore-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
155</draw_ops>
156
157<draw_ops name="button-restore-pressed">
158  <image filename="restore-focused-pressed.png" x="0"  y="0" width="width" height="height"/>
159</draw_ops>
160
161<draw_ops name="button-minimize-focused">
162  <image filename="minimize-focused-active.png" x="0" y="0" width="width" height="height"/>
163</draw_ops>
164
165<draw_ops name="button-minimize-unfocused">
166  <image filename="minimize-focused-normal.png" x="0" y="0" width="width" height="height"/>
167</draw_ops>
168
169<draw_ops name="button-minimize-blurred">
170  <image filename="minimize-unfocused-normal.png" x="0" y="0" width="width" height="height"/>
171</draw_ops>
172
173<draw_ops name="button-minimize-pressed">
174  <image filename="minimize-focused-pressed.png" x="0" y="0" width="width" height="height"/>
175</draw_ops>
176
177<draw_ops name="menu_button_icon"> 
178  <!--<icon  x="0"
179         y="0"
180         width="width" height="height"/>-->
181  <icon  x="(width-mini_icon_width)/2"
182         y="(height-mini_icon_height)/2"
183         width="mini_icon_width" height="mini_icon_height"/>
184</draw_ops>
185
186<draw_ops name="menu_button_icon_unfocused"> 
187  <!--<icon  x="0"
188         y="0"
189         width="width" height="height" alpha="0.5"/>-->
190
191  <icon  x="(width-mini_icon_width)/2"
192         y="(height-mini_icon_height)/2"
193         width="mini_icon_width" height="mini_icon_height"/>
194</draw_ops>
195
196<draw_ops name="menu_button_normal">
197  <include name="menu_button_icon"/>
198</draw_ops>
199<draw_ops name="menu_button_pressed">
200  <include name="menu_button_icon"/>
201</draw_ops>
202<draw_ops name="menu_button_unfocused">
203  <include name="menu_button_icon_unfocused"/>
204</draw_ops>
205
206
207
208<frame_style name="normal-focused" geometry="normal">
209  <piece position="titlebar" draw_ops="title"/>
210  <piece position="left_edge" draw_ops="frame-left-focused"/>
211  <piece position="right_edge" draw_ops="frame-right-focused"/>
212  <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
213  <piece position="title" draw_ops="title-text-focused"/>
214  <button function="close" state="normal" draw_ops="button-close-unfocused"/>
215  <button function="close" state="prelight" draw_ops="button-close-focused"/>
216  <button function="close" state="pressed" draw_ops="button-close-pressed"/>
217
218  <button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
219  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
220  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
221
222  <button function="maximize" state="normal" draw_ops="button-maximize-unfocused"/>
223  <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
224  <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
225
226  <button function="menu" state="normal" draw_ops="menu_button_normal"/>
227  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
228</frame_style>
229
230<frame_style name="normal-unfocused" geometry="normal">
231  <piece position="titlebar" draw_ops="title-unfocused"/>
232  <piece position="left_edge" draw_ops="frame-left-unfocused"/>
233  <piece position="right_edge" draw_ops="frame-right-unfocused"/>
234  <piece position="bottom_edge" draw_ops="frame-bottom-unfocused"/>
235  <piece position="title" draw_ops="title-text-unfocused"/>
236
237  <button function="close" state="normal" draw_ops="button-close-blurred"/>
238  <button function="close" state="prelight" draw_ops="button-close-focused"/>
239  <button function="close" state="pressed" draw_ops="button-close-pressed"/>
240
241  <button function="minimize" state="normal" draw_ops="button-minimize-blurred"/>
242  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
243  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
244
245  <button function="maximize" state="normal" draw_ops="button-maximize-blurred"/>
246  <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
247  <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
248
249  <button function="menu" state="normal" draw_ops="menu_button_normal"/>
250  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
251</frame_style>
252
253<frame_style name="normal-maximized-focused" geometry="maximized">
254  <piece position="titlebar" draw_ops="title-max"/>
255  <piece position="left_edge" draw_ops="frame-left-focused"/>
256  <piece position="right_edge" draw_ops="frame-right-focused"/>
257  <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
258  <piece position="title" draw_ops="title-text-focused"/>
259  <button function="close" state="normal" draw_ops="button-close-unfocused"/>
260  <button function="close" state="prelight" draw_ops="button-close-focused"/>
261  <button function="close" state="pressed" draw_ops="button-close-pressed"/>
262
263  <button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
264  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
265  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
266
267  <button function="maximize" state="normal" draw_ops="button-restore-unfocused"/>
268  <button function="maximize" state="prelight" draw_ops="button-restore-focused"/>
269  <button function="maximize" state="pressed" draw_ops="button-restore-pressed"/>
270
271  <button function="menu" state="normal" draw_ops="menu_button_normal"/>
272  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
273</frame_style>
274
275<frame_style name="normal-maximized-unfocused" geometry="maximized">
276  <piece position="titlebar" draw_ops="title-max-unfocused"/>
277  <piece position="left_edge" draw_ops="frame-left-unfocused"/>
278  <piece position="right_edge" draw_ops="frame-right-unfocused"/>
279  <piece position="bottom_edge" draw_ops="frame-bottom-unfocused"/>
280  <piece position="title" draw_ops="title-text-unfocused"/>
281
282  <button function="close" state="normal" draw_ops="button-close-blurred"/>
283  <button function="close" state="prelight" draw_ops="button-close-focused"/>
284  <button function="close" state="pressed" draw_ops="button-close-pressed"/>
285
286  <button function="minimize" state="normal" draw_ops="button-minimize-blurred"/>
287  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
288  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
289
290  <button function="maximize" state="normal" draw_ops="button-restore-blurred"/>
291  <button function="maximize" state="prelight" draw_ops="button-restore-focused"/>
292  <button function="maximize" state="pressed" draw_ops="button-restore-pressed"/>
293
294  <button function="menu" state="normal" draw_ops="menu_button_normal"/>
295  <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
296</frame_style>
297
298<frame_style name="normal-shaded-focused" geometry="normal" parent="normal-focused">
299  <piece position="titlebar" draw_ops="title-shaded"/>
300</frame_style>
301
302<frame_style name="normal-shaded-unfocused" geometry="normal" parent="normal-unfocused">
303  <piece position="titlebar" draw_ops="title-shaded"/>
304</frame_style>
305
306<frame_style_set name="normal">
307  <frame focus="yes" state="normal" resize="both" style="normal-focused"/>
308  <frame focus="no" state="normal" resize="both" style="normal-unfocused"/>
309  <frame focus="yes" state="maximized" style="normal-maximized-focused"/>
310  <frame focus="no" state="maximized" style="normal-maximized-unfocused"/>
311  <frame focus="yes" state="shaded" style="normal-shaded-focused"/>
312  <frame focus="no" state="shaded" style="normal-shaded-unfocused"/>
313  <frame focus="yes" state="maximized_and_shaded" style="normal-shaded-focused"/>
314  <frame focus="no" state="maximized_and_shaded" style="normal-shaded-unfocused"/>
315</frame_style_set>
316
317<window type="normal" style_set="normal"/>
318<window type="dialog" style_set="normal"/>
319<window type="modal_dialog" style_set="normal"/>
320<window type="menu" style_set="normal"/>
321<window type="utility" style_set="normal"/>
322<window type="border" style_set="normal"/>
323
324<menu_icon function="close" state="normal" draw_ops="button-close-focused"/>
325<menu_icon function="maximize" state="normal" draw_ops="button-maximize-focused"/>
326<menu_icon function="unmaximize" state="normal" draw_ops="button-maximize-focused"/>
327<menu_icon function="minimize" state="normal" draw_ops="button-minimize-focused"/>
328</metacity_theme>
Note: See TracBrowser for help on using the repository browser.