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