vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/
4 ..\..\..\FrameXML\UI.xsd">
5  
6 <Frame name="PowaListLigneTemplate" virtual="true">
7 <Size>
8 <AbsDimension x="200" y="25"/>
9 </Size>
10 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="" tile="true">
11 <EdgeSize>
12 <AbsValue val="12"/>
13 </EdgeSize>
14 <TileSize>
15 <AbsValue val="8"/>
16 </TileSize>
17 <BackgroundInsets>
18 <AbsInset left="2" right="2" top="2" bottom="2"/>
19 </BackgroundInsets>
20 </Backdrop>
21 <Layers>
22 <Layer>
23 -- layer : texte de la ligne
24 <FontString name="$parent_text" inherits="GameFontHighlightSmall" text="Buff numero 1">
25 <Anchors>
26 <Anchor point="LEFT">
27 <Offset>
28 <AbsDimension x="10" y="0"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </FontString>
33 </Layer>
34 </Layers>
35 <Frames>
36 -- frames : boutons
37 <Button name="$parent_buttondelete">
38 <Size>
39 <AbsDimension x="30" y="30"/>
40 </Size>
41 <Anchors>
42 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT">
43 <Offset>
44 <AbsDimension x="0" y="-1"/>
45 </Offset>
46 </Anchor>
47 </Anchors>
48 <Scripts>
49 <OnClick>
50 Powa_ListeDeleteEffect(this);
51 PlaySound("igMainMenuOptionCheckBoxOff");
52 </OnClick>
53 <OnEnter>
54 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
55 GameTooltip:SetText(PowaText.listdelete, nil, nil, nil, nil, 1);
56 </OnEnter>
57 <OnLeave>
58 GameTooltip:Hide();
59 </OnLeave>
60 </Scripts>
61 <NormalTexture file="Interface\Buttons\CancelButton-Up"/>
62 <PushedTexture file="Interface\Buttons\CancelButton-Down"/>
63 <HighlightTexture file="Interface\Buttons\CancelButton-Highlight" alphaMode="ADD"/>
64 </Button>
65 <Button name="$parent_buttonload">
66 <Size>
67 <AbsDimension x="25" y="25"/>
68 </Size>
69 <Anchors>
70 <Anchor point="RIGHT" relativeTo="$parent_buttondelete" relativePoint="LEFT">
71 <Offset>
72 <AbsDimension x="5" y="1"/>
73 </Offset>
74 </Anchor>
75 </Anchors>
76 <Scripts>
77 <OnClick>
78 Powa_ListeLoadEffect(this);
79 PlaySound("igMainMenuOptionCheckBoxOff");
80 </OnClick>
81 <OnEnter>
82 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
83 GameTooltip:SetText(PowaText.listload, nil, nil, nil, nil, 1);
84 </OnEnter>
85 <OnLeave>
86 GameTooltip:Hide();
87 </OnLeave>
88 </Scripts>
89 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
90 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
91 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
92 </Button>
93 <Button name="$parent_buttontest" inherits="OptionsButtonTemplate" text="Test">
94 <Size>
95 <AbsDimension x="40" y="20"/>
96 </Size>
97 <Anchors>
98 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
99 <Offset>
100 <AbsDimension x="0" y="0"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 <Scripts>
105 <OnClick>
106 Powa_ListeTestEffect(this);
107 PlaySound("igMainMenuOptionCheckBoxOff");
108 </OnClick>
109 </Scripts>
110 </Button>
111 </Frames>
112 <Scripts>
113 <OnLoad>
114 this:SetBackdropColor(0.0, 0.0, 0.0);
115 </OnLoad>
116 </Scripts>
117 </Frame> -- fin de ligne
118  
119 -- ------------------------------------------------------------------------------------------------------------------------------------
120  
121 <Frame name="PowaListFrame" movable="true" parent="UIParent" frameStrata="HIGH" hidden="true" enableMouse="true" enableKeyboard="true">
122 <Size>
123 <AbsDimension x="320" y="410" /> -- y=400 si AddAll
124 </Size>
125 <Anchors>
126 <Anchor point="TOPLEFT" relativeTo="PowaBarConfigFrame" relativePoint="TOPRIGHT">
127 <Offset>
128 <AbsDimension x="0" y="0" />
129 </Offset>
130 </Anchor>
131 </Anchors>
132 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
133 <BackgroundInsets>
134 <AbsInset left="11" right="12" top="12" bottom="11" />
135 </BackgroundInsets>
136 <TileSize>
137 <AbsValue val="32" />
138 </TileSize>
139 <EdgeSize>
140 <AbsValue val="32" />
141 </EdgeSize>
142 </Backdrop>
143 <Scripts>
144 <OnMouseDown>
145 PowaBar_MouseDown( arg1, "PowaListFrame" );
146 </OnMouseDown>
147 <OnMouseUp>
148 PowaBar_MouseUp( arg1, "PowaListFrame" );
149 </OnMouseUp>
150 </Scripts>
151 <Layers>
152 <Layer>
153 <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
154 <Size>
155 <AbsDimension x="180" y="32" />
156 </Size>
157 <Anchors>
158 <Anchor point="TOP">
159 <Offset>
160 <AbsDimension x="0" y="8" />
161 </Offset>
162 </Anchor>
163 </Anchors>
164 <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
165 </Texture>
166 -- TITRE
167 <FontString name="PowaHeaderList" inherits="GameFontNormalSmall" text="Buff/Debuff Liste">
168 <Size>
169 <AbsDimension x="140" y="0" />
170 </Size>
171 <Anchors>
172 <Anchor point="TOP">
173 <Offset>
174 <AbsDimension x="0" y="-4" />
175 </Offset>
176 </Anchor>
177 </Anchors>
178 <FontHeight>
179 <AbsValue val="14" />
180 </FontHeight>
181 </FontString>
182 -- aide
183 <FontString name="PowaHelpList" inherits="GameFontNormalSmall" text="Texte">
184 <Size>
185 <AbsDimension x="260" y="30" />
186 </Size>
187 <Anchors>
188 <Anchor point="TOP">
189 <Offset>
190 <AbsDimension x="0" y="-335" />
191 </Offset>
192 </Anchor>
193 </Anchors>
194 <FontHeight>
195 <AbsValue val="14" />
196 </FontHeight>
197 </FontString>
198 <FontString name="PowaListPage" inherits="GameFontNormal" text="Page 1/10">
199 <Size>
200 <AbsDimension x="140" y="0" />
201 </Size>
202 <Anchors>
203 <Anchor point="TOP">
204 <Offset>
205 <AbsDimension x="5" y="-313" />
206 </Offset>
207 </Anchor>
208 </Anchors>
209 <FontHeight>
210 <AbsValue val="14" />
211 </FontHeight>
212 </FontString>
213 </Layer>
214 </Layers>
215 <Frames>
216  
217 <Button name="PowaListButtonListDebuffs" inherits="OptionsButtonTemplate" text="Debuffs">
218 <Anchors>
219 <Anchor point="TOP" relativeTo="PowaListFrame" relativePoint="TOP">
220 <Offset>
221 <AbsDimension x="0" y="-30"/>
222 </Offset>
223 </Anchor>
224 </Anchors>
225 <Scripts>
226 <OnClick>
227 Powa_ListChangeType("Debuff");
228 </OnClick>
229 </Scripts>
230 </Button>
231 <Button name="PowaListButtonListBuffs" inherits="OptionsButtonTemplate" text="Buffs">
232 <Anchors>
233 <Anchor point="RIGHT" relativeTo="PowaListButtonListDebuffs" relativePoint="LEFT">
234 <Offset>
235 <AbsDimension x="-5" y="0"/>
236 </Offset>
237 </Anchor>
238 </Anchors>
239 <Scripts>
240 <OnClick>
241 Powa_ListChangeType("Buff");
242 </OnClick>
243 </Scripts>
244 </Button>
245 <Button name="PowaListButtonListDebuffType" inherits="OptionsButtonTemplate" text="Debuff Type">
246 <Anchors>
247 <Anchor point="LEFT" relativeTo="PowaListButtonListDebuffs" relativePoint="RIGHT">
248 <Offset>
249 <AbsDimension x="5" y="0"/>
250 </Offset>
251 </Anchor>
252 </Anchors>
253 <Scripts>
254 <OnClick>
255 Powa_ListChangeType("DebuffType");
256 </OnClick>
257 </Scripts>
258 </Button>
259  
260 -- ligne 1
261 <Frame name="PowaListLigne1" inherits="PowaListLigneTemplate" id="1">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="PowaListFrame" relativePoint="TOPLEFT">
264 <Offset>
265 <AbsDimension x="65" y="-55"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </Frame>
270 <Frame name="PowaListLigne2" inherits="PowaListLigneTemplate" id="2">
271 <Anchors>
272 <Anchor point="TOP" relativeTo="PowaListLigne1" relativePoint="BOTTOM">
273 <Offset>
274 <AbsDimension x="0" y="0"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </Frame>
279 <Frame name="PowaListLigne3" inherits="PowaListLigneTemplate" id="3">
280 <Anchors>
281 <Anchor point="TOP" relativeTo="PowaListLigne2" relativePoint="BOTTOM">
282 <Offset>
283 <AbsDimension x="0" y="0"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </Frame>
288 <Frame name="PowaListLigne4" inherits="PowaListLigneTemplate" id="4">
289 <Anchors>
290 <Anchor point="TOP" relativeTo="PowaListLigne3" relativePoint="BOTTOM">
291 <Offset>
292 <AbsDimension x="0" y="0"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </Frame>
297 <Frame name="PowaListLigne5" inherits="PowaListLigneTemplate" id="5">
298 <Anchors>
299 <Anchor point="TOP" relativeTo="PowaListLigne4" relativePoint="BOTTOM">
300 <Offset>
301 <AbsDimension x="0" y="0"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </Frame>
306 <Frame name="PowaListLigne6" inherits="PowaListLigneTemplate" id="6">
307 <Anchors>
308 <Anchor point="TOP" relativeTo="PowaListLigne5" relativePoint="BOTTOM">
309 <Offset>
310 <AbsDimension x="0" y="0"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </Frame>
315 <Frame name="PowaListLigne7" inherits="PowaListLigneTemplate" id="7">
316 <Anchors>
317 <Anchor point="TOP" relativeTo="PowaListLigne6" relativePoint="BOTTOM">
318 <Offset>
319 <AbsDimension x="0" y="0"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </Frame>
324 <Frame name="PowaListLigne8" inherits="PowaListLigneTemplate" id="8">
325 <Anchors>
326 <Anchor point="TOP" relativeTo="PowaListLigne7" relativePoint="BOTTOM">
327 <Offset>
328 <AbsDimension x="0" y="0"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 </Frame>
333 <Frame name="PowaListLigne9" inherits="PowaListLigneTemplate" id="9">
334 <Anchors>
335 <Anchor point="TOP" relativeTo="PowaListLigne8" relativePoint="BOTTOM">
336 <Offset>
337 <AbsDimension x="0" y="0"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 </Frame>
342 <Frame name="PowaListLigne10" inherits="PowaListLigneTemplate" id="10">
343 <Anchors>
344 <Anchor point="TOP" relativeTo="PowaListLigne9" relativePoint="BOTTOM">
345 <Offset>
346 <AbsDimension x="0" y="0"/>
347 </Offset>
348 </Anchor>
349 </Anchors>
350 </Frame>
351 -- bouton ajouter
352 <Button name="PowaListButtonSave" inherits="OptionsButtonTemplate" text=">> Ajouter">
353 <Anchors>
354 <Anchor point="BOTTOMLEFT" relativeTo="PowaListFrame" relativePoint="BOTTOMLEFT">
355 <Offset>
356 <AbsDimension x="15" y="15"/> -- y=40 si AddAll
357 </Offset>
358 </Anchor>
359 </Anchors>
360 <Scripts>
361 <OnClick>
362 Powa_SaveEffect();
363 </OnClick>
364 <OnEnter>
365 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
366 GameTooltip:SetText(PowaText.listaideadd, nil, nil, nil, nil, 1);
367 </OnEnter>
368 <OnLeave>
369 GameTooltip:Hide();
370 </OnLeave>
371 </Scripts>
372 </Button>
373 -- bouton ajouter tout
374 <Button name="PowaListButtonSaveAll" inherits="OptionsButtonTemplate" text=">> Ajouter Tout">
375 <Size>
376 <AbsDimension x="120" y="20"/>
377 </Size>
378 <Anchors>
379 <Anchor point="BOTTOMLEFT" relativeTo="PowaListFrame" relativePoint="BOTTOMLEFT">
380 <Offset>
381 <AbsDimension x="15" y="15"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 <Scripts>
386 <OnClick>
387  
388 </OnClick>
389 <OnEnter>
390 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
391 GameTooltip:SetText(PowaText.listaideaddall, nil, nil, nil, nil, 1);
392 </OnEnter>
393 <OnLeave>
394 GameTooltip:Hide();
395 </OnLeave>
396 </Scripts>
397 </Button>
398 -- bouton fermer
399 <Button name="PowaListButtonClose" inherits="OptionsButtonTemplate" text="Fermer">
400 <Anchors>
401 <Anchor point="BOTTOMRIGHT" relativeTo="PowaListFrame" relativePoint="BOTTOMRIGHT">
402 <Offset>
403 <AbsDimension x="-15" y="15"/>
404 </Offset>
405 </Anchor>
406 </Anchors>
407 <Scripts>
408 <OnLoad>
409 this:SetText(PowaText.nomClose);
410 getglobal("PowaListButtonSaveAll"):SetText(PowaText.listaddall);
411 getglobal("PowaListButtonSaveAll"):Hide();
412 getglobal("PowaListButtonSave"):SetText(PowaText.listadd);
413 getglobal("PowaHeaderList"):SetText(PowaText.listheader);
414 </OnLoad>
415 <OnClick>
416 Powa_ShowList();
417 </OnClick>
418 </Scripts>
419 </Button>
420 -- fleche pages next
421 <Button name="powa_listnext">
422 <Size>
423 <AbsDimension x="30" y="30"/>
424 </Size>
425 <Anchors>
426 <Anchor point="TOPRIGHT" relativeTo="PowaListLigne10" relativePoint="TOPRIGHT">
427 <Offset>
428 <AbsDimension x="-20" y="-25"/>
429 </Offset>
430 </Anchor>
431 </Anchors>
432 <Scripts>
433 <OnClick>
434 Powa_ChangeListNext()
435 PlaySound("igMainMenuOptionCheckBoxOff");
436 </OnClick>
437 </Scripts>
438 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
439 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
440 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
441 </Button>
442 -- fleche pages prev
443 <Button name="powa_listprevious">
444 <Size>
445 <AbsDimension x="30" y="30"/>
446 </Size>
447 <Anchors>
448 <Anchor point="TOPLEFT" relativeTo="PowaListLigne10" relativePoint="TOPLEFT">
449 <Offset>
450 <AbsDimension x="20" y="-25"/>
451 </Offset>
452 </Anchor>
453 </Anchors>
454 <Scripts>
455 <OnClick>
456 Powa_ChangeListPrev()
457 PlaySound("igMainMenuOptionCheckBoxOff");
458 </OnClick>
459 </Scripts>
460 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
461 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
462 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
463 </Button>
464 -- fin lignes
465 </Frames>
466 </Frame> -- fin de la fenetre
467  
468 -- ------------------------------------------------------------------------------------------------------------------------------------
469  
470 </Ui>