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_Raid.lua"/>
4  
5  
6 <Frame name="Perl_Config_Raid_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_Raid_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="Raid">
32 <Anchors>
33 <Anchor point="TOP" relativeTo="Perl_Config_Raid_Header">
34 <Offset>
35 <AbsDimension x="0" y="-14"/>
36 </Offset>
37 </Anchor>
38 </Anchors>
39 </FontString>
40  
41 <FontString name="$parent_Group_Settings_Text" inherits="GameFontNormal" text="Group Settings">
42 <Anchors>
43 <Anchor point="LEFT" relativePoint="TOPLEFT">
44 <Offset>
45 <AbsDimension x="20" y="-30"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 </FontString>
50  
51 <FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="Misc">
52 <Anchors>
53 <Anchor point="LEFT" relativePoint="TOPLEFT">
54 <Offset>
55 <AbsDimension x="20" y="-230"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </FontString>
60  
61 <FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="Transparency">
62 <Anchors>
63 <Anchor point="LEFT" relativePoint="TOPLEFT">
64 <Offset>
65 <AbsDimension x="350" y="-30"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </FontString>
70  
71 <FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="Scaling">
72 <Anchors>
73 <Anchor point="LEFT" relativePoint="TOPLEFT">
74 <Offset>
75 <AbsDimension x="20" y="-325"/>
76 </Offset>
77 </Anchor>
78 </Anchors>
79 </FontString>
80 </Layer>
81 </Layers>
82  
83 <Frames>
84 <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
85 <Size>
86 <AbsDimension x="20" y="20"/>
87 </Size>
88 <Anchors>
89 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Group_Settings_Text">
90 <Offset>
91 <AbsDimension x="20" y="-20"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 <Scripts>
96 <OnLoad>
97 getglobal(this:GetName().."Text"):SetText("Show Group 1 (Warrior)");
98 </OnLoad>
99 <OnClick>
100 Perl_Config_Raid_Show_Group_One_Update();
101 </OnClick>
102 </Scripts>
103 </CheckButton>
104  
105 <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
106 <Size>
107 <AbsDimension x="20" y="20"/>
108 </Size>
109 <Anchors>
110 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1">
111 <Offset>
112 <AbsDimension x="0" y="-20"/>
113 </Offset>
114 </Anchor>
115 </Anchors>
116 <Scripts>
117 <OnLoad>
118 getglobal(this:GetName().."Text"):SetText("Show Group 2 (Mage)");
119 </OnLoad>
120 <OnClick>
121 Perl_Config_Raid_Show_Group_Two_Update();
122 </OnClick>
123 </Scripts>
124 </CheckButton>
125  
126 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
127 <Size>
128 <AbsDimension x="20" y="20"/>
129 </Size>
130 <Anchors>
131 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton2">
132 <Offset>
133 <AbsDimension x="0" y="-20"/>
134 </Offset>
135 </Anchor>
136 </Anchors>
137 <Scripts>
138 <OnLoad>
139 getglobal(this:GetName().."Text"):SetText("Show Group 3 (Priest)");
140 </OnLoad>
141 <OnClick>
142 Perl_Config_Raid_Show_Group_Three_Update();
143 </OnClick>
144 </Scripts>
145 </CheckButton>
146  
147 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
148 <Size>
149 <AbsDimension x="20" y="20"/>
150 </Size>
151 <Anchors>
152 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
153 <Offset>
154 <AbsDimension x="0" y="-20"/>
155 </Offset>
156 </Anchor>
157 </Anchors>
158 <Scripts>
159 <OnLoad>
160 getglobal(this:GetName().."Text"):SetText("Show Group 4 (Warlock)");
161 </OnLoad>
162 <OnClick>
163 Perl_Config_Raid_Show_Group_Four_Update();
164 </OnClick>
165 </Scripts>
166 </CheckButton>
167  
168 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
169 <Size>
170 <AbsDimension x="20" y="20"/>
171 </Size>
172 <Anchors>
173 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
174 <Offset>
175 <AbsDimension x="0" y="-20"/>
176 </Offset>
177 </Anchor>
178 </Anchors>
179 <Scripts>
180 <OnLoad>
181 getglobal(this:GetName().."Text"):SetText("Show Group 5 (Druid)");
182 </OnLoad>
183 <OnClick>
184 Perl_Config_Raid_Show_Group_Five_Update();
185 </OnClick>
186 </Scripts>
187 </CheckButton>
188  
189 <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
190 <Size>
191 <AbsDimension x="20" y="20"/>
192 </Size>
193 <Anchors>
194 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
195 <Offset>
196 <AbsDimension x="0" y="-20"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 <Scripts>
201 <OnLoad>
202 getglobal(this:GetName().."Text"):SetText("Show Group 6 (Rogue)");
203 </OnLoad>
204 <OnClick>
205 Perl_Config_Raid_Show_Group_Six_Update();
206 </OnClick>
207 </Scripts>
208 </CheckButton>
209  
210 <CheckButton name="$parent_CheckButton7" inherits="UICheckButtonTemplate" id="7">
211 <Size>
212 <AbsDimension x="20" y="20"/>
213 </Size>
214 <Anchors>
215 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
216 <Offset>
217 <AbsDimension x="0" y="-20"/>
218 </Offset>
219 </Anchor>
220 </Anchors>
221 <Scripts>
222 <OnLoad>
223 getglobal(this:GetName().."Text"):SetText("Show Group 7 (Hunter)");
224 </OnLoad>
225 <OnClick>
226 Perl_Config_Raid_Show_Group_Seven_Update();
227 </OnClick>
228 </Scripts>
229 </CheckButton>
230  
231 <CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
232 <Size>
233 <AbsDimension x="20" y="20"/>
234 </Size>
235 <Anchors>
236 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton7">
237 <Offset>
238 <AbsDimension x="0" y="-20"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 <Scripts>
243 <OnLoad>
244 getglobal(this:GetName().."Text"):SetText("Show Group 8 (Paladin/Shaman)");
245 </OnLoad>
246 <OnClick>
247 Perl_Config_Raid_Show_Group_Eight_Update();
248 </OnClick>
249 </Scripts>
250 </CheckButton>
251  
252 <CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
253 <Size>
254 <AbsDimension x="20" y="20"/>
255 </Size>
256 <Anchors>
257 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
258 <Offset>
259 <AbsDimension x="20" y="-20"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 <Scripts>
264 <OnLoad>
265 getglobal(this:GetName().."Text"):SetText("Sort By Class");
266 </OnLoad>
267 <OnClick>
268 Perl_Config_Raid_Sort_By_Class_Update();
269 </OnClick>
270 </Scripts>
271 </CheckButton>
272  
273 <CheckButton name="$parent_CheckButton13" inherits="UICheckButtonTemplate" id="13">
274 <Size>
275 <AbsDimension x="20" y="20"/>
276 </Size>
277 <Anchors>
278 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton9">
279 <Offset>
280 <AbsDimension x="0" y="-20"/>
281 </Offset>
282 </Anchor>
283 </Anchors>
284 <Scripts>
285 <OnLoad>
286 getglobal(this:GetName().."Text"):SetText("Show Group Headers");
287 </OnLoad>
288 <OnClick>
289 Perl_Config_Raid_Group_Headers_Update();
290 </OnClick>
291 </Scripts>
292 </CheckButton>
293  
294 <CheckButton name="$parent_CheckButton11" inherits="UICheckButtonTemplate" id="11">
295 <Size>
296 <AbsDimension x="20" y="20"/>
297 </Size>
298 <Anchors>
299 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton13">
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 Raid Frames");
308 </OnLoad>
309 <OnClick>
310 Perl_Config_Raid_Lock_Update();
311 </OnClick>
312 </Scripts>
313 </CheckButton>
314  
315 <Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="Show All Groups">
316 <Size>
317 <AbsDimension x="170" y="22"/>
318 </Size>
319 <Anchors>
320 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
321 <Offset>
322 <AbsDimension x="250" y="100"/>
323 </Offset>
324 </Anchor>
325 </Anchors>
326 <Scripts>
327 <OnClick>
328 Perl_Config_Raid_Frame_CheckButton1:SetChecked(1);
329 Perl_Config_Raid_Frame_CheckButton2:SetChecked(1);
330 Perl_Config_Raid_Frame_CheckButton3:SetChecked(1);
331 Perl_Config_Raid_Frame_CheckButton4:SetChecked(1);
332 Perl_Config_Raid_Frame_CheckButton5:SetChecked(1);
333 Perl_Config_Raid_Frame_CheckButton6:SetChecked(1);
334 Perl_Config_Raid_Frame_CheckButton7:SetChecked(1);
335 Perl_Config_Raid_Frame_CheckButton8:SetChecked(1);
336 Perl_Raid_Show_Hide_All_Groups(1);
337 </OnClick>
338 </Scripts>
339 </Button>
340  
341 <Button name="$parent_Button2" inherits="UIPanelButtonTemplate" text="Hide All Groups">
342 <Size>
343 <AbsDimension x="170" y="22"/>
344 </Size>
345 <Anchors>
346 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Button1">
347 <Offset>
348 <AbsDimension x="0" y="-30"/>
349 </Offset>
350 </Anchor>
351 </Anchors>
352 <Scripts>
353 <OnClick>
354 Perl_Config_Raid_Frame_CheckButton1:SetChecked(nil);
355 Perl_Config_Raid_Frame_CheckButton2:SetChecked(nil);
356 Perl_Config_Raid_Frame_CheckButton3:SetChecked(nil);
357 Perl_Config_Raid_Frame_CheckButton4:SetChecked(nil);
358 Perl_Config_Raid_Frame_CheckButton5:SetChecked(nil);
359 Perl_Config_Raid_Frame_CheckButton6:SetChecked(nil);
360 Perl_Config_Raid_Frame_CheckButton7:SetChecked(nil);
361 Perl_Config_Raid_Frame_CheckButton8:SetChecked(nil);
362 Perl_Raid_Show_Hide_All_Groups(0);
363 </OnClick>
364 </Scripts>
365 </Button>
366  
367 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
368 <Size>
369 <AbsDimension x="200" y="15"/>
370 </Size>
371 <Anchors>
372 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
373 <Offset>
374 <AbsDimension x="20" y="-20"/>
375 </Offset>
376 </Anchor>
377 </Anchors>
378 <Scripts>
379 <OnValueChanged>
380 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
381 Perl_Config_Raid_Set_Scale(getglobal(this:GetName()):GetValue());
382 </OnValueChanged>
383 </Scripts>
384 </Slider>
385  
386 <CheckButton name="$parent_CheckButton12" inherits="UICheckButtonTemplate" id="12">
387 <Size>
388 <AbsDimension x="20" y="20"/>
389 </Size>
390 <Anchors>
391 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
392 <Offset>
393 <AbsDimension x="20" y="0"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 <Scripts>
398 <OnLoad>
399 getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
400 </OnLoad>
401 <OnClick>
402 Perl_Config_Raid_Set_Scale();
403 </OnClick>
404 </Scripts>
405 </CheckButton>
406  
407 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
408 <Size>
409 <AbsDimension x="200" y="15"/>
410 </Size>
411 <Anchors>
412 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
413 <Offset>
414 <AbsDimension x="20" y="-20"/>
415 </Offset>
416 </Anchor>
417 </Anchors>
418 <Scripts>
419 <OnValueChanged>
420 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
421 Perl_Config_Raid_Set_Transparency(getglobal(this:GetName()):GetValue());
422 </OnValueChanged>
423 </Scripts>
424 </Slider>
425  
426 <CheckButton name="$parent_CheckButton10" inherits="UICheckButtonTemplate" id="10">
427 <Size>
428 <AbsDimension x="20" y="20"/>
429 </Size>
430 <Anchors>
431 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton9">
432 <Offset>
433 <AbsDimension x="200" y="0"/>
434 </Offset>
435 </Anchor>
436 </Anchors>
437 <Scripts>
438 <OnLoad>
439 getglobal(this:GetName().."Text"):SetText("Show Health/Mana Percentages");
440 </OnLoad>
441 <OnClick>
442 Perl_Config_Raid_Show_Percents_Update();
443 </OnClick>
444 </Scripts>
445 </CheckButton>
446  
447 <CheckButton name="$parent_CheckButton14" inherits="UICheckButtonTemplate" id="14">
448 <Size>
449 <AbsDimension x="20" y="20"/>
450 </Size>
451 <Anchors>
452 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton10">
453 <Offset>
454 <AbsDimension x="0" y="-20"/>
455 </Offset>
456 </Anchor>
457 </Anchors>
458 <Scripts>
459 <OnLoad>
460 getglobal(this:GetName().."Text"):SetText("Show Missing Health");
461 </OnLoad>
462 <OnClick>
463 Perl_Config_Raid_Missing_Health_Update();
464 </OnClick>
465 </Scripts>
466 </CheckButton>
467  
468 <CheckButton name="$parent_CheckButton15" inherits="UICheckButtonTemplate" id="15">
469 <Size>
470 <AbsDimension x="20" y="20"/>
471 </Size>
472 <Anchors>
473 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton14">
474 <Offset>
475 <AbsDimension x="0" y="-20"/>
476 </Offset>
477 </Anchor>
478 </Anchors>
479 <Scripts>
480 <OnLoad>
481 getglobal(this:GetName().."Text"):SetText("Vertical Raid Frames");
482 </OnLoad>
483 <OnClick>
484 Perl_Config_Raid_Vertical_Update();
485 </OnClick>
486 </Scripts>
487 </CheckButton>
488 </Frames>
489  
490 </Frame>
491 </Ui>