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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="Perl_Config_Party.lua"/>
4  
5  
6 <Frame name="Perl_Config_Party_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
7 <Size>
8 <AbsDimension x="600" y="380"/>
9 </Size>
10 <Anchors>
11 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
12 <Offset>
13 <AbsDimension x="0" y="-120"/>
14 </Offset>
15 </Anchor>
16 </Anchors>
17 <!--
18 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
19 <TileSize>
20 <AbsValue val="32"/>
21 </TileSize>
22 <EdgeSize>
23 <AbsValue val="32"/>
24 </EdgeSize>
25 <BackgroundInsets>
26 <AbsInset left="11" right="12" top="12" bottom="11"/>
27 </BackgroundInsets>
28 </Backdrop>
29  
30 <Scripts>
31 <OnLoad>
32 Perl_Config_Party_Set_Values();
33 </OnLoad>
34 </Scripts>-->
35 <Layers>
36 <Layer level="ARTWORK">
37 <Texture name="Perl_Config_Party_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
38 <Size>
39 <AbsDimension x="256" y="64"/>
40 </Size>
41 <Anchors>
42 <Anchor point="TOP">
43 <Offset>
44 <AbsDimension x="0" y="12"/>
45 </Offset>
46 </Anchor>
47 </Anchors>
48 </Texture>
49 <FontString inherits="GameFontNormal" text="Party">
50 <Anchors>
51 <Anchor point="TOP" relativeTo="Perl_Config_Party_Header">
52 <Offset>
53 <AbsDimension x="0" y="-14"/>
54 </Offset>
55 </Anchor>
56 </Anchors>
57 </FontString>
58  
59 <FontString name="$parent_Space_Text" inherits="GameFontNormal" text="Spacing (80 is default)">
60 <Anchors>
61 <Anchor point="LEFT" relativePoint="TOPLEFT">
62 <Offset>
63 <AbsDimension x="20" y="-270"/>
64 </Offset>
65 </Anchor>
66 </Anchors>
67 </FontString>
68  
69 <FontString name="$parent_Display_Mode_Text" inherits="GameFontNormal" text="Display Mode">
70 <Anchors>
71 <Anchor point="LEFT" relativePoint="TOPLEFT">
72 <Offset>
73 <AbsDimension x="20" y="-30"/>
74 </Offset>
75 </Anchor>
76 </Anchors>
77 </FontString>
78  
79 <FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="Misc">
80 <Anchors>
81 <Anchor point="LEFT" relativePoint="TOPLEFT">
82 <Offset>
83 <AbsDimension x="20" y="-120"/>
84 </Offset>
85 </Anchor>
86 </Anchors>
87 </FontString>
88  
89 <FontString name="$parent_Misc2_Text" inherits="GameFontNormal" text=" ">
90 <Anchors>
91 <Anchor point="LEFT" relativePoint="TOPLEFT">
92 <Offset>
93 <AbsDimension x="230" y="-120"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 </FontString>
98  
99 <FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="Transparency">
100 <Anchors>
101 <Anchor point="LEFT" relativePoint="TOPLEFT">
102 <Offset>
103 <AbsDimension x="350" y="-30"/>
104 </Offset>
105 </Anchor>
106 </Anchors>
107 </FontString>
108  
109 <FontString name="$parent_Buff_Location_Text" inherits="GameFontNormal" text="Buff Location">
110 <Anchors>
111 <Anchor point="LEFT" relativePoint="TOPLEFT">
112 <Offset>
113 <AbsDimension x="400" y="-90"/>
114 </Offset>
115 </Anchor>
116 </Anchors>
117 </FontString>
118  
119 <FontString name="$parent_Debuff_Location_Text" inherits="GameFontNormal" text="Debuff Location">
120 <Anchors>
121 <Anchor point="LEFT" relativePoint="TOPLEFT">
122 <Offset>
123 <AbsDimension x="400" y="-150"/>
124 </Offset>
125 </Anchor>
126 </Anchors>
127 </FontString>
128  
129 <FontString name="$parent_Buff_Size_Text" inherits="GameFontNormal" text="Buff Size (16 is default)">
130 <Anchors>
131 <Anchor point="LEFT" relativePoint="TOPLEFT">
132 <Offset>
133 <AbsDimension x="400" y="-210"/>
134 </Offset>
135 </Anchor>
136 </Anchors>
137 </FontString>
138  
139 <FontString name="$parent_Debuff_Size_Text" inherits="GameFontNormal" text="Debuff Size (16 is default)">
140 <Anchors>
141 <Anchor point="LEFT" relativePoint="TOPLEFT">
142 <Offset>
143 <AbsDimension x="400" y="-270"/>
144 </Offset>
145 </Anchor>
146 </Anchors>
147 </FontString>
148  
149 <FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="Scaling">
150 <Anchors>
151 <Anchor point="LEFT" relativePoint="TOPLEFT">
152 <Offset>
153 <AbsDimension x="20" y="-325"/>
154 </Offset>
155 </Anchor>
156 </Anchors>
157 </FontString>
158 </Layer>
159 </Layers>
160  
161 <Frames>
162 <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
163 <Size>
164 <AbsDimension x="20" y="20"/>
165 </Size>
166 <Anchors>
167 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Display_Mode_Text">
168 <Offset>
169 <AbsDimension x="20" y="-20"/>
170 </Offset>
171 </Anchor>
172 </Anchors>
173 <Scripts>
174 <OnLoad>
175 getglobal(this:GetName().."Text"):SetText("Always Shown");
176 </OnLoad>
177 <OnClick>
178 Perl_Config_Party_Frame_CheckButton2:SetChecked(nil) <!-- We need to uncheck Button 2 -->
179 Perl_Config_Party_Frame_CheckButton3:SetChecked(nil) <!-- We need to uncheck Button 3 -->
180 Perl_Config_Party_Hidden_Update();
181 </OnClick>
182 </Scripts>
183 </CheckButton>
184  
185 <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
186 <Size>
187 <AbsDimension x="20" y="20"/>
188 </Size>
189 <Anchors>
190 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1" >
191 <Offset>
192 <AbsDimension x="0" y="-20"/>
193 </Offset>
194 </Anchor>
195 </Anchors>
196 <Scripts>
197 <OnLoad>
198 getglobal(this:GetName().."Text"):SetText("Hidden In Raids");
199 </OnLoad>
200 <OnClick>
201 Perl_Config_Party_Frame_CheckButton1:SetChecked(nil) <!-- We need to uncheck Button 1 -->
202 Perl_Config_Party_Frame_CheckButton3:SetChecked(nil) <!-- We need to uncheck Button 3 -->
203 Perl_Config_Party_Hidden_Update();
204 </OnClick>
205 </Scripts>
206 </CheckButton>
207  
208 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
209 <Size>
210 <AbsDimension x="20" y="20"/>
211 </Size>
212 <Anchors>
213 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton2">
214 <Offset>
215 <AbsDimension x="0" y="-20"/>
216 </Offset>
217 </Anchor>
218 </Anchors>
219 <Scripts>
220 <OnLoad>
221 getglobal(this:GetName().."Text"):SetText("Always Hidden");
222 </OnLoad>
223 <OnClick>
224 Perl_Config_Party_Frame_CheckButton1:SetChecked(nil) <!-- We need to uncheck Button 1 -->
225 Perl_Config_Party_Frame_CheckButton2:SetChecked(nil) <!-- We need to uncheck Button 2 -->
226 Perl_Config_Party_Hidden_Update();
227 </OnClick>
228 </Scripts>
229 </CheckButton>
230  
231 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
232 <Size>
233 <AbsDimension x="20" y="20"/>
234 </Size>
235 <Anchors>
236 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
237 <Offset>
238 <AbsDimension x="20" y="-20"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 <Scripts>
243 <OnLoad>
244 getglobal(this:GetName().."Text"):SetText("Compact Mode");
245 </OnLoad>
246 <OnClick>
247 Perl_Config_Party_Compact_Update();
248 </OnClick>
249 </Scripts>
250 </CheckButton>
251  
252 <CheckButton name="$parent_CheckButton11" inherits="UICheckButtonTemplate" id="11">
253 <Size>
254 <AbsDimension x="20" y="20"/>
255 </Size>
256 <Anchors>
257 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
258 <Offset>
259 <AbsDimension x="20" y="-20"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 <Scripts>
264 <OnLoad>
265 getglobal(this:GetName().."Text"):SetText("Display Percents");
266 </OnLoad>
267 <OnClick>
268 Perl_Config_Party_Compact_Percent_Update();
269 </OnClick>
270 </Scripts>
271 </CheckButton>
272  
273 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
274 <Size>
275 <AbsDimension x="20" y="20"/>
276 </Size>
277 <Anchors>
278 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
279 <Offset>
280 <AbsDimension x="0" y="-40"/>
281 </Offset>
282 </Anchor>
283 </Anchors>
284 <Scripts>
285 <OnLoad>
286 getglobal(this:GetName().."Text"):SetText("Healer Mode");
287 </OnLoad>
288 <OnClick>
289 Perl_Config_Party_Healer_Update();
290 </OnClick>
291 </Scripts>
292 </CheckButton>
293  
294 <CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
295 <Size>
296 <AbsDimension x="20" y="20"/>
297 </Size>
298 <Anchors>
299 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
300 <Offset>
301 <AbsDimension x="0" y="-20"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 <Scripts>
306 <OnLoad>
307 getglobal(this:GetName().."Text"):SetText("Lock Party Frames");
308 </OnLoad>
309 <OnClick>
310 Perl_Config_Party_Lock_Update();
311 </OnClick>
312 </Scripts>
313 </CheckButton>
314  
315 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
316 <Size>
317 <AbsDimension x="200" y="15"/>
318 </Size>
319 <Anchors>
320 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
321 <Offset>
322 <AbsDimension x="20" y="-20"/>
323 </Offset>
324 </Anchor>
325 </Anchors>
326 <Scripts>
327 <OnValueChanged>
328 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
329 Perl_Config_Party_Set_Scale(getglobal(this:GetName()):GetValue());
330 </OnValueChanged>
331 </Scripts>
332 </Slider>
333  
334 <CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
335 <Size>
336 <AbsDimension x="20" y="20"/>
337 </Size>
338 <Anchors>
339 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
340 <Offset>
341 <AbsDimension x="20" y="0"/>
342 </Offset>
343 </Anchor>
344 </Anchors>
345 <Scripts>
346 <OnLoad>
347 getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
348 </OnLoad>
349 <OnClick>
350 Perl_Config_Party_Set_Scale();
351 </OnClick>
352 </Scripts>
353 </CheckButton>
354  
355 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="-150" maxValue="150" valueStep="1">
356 <Size>
357 <AbsDimension x="350" y="15"/>
358 </Size>
359 <Anchors>
360 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Space_Text">
361 <Offset>
362 <AbsDimension x="20" y="-25"/>
363 </Offset>
364 </Anchor>
365 </Anchors>
366 <Scripts>
367 <OnValueChanged>
368 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
369 Perl_Config_Party_Set_Space(getglobal(this:GetName()):GetValue());
370 </OnValueChanged>
371 </Scripts>
372 </Slider>
373  
374 <Slider name="$parent_Slider3" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
375 <Size>
376 <AbsDimension x="200" y="15"/>
377 </Size>
378 <Anchors>
379 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
380 <Offset>
381 <AbsDimension x="20" y="-20"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 <Scripts>
386 <OnValueChanged>
387 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
388 Perl_Config_Party_Set_Transparency(getglobal(this:GetName()):GetValue());
389 </OnValueChanged>
390 </Scripts>
391 </Slider>
392  
393 <Slider name="$parent_Slider4" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
394 <Size>
395 <AbsDimension x="150" y="15"/>
396 </Size>
397 <Anchors>
398 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Location_Text">
399 <Offset>
400 <AbsDimension x="20" y="-25"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 <Scripts>
405 <OnValueChanged>
406 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
407 Perl_Config_Party_Set_Buff_Location(getglobal(this:GetName()):GetValue());
408 </OnValueChanged>
409 </Scripts>
410 </Slider>
411  
412 <Slider name="$parent_Slider5" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
413 <Size>
414 <AbsDimension x="150" y="15"/>
415 </Size>
416 <Anchors>
417 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Location_Text">
418 <Offset>
419 <AbsDimension x="20" y="-25"/>
420 </Offset>
421 </Anchor>
422 </Anchors>
423 <Scripts>
424 <OnValueChanged>
425 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
426 Perl_Config_Party_Set_Debuff_Location(getglobal(this:GetName()):GetValue());
427 </OnValueChanged>
428 </Scripts>
429 </Slider>
430  
431 <Slider name="$parent_Slider6" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
432 <Size>
433 <AbsDimension x="150" y="15"/>
434 </Size>
435 <Anchors>
436 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Size_Text">
437 <Offset>
438 <AbsDimension x="20" y="-25"/>
439 </Offset>
440 </Anchor>
441 </Anchors>
442 <Scripts>
443 <OnValueChanged>
444 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
445 Perl_Config_Party_Set_Buff_Size(getglobal(this:GetName()):GetValue());
446 </OnValueChanged>
447 </Scripts>
448 </Slider>
449  
450 <Slider name="$parent_Slider7" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
451 <Size>
452 <AbsDimension x="150" y="15"/>
453 </Size>
454 <Anchors>
455 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Size_Text">
456 <Offset>
457 <AbsDimension x="20" y="-25"/>
458 </Offset>
459 </Anchor>
460 </Anchors>
461 <Scripts>
462 <OnValueChanged>
463 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
464 Perl_Config_Party_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
465 </OnValueChanged>
466 </Scripts>
467 </Slider>
468  
469 <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
470 <Size>
471 <AbsDimension x="20" y="20"/>
472 </Size>
473 <Anchors>
474 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Misc2_Text">
475 <Offset>
476 <AbsDimension x="20" y="-20"/>
477 </Offset>
478 </Anchor>
479 </Anchors>
480 <Scripts>
481 <OnLoad>
482 getglobal(this:GetName().."Text"):SetText("Party Pets");
483 </OnLoad>
484 <OnClick>
485 Perl_Config_Party_Pets_Update();
486 </OnClick>
487 </Scripts>
488 </CheckButton>
489  
490 <CheckButton name="$parent_CheckButton10" inherits="UICheckButtonTemplate" id="10">
491 <Size>
492 <AbsDimension x="20" y="20"/>
493 </Size>
494 <Anchors>
495 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
496 <Offset>
497 <AbsDimension x="0" y="-20"/>
498 </Offset>
499 </Anchor>
500 </Anchors>
501 <Scripts>
502 <OnLoad>
503 getglobal(this:GetName().."Text"):SetText("Vertical Party Frames");
504 </OnLoad>
505 <OnClick>
506 Perl_Config_Party_VerticalAlign_Update();
507 </OnClick>
508 </Scripts>
509 </CheckButton>
510  
511 <CheckButton name="$parent_CheckButton12" inherits="UICheckButtonTemplate" id="12">
512 <Size>
513 <AbsDimension x="20" y="20"/>
514 </Size>
515 <Anchors>
516 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton10">
517 <Offset>
518 <AbsDimension x="0" y="-20"/>
519 </Offset>
520 </Anchor>
521 </Anchors>
522 <Scripts>
523 <OnLoad>
524 getglobal(this:GetName().."Text"):SetText("Display Portrait Frames");
525 </OnLoad>
526 <OnClick>
527 Perl_Config_Party_Portrait_Update();
528 </OnClick>
529 </Scripts>
530 </CheckButton>
531  
532 <CheckButton name="$parent_CheckButton15" inherits="UICheckButtonTemplate" id="15">
533 <Size>
534 <AbsDimension x="20" y="20"/>
535 </Size>
536 <Anchors>
537 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton12">
538 <Offset>
539 <AbsDimension x="20" y="-20"/>
540 </Offset>
541 </Anchor>
542 </Anchors>
543 <Scripts>
544 <OnLoad>
545 getglobal(this:GetName().."Text"):SetText("3D Portrait Frame");
546 </OnLoad>
547 <OnClick>
548 Perl_Config_Party_3D_Portrait_Update();
549 </OnClick>
550 </Scripts>
551 </CheckButton>
552  
553 <CheckButton name="$parent_CheckButton13" inherits="UICheckButtonTemplate" id="13">
554 <Size>
555 <AbsDimension x="20" y="20"/>
556 </Size>
557 <Anchors>
558 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton15">
559 <Offset>
560 <AbsDimension x="-20" y="-20"/>
561 </Offset>
562 </Anchor>
563 </Anchors>
564 <Scripts>
565 <OnLoad>
566 getglobal(this:GetName().."Text"):SetText("Display F Keys");
567 </OnLoad>
568 <OnClick>
569 Perl_Config_Party_FKeys_Update();
570 </OnClick>
571 </Scripts>
572 </CheckButton>
573  
574 <CheckButton name="$parent_CheckButton14" inherits="UICheckButtonTemplate" id="14">
575 <Size>
576 <AbsDimension x="20" y="20"/>
577 </Size>
578 <Anchors>
579 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton13">
580 <Offset>
581 <AbsDimension x="0" y="-20"/>
582 </Offset>
583 </Anchor>
584 </Anchors>
585 <Scripts>
586 <OnLoad>
587 getglobal(this:GetName().."Text"):SetText("Class Buffs/Debuffs");
588 </OnLoad>
589 <OnClick>
590 Perl_Config_Party_Class_Buffs_Update();
591 </OnClick>
592 </Scripts>
593 </CheckButton>
594 </Frames>
595  
596 </Frame>
597 </Ui>