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  
3 <Script file="TextParsing.lua"/>
4 <Script file="Sets.lua"/>
5 <Script file="LootButtons.lua"/>
6 <Script file="Options.lua"/>
7 <Script file="AtlasLoot.lua"/>
8  
9 <GameTooltip name="AtlasLootTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/>
10  
11 <Button name="AtlasLootBossLineTemplate" virtual="true" hidden="false">
12 <Size>
13 <AbsDimension x="256" y="15"/>
14 </Size>
15 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
16 <Layers>
17 <Layer level="OVERLAY">
18 <FontString name="$parent_Text" inherits="GameFontNormal">
19 <Anchors>
20 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
21 </Anchors>
22 </FontString>
23 <Texture name="$parent_Loot" file="Interface\AddOns\AtlasLoot\Images\AtlasIcon">
24 <Size>
25 <AbsDimension x="16" y="16"/>
26 </Size>
27 <Anchors>
28 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"/>
29 </Anchors>
30 </Texture>
31 <Texture name="$parent_Selected" file="Interface\MoneyFrame\UI-MoneyIcons">
32 <Size>
33 <AbsDimension x="16" y="16"/>
34 </Size>
35 <Anchors>
36 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"/>
37 </Anchors>
38 <TexCoords left="0" right="0.25" top="0" bottom="1"/>
39 </Texture>
40 </Layer>
41 </Layers>
42 <Scripts>
43 <OnClick>
44 AtlasLootBoss_OnClick(this:GetID());
45 </OnClick>
46 </Scripts>
47 </Button>
48  
49 <Button name="AtlasLootNextButtonTemplate" virtual="true" hidden="true">
50 <Size>
51 <AbsDimension x="32" y="32" />
52 </Size>
53 <Layers>
54 <Layer level="BACKGROUND">
55 <Texture file="Interface\Buttons\UI-PageButton-Background">
56 <Size>
57 <AbsDimension x="32" y="32"/>
58 </Size>
59 <Anchors>
60 <Anchor point="CENTER">
61 <Offset>
62 <AbsDimension x="0" y="1"/>
63 </Offset>
64 </Anchor>
65 </Anchors>
66 </Texture>
67 </Layer>
68 </Layers>
69 <Scripts>
70 <OnClick>
71 AtlasLoot_Set();
72 </OnClick>
73 <OnShow>
74 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
75 </OnShow>
76 </Scripts>
77 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
78 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
79 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
80 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
81 </Button>
82  
83 <Button name="AtlasLootPrevButtonTemplate" virtual="true" hidden="true">
84 <Size>
85 <AbsDimension x="32" y="32" />
86 </Size>
87 <Layers>
88 <Layer level="BACKGROUND">
89 <Texture file="Interface\Buttons\UI-PageButton-Background">
90 <Size>
91 <AbsDimension x="32" y="32"/>
92 </Size>
93 <Anchors>
94 <Anchor point="CENTER">
95 <Offset>
96 <AbsDimension x="0" y="1"/>
97 </Offset>
98 </Anchor>
99 </Anchors>
100 </Texture>
101 </Layer>
102 </Layers>
103 <Scripts>
104 <OnClick>
105 AtlasLoot_Set();
106 </OnClick>
107 <OnShow>
108 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
109 </OnShow>
110 </Scripts>
111 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
112 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
113 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
114 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
115 </Button>
116  
117 <Button name="AtlasLootClassButtonTemplate" inherits="OptionsButtonTemplate" virtual="true" hidden="true">
118 <Size>
119 <AbsDimension x="120" y="25"/>
120 </Size>
121 <Scripts>
122 <OnClick>
123 AtlasLoot_Set();
124 </OnClick>
125 <OnShow>
126 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
127 </OnShow>
128 </Scripts>
129 </Button>
130  
131 <Frame name="AtlasLootBossLinesFrame" toplevel="true" enableMouse="true" parent="UIParent" hidden="false">
132 <Anchors>
133 <Anchor point="CENTER" />
134 </Anchors>
135 <Frames>
136 <Button name="AtlasBossLine_1" inherits="AtlasLootBossLineTemplate" id="1"/>
137 <Button name="AtlasBossLine_2" inherits="AtlasLootBossLineTemplate" id="2"/>
138 <Button name="AtlasBossLine_3" inherits="AtlasLootBossLineTemplate" id="3"/>
139 <Button name="AtlasBossLine_4" inherits="AtlasLootBossLineTemplate" id="4"/>
140 <Button name="AtlasBossLine_5" inherits="AtlasLootBossLineTemplate" id="5"/>
141 <Button name="AtlasBossLine_6" inherits="AtlasLootBossLineTemplate" id="6"/>
142 <Button name="AtlasBossLine_7" inherits="AtlasLootBossLineTemplate" id="7"/>
143 <Button name="AtlasBossLine_8" inherits="AtlasLootBossLineTemplate" id="8"/>
144 <Button name="AtlasBossLine_9" inherits="AtlasLootBossLineTemplate" id="9"/>
145 <Button name="AtlasBossLine_10" inherits="AtlasLootBossLineTemplate" id="10"/>
146 <Button name="AtlasBossLine_11" inherits="AtlasLootBossLineTemplate" id="11"/>
147 <Button name="AtlasBossLine_12" inherits="AtlasLootBossLineTemplate" id="12"/>
148 <Button name="AtlasBossLine_13" inherits="AtlasLootBossLineTemplate" id="13"/>
149 <Button name="AtlasBossLine_14" inherits="AtlasLootBossLineTemplate" id="14"/>
150 <Button name="AtlasBossLine_15" inherits="AtlasLootBossLineTemplate" id="15"/>
151 <Button name="AtlasBossLine_16" inherits="AtlasLootBossLineTemplate" id="16"/>
152 <Button name="AtlasBossLine_17" inherits="AtlasLootBossLineTemplate" id="17"/>
153 <Button name="AtlasBossLine_18" inherits="AtlasLootBossLineTemplate" id="18"/>
154 <Button name="AtlasBossLine_19" inherits="AtlasLootBossLineTemplate" id="19"/>
155 <Button name="AtlasBossLine_20" inherits="AtlasLootBossLineTemplate" id="20"/>
156 <Button name="AtlasBossLine_21" inherits="AtlasLootBossLineTemplate" id="21"/>
157 <Button name="AtlasBossLine_22" inherits="AtlasLootBossLineTemplate" id="22"/>
158 <Button name="AtlasBossLine_23" inherits="AtlasLootBossLineTemplate" id="23"/>
159 <Button name="AtlasBossLine_24" inherits="AtlasLootBossLineTemplate" id="24"/>
160 <Button name="AtlasBossLine_25" inherits="AtlasLootBossLineTemplate" id="25"/>
161 <Button name="AtlasBossLine_26" inherits="AtlasLootBossLineTemplate" id="26"/>
162 <Button name="AtlasBossLine_27" inherits="AtlasLootBossLineTemplate" id="27"/>
163 </Frames>
164 </Frame>
165  
166 <Button name="AtlasLootItem_ParentTemplate" virtual="true" hidden="false">
167 <Size>
168 <AbsDimension x="236" y="30"/>
169 </Size>
170 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
171 <Layers>
172 <Layer level="ARTWORK">
173 <Texture name="$parent_Icon">
174 <Size>
175 <AbsDimension x="24" y="24"/>
176 </Size>
177 <Anchors>
178 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
179 </Anchors>
180 </Texture>
181 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT">
182 <Size>
183 <AbsDimension x="205" y="12"/>
184 </Size>
185 <Anchors>
186 <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
187 <Offset>
188 <AbsDimension x="3" y="0"/>
189 </Offset>
190 </Anchor>
191 </Anchors>
192 </FontString>
193 <FontString name="$parent_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
194 <Size>
195 <AbsDimension x="205" y="10"/>
196 </Size>
197 <Anchors>
198 <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
199 </Anchors>
200 </FontString>
201 </Layer>
202 </Layers>
203 </Button>
204  
205 <Button name="AtlasLootItem_Template" inherits="AtlasLootItem_ParentTemplate" virtual="true" hidden="false">
206 <Scripts>
207 <OnEnter>
208 AtlasLootItem_OnEnter();
209 </OnEnter>
210 <OnLeave>
211 AtlasLootItem_OnLeave();
212 </OnLeave>
213 <OnClick>
214 AtlasLootItem_OnClick();
215 </OnClick>
216 <OnShow>
217 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
218 </OnShow>
219 </Scripts>
220 </Button>
221  
222 <Frame name="AtlasLootInfo" hidden="false">
223 <Size>
224 <AbsDimension x="128" y="25"/>
225 </Size>
226 <Layers>
227 <Layer level="OVERLAY">
228 <FontString name="$parent_Text1" inherits="GameFontNormalSmall" text="ATLASLOOT_BANNER_TEXT" justifyH="LEFT">
229 <Size>
230 <AbsDimension x="150" y="25"/>
231 </Size>
232 <Anchors>
233 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
234 </Anchors>
235 </FontString>
236 <FontString name="$parent_Text2" inherits="GameFontNormalSmall" text="ATLASLOOT_VERSION" justifyH="LEFT">
237 <Size>
238 <AbsDimension x="180" y="25"/>
239 </Size>
240 <Anchors>
241 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
242 <Offset>
243 <AbsDimension x="0" y="18"/>
244 </Offset>
245 </Anchor>
246 </Anchors>
247 </FontString>
248 </Layer>
249 </Layers>
250 </Frame>
251  
252 <Frame name="AtlasLootItemsFrame" parent="UIParent" hidden="false">
253 <Size>
254 <AbsDimension x="510" y="510"/>
255 </Size>
256 <Anchors>
257 <Anchor point="CENTER"/>
258 </Anchors>
259 <Frames>
260 <Button name="AtlasLootItem_1" inherits="AtlasLootItem_Template" id="1">
261 <Anchors>
262 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
263 <Offset>
264 <AbsDimension x="20" y="-50"/>
265 </Offset>
266 </Anchor>
267 </Anchors>
268 </Button>
269 <Button name="AtlasLootItem_2" inherits="AtlasLootItem_Template" id="2">
270 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_1" relativePoint="BOTTOMLEFT"/></Anchors>
271 </Button>
272 <Button name="AtlasLootItem_3" inherits="AtlasLootItem_Template" id="3">
273 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_2" relativePoint="BOTTOMLEFT"/></Anchors>
274 </Button>
275 <Button name="AtlasLootItem_4" inherits="AtlasLootItem_Template" id="4">
276 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_3" relativePoint="BOTTOMLEFT"/></Anchors>
277 </Button>
278 <Button name="AtlasLootItem_5" inherits="AtlasLootItem_Template" id="5">
279 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_4" relativePoint="BOTTOMLEFT"/></Anchors>
280 </Button>
281 <Button name="AtlasLootItem_6" inherits="AtlasLootItem_Template" id="6">
282 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_5" relativePoint="BOTTOMLEFT"/></Anchors>
283 </Button>
284 <Button name="AtlasLootItem_7" inherits="AtlasLootItem_Template" id="7">
285 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_6" relativePoint="BOTTOMLEFT"/></Anchors>
286 </Button>
287 <Button name="AtlasLootItem_8" inherits="AtlasLootItem_Template" id="8">
288 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_7" relativePoint="BOTTOMLEFT"/></Anchors>
289 </Button>
290 <Button name="AtlasLootItem_9" inherits="AtlasLootItem_Template" id="9">
291 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_8" relativePoint="BOTTOMLEFT"/></Anchors>
292 </Button>
293 <Button name="AtlasLootItem_10" inherits="AtlasLootItem_Template" id="10">
294 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_9" relativePoint="BOTTOMLEFT"/></Anchors>
295 </Button>
296 <Button name="AtlasLootItem_11" inherits="AtlasLootItem_Template" id="11">
297 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_10" relativePoint="BOTTOMLEFT"/></Anchors>
298 </Button>
299 <Button name="AtlasLootItem_12" inherits="AtlasLootItem_Template" id="12">
300 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_11" relativePoint="BOTTOMLEFT"/></Anchors>
301 </Button>
302 <Button name="AtlasLootItem_13" inherits="AtlasLootItem_Template" id="13">
303 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_12" relativePoint="BOTTOMLEFT"/></Anchors>
304 </Button>
305 <Button name="AtlasLootItem_14" inherits="AtlasLootItem_Template" id="14">
306 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_13" relativePoint="BOTTOMLEFT"/></Anchors>
307 </Button>
308 <Button name="AtlasLootItem_15" inherits="AtlasLootItem_Template" id="15">
309 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_14" relativePoint="BOTTOMLEFT"/></Anchors>
310 </Button>
311 <Button name="AtlasLootItem_16" inherits="AtlasLootItem_Template" id="16">
312 <Anchors>
313 <Anchor point="TOPLEFT" relativeTo="AtlasLootItem_1" relativePoint="TOPRIGHT">
314 <Offset>
315 <AbsDimension x="0" y="0"/>
316 </Offset>
317 </Anchor>
318 </Anchors>
319 </Button>
320 <Button name="AtlasLootItem_17" inherits="AtlasLootItem_Template" id="17">
321 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_16" relativePoint="BOTTOMLEFT"/></Anchors>
322 </Button>
323 <Button name="AtlasLootItem_18" inherits="AtlasLootItem_Template" id="18">
324 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_17" relativePoint="BOTTOMLEFT"/></Anchors>
325 </Button>
326 <Button name="AtlasLootItem_19" inherits="AtlasLootItem_Template" id="19">
327 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_18" relativePoint="BOTTOMLEFT"/></Anchors>
328 </Button>
329 <Button name="AtlasLootItem_20" inherits="AtlasLootItem_Template" id="20">
330 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_19" relativePoint="BOTTOMLEFT"/></Anchors>
331 </Button>
332 <Button name="AtlasLootItem_21" inherits="AtlasLootItem_Template" id="21">
333 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_20" relativePoint="BOTTOMLEFT"/></Anchors>
334 </Button>
335 <Button name="AtlasLootItem_22" inherits="AtlasLootItem_Template" id="22">
336 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_21" relativePoint="BOTTOMLEFT"/></Anchors>
337 </Button>
338 <Button name="AtlasLootItem_23" inherits="AtlasLootItem_Template" id="23">
339 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_22" relativePoint="BOTTOMLEFT"/></Anchors>
340 </Button>
341 <Button name="AtlasLootItem_24" inherits="AtlasLootItem_Template" id="24">
342 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_23" relativePoint="BOTTOMLEFT"/></Anchors>
343 </Button>
344 <Button name="AtlasLootItem_25" inherits="AtlasLootItem_Template" id="25">
345 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_24" relativePoint="BOTTOMLEFT"/></Anchors>
346 </Button>
347 <Button name="AtlasLootItem_26" inherits="AtlasLootItem_Template" id="26">
348 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_25" relativePoint="BOTTOMLEFT"/></Anchors>
349 </Button>
350 <Button name="AtlasLootItem_27" inherits="AtlasLootItem_Template" id="27">
351 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_26" relativePoint="BOTTOMLEFT"/></Anchors>
352 </Button>
353 <Button name="AtlasLootItem_28" inherits="AtlasLootItem_Template" id="28">
354 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_27" relativePoint="BOTTOMLEFT"/></Anchors>
355 </Button>
356 <Button name="AtlasLootItem_29" inherits="AtlasLootItem_Template" id="29">
357 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_28" relativePoint="BOTTOMLEFT"/></Anchors>
358 </Button>
359 <Button name="AtlasLootItem_30" inherits="AtlasLootItem_Template" id="30">
360 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_29" relativePoint="BOTTOMLEFT"/></Anchors>
361 </Button>
362 <Button name="$parent_Druid" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_DRUID">
363 <Anchors>
364 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
365 <Offset>
366 <AbsDimension x="0" y="-50"/>
367 </Offset>
368 </Anchor>
369 </Anchors>
370 </Button>
371 <Button name="$parent_Hunter" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_HUNTER">
372 <Anchors>
373 <Anchor point="TOP" relativeTo="$parent_Druid" relativePoint="BOTTOM">
374 <Offset>
375 <AbsDimension x="0" y="-10"/>
376 </Offset>
377 </Anchor>
378 </Anchors>
379 </Button>
380 <Button name="$parent_Mage" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_MAGE">
381 <Anchors>
382 <Anchor point="TOP" relativeTo="$parent_Hunter" relativePoint="BOTTOM">
383 <Offset>
384 <AbsDimension x="0" y="-10"/>
385 </Offset>
386 </Anchor>
387 </Anchors>
388 </Button>
389 <Button name="$parent_Paladin" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_PALADIN">
390 <Anchors>
391 <Anchor point="TOP" relativeTo="$parent_Mage" relativePoint="BOTTOM">
392 <Offset>
393 <AbsDimension x="0" y="-10"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 </Button>
398 <Button name="$parent_Priest" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_PRIEST">
399 <Anchors>
400 <Anchor point="TOP" relativeTo="$parent_Paladin" relativePoint="BOTTOM">
401 <Offset>
402 <AbsDimension x="0" y="-10"/>
403 </Offset>
404 </Anchor>
405 </Anchors>
406 </Button>
407 <Button name="$parent_Rogue" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_ROGUE">
408 <Anchors>
409 <Anchor point="TOP" relativeTo="$parent_Priest" relativePoint="BOTTOM">
410 <Offset>
411 <AbsDimension x="0" y="-10"/>
412 </Offset>
413 </Anchor>
414 </Anchors>
415 </Button>
416 <Button name="$parent_Shaman" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_SHAMAN">
417 <Anchors>
418 <Anchor point="TOP" relativeTo="$parent_Rogue" relativePoint="BOTTOM">
419 <Offset>
420 <AbsDimension x="0" y="-10"/>
421 </Offset>
422 </Anchor>
423 </Anchors>
424 </Button>
425 <Button name="$parent_Warlock" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_WARLOCK">
426 <Anchors>
427 <Anchor point="TOP" relativeTo="$parent_Shaman" relativePoint="BOTTOM">
428 <Offset>
429 <AbsDimension x="0" y="-10"/>
430 </Offset>
431 </Anchor>
432 </Anchors>
433 </Button>
434 <Button name="$parent_Warrior" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_WARRIOR">
435 <Anchors>
436 <Anchor point="TOP" relativeTo="$parent_Warlock" relativePoint="BOTTOM">
437 <Offset>
438 <AbsDimension x="0" y="-10"/>
439 </Offset>
440 </Anchor>
441 </Anchors>
442 </Button>
443 <Button name="$parent_Weapons" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_WEAPONS">
444 <Anchors>
445 <Anchor point="TOP" relativeTo="$parent_Warrior" relativePoint="BOTTOM">
446 <Offset>
447 <AbsDimension x="0" y="-10"/>
448 </Offset>
449 </Anchor>
450 </Anchors>
451 </Button>
452 <Button name="$parent_BACK" inherits="AtlasLootClassButtonTemplate" text="ATLASLOOT_UIBACK">
453 <Anchors>
454 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
455 <Offset>
456 <AbsDimension x="5" y="-5"/>
457 </Offset>
458 </Anchor>
459 </Anchors>
460 </Button>
461 <Button name="$parent_NEXT" inherits="AtlasLootNextButtonTemplate">
462 <Anchors>
463 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
464 <Offset>
465 <AbsDimension x="-12" y="8"/>
466 </Offset>
467 </Anchor>
468 </Anchors>
469 </Button>
470 <Button name="$parent_PREV" inherits="AtlasLootPrevButtonTemplate">
471 <Anchors>
472 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
473 <Offset>
474 <AbsDimension x="12" y="8"/>
475 </Offset>
476 </Anchor>
477 </Anchors>
478 </Button>
479 <Button name="AtlasLoot_Tier0Button" inherits="AtlasLootItem_ParentTemplate">
480 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_3" relativePoint="TOPLEFT"/></Anchors>
481 <Scripts>
482 <OnClick>
483 AtlasLootSetButton_OnClick("T0SET");
484 </OnClick>
485 <OnShow>
486 AtlasLoot_Tier0Button_Name:SetText(ATLASLOOT_TIER0_SETS);
487 AtlasLoot_Tier0Button_Extra:SetText("");
488 AtlasLoot_Tier0Button_Icon:SetTexture("Interface\\Icons\\INV_Chest_Chain_03");
489 </OnShow>
490 </Scripts>
491 </Button>
492 <Button name="AtlasLoot_Tier1Button" inherits="AtlasLootItem_ParentTemplate">
493 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_4" relativePoint="TOPLEFT"/></Anchors>
494 <Scripts>
495 <OnClick>
496 AtlasLootSetButton_OnClick("T1SET");
497 </OnClick>
498 <OnShow>
499 AtlasLoot_Tier1Button_Name:SetText(ATLASLOOT_TIER1_SETS);
500 AtlasLoot_Tier1Button_Extra:SetText("");
501 AtlasLoot_Tier1Button_Icon:SetTexture("Interface\\Icons\\INV_Pants_Mail_03");
502 </OnShow>
503 </Scripts>
504 </Button>
505 <Button name="AtlasLoot_Tier2Button" inherits="AtlasLootItem_ParentTemplate">
506 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_5" relativePoint="TOPLEFT"/></Anchors>
507 <Scripts>
508 <OnClick>
509 AtlasLootSetButton_OnClick("T2SET");
510 </OnClick>
511 <OnShow>
512 AtlasLoot_Tier2Button_Name:SetText(ATLASLOOT_TIER2_SETS);
513 AtlasLoot_Tier2Button_Extra:SetText("");
514 AtlasLoot_Tier2Button_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_32");
515 </OnShow>
516 </Scripts>
517 </Button>
518 <Button name="AtlasLoot_Tier3Button" inherits="AtlasLootItem_ParentTemplate">
519 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_6" relativePoint="TOPLEFT"/></Anchors>
520 <Scripts>
521 <OnClick>
522 AtlasLootSetButton_OnClick("T3SET");
523 </OnClick>
524 <OnShow>
525 AtlasLoot_Tier3Button_Name:SetText(ATLASLOOT_TIER3_SETS);
526 AtlasLoot_Tier3Button_Extra:SetText("");
527 AtlasLoot_Tier3Button_Icon:SetTexture("Interface\\Icons\\INV_Pants_Cloth_05");
528 </OnShow>
529 </Scripts>
530 </Button>
531 <Button name="AtlasLoot_ZGButton" inherits="AtlasLootItem_ParentTemplate">
532 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_18" relativePoint="TOPLEFT"/></Anchors>
533 <Scripts>
534 <OnClick>
535 AtlasLootSetButton_OnClick("ZGSET");
536 </OnClick>
537 <OnShow>
538 AtlasLoot_ZGButton_Name:SetText(ATLASLOOT_ZG_SETS);
539 AtlasLoot_ZGButton_Extra:SetText("");
540 AtlasLoot_ZGButton_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_19");
541 </OnShow>
542 </Scripts>
543 </Button>
544 <Button name="AtlasLoot_AQ20Button" inherits="AtlasLootItem_ParentTemplate">
545 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_19" relativePoint="TOPLEFT"/></Anchors>
546 <Scripts>
547 <OnClick>
548 AtlasLootSetButton_OnClick("AQ20SET");
549 </OnClick>
550 <OnShow>
551 AtlasLoot_AQ20Button_Name:SetText(ATLASLOOT_AQ20_SETS);
552 AtlasLoot_AQ20Button_Extra:SetText("");
553 AtlasLoot_AQ20Button_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Ring_AhnQiraj_03");
554 </OnShow>
555 </Scripts>
556 </Button>
557 <Button name="AtlasLoot_AQ40Button" inherits="AtlasLootItem_ParentTemplate">
558 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_20" relativePoint="TOPLEFT"/></Anchors>
559 <Scripts>
560 <OnClick>
561 AtlasLootSetButton_OnClick("AQ40SET");
562 </OnClick>
563 <OnShow>
564 AtlasLoot_AQ40Button_Name:SetText(ATLASLOOT_AQ40_SETS);
565 AtlasLoot_AQ40Button_Extra:SetText("");
566 AtlasLoot_AQ40Button_Icon:SetTexture("Interface\\Icons\\INV_Sword_59");
567 </OnShow>
568 </Scripts>
569 </Button>
570 <Button name="AtlasLoot_PVPButton" inherits="AtlasLootItem_ParentTemplate">
571 <Anchors><Anchor point="TOPLEFT" relativeTo="AtlasLootItem_21" relativePoint="TOPLEFT"/></Anchors>
572 <Scripts>
573 <OnClick>
574 AtlasLootSetButton_OnClick("PVPSET");
575 </OnClick>
576 <OnShow>
577 AtlasLoot_PVPButton_Name:SetText(ATLASLOOT_PVP_SETS);
578 AtlasLoot_PVPButton_Extra:SetText("");
579 AtlasLoot_PVPButton_Icon:SetTexture("Interface\\Icons\\INV_Axe_02");
580 </OnShow>
581 </Scripts>
582 </Button>
583 </Frames>
584 <Layers>
585 <Layer level="BACKGROUND">
586 <Texture name="$parent_Back">
587 <Anchors>
588 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
589 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"/>
590 </Anchors>
591 <Color r="0" g="0" b="0" a="0.7"/>
592 </Texture>
593 </Layer>
594 <Layer level="OVERLAY">
595 <FontString name="AtlasLoot_BossName" inherits="GameFontHighlightLarge" justifyH="CENTER">
596 <Size>
597 <AbsDimension x="512" y="30"/>
598 </Size>
599 <Anchors>
600 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP"/>
601 </Anchors>
602 </FontString>
603 </Layer>
604 </Layers>
605 <Scripts>
606 <OnLoad>
607 AtlasLoot_OnLoad();
608 </OnLoad>
609 <OnEvent>
610 AtlasLoot_OnEvent(event);
611 </OnEvent>
612 </Scripts>
613 </Frame>
614  
615 <Frame name="AtlasLootOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
616 <Size>
617 <AbsDimension x="300" y="280"/>
618 </Size>
619 <Anchors>
620 <Anchor point="CENTER"/>
621 </Anchors>
622 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
623 <BackgroundInsets>
624 <AbsInset left="11" right="12" top="12" bottom="11"/>
625 </BackgroundInsets>
626 <TileSize>
627 <AbsValue val="32"/>
628 </TileSize>
629 <EdgeSize>
630 <AbsValue val="32"/>
631 </EdgeSize>
632 </Backdrop>
633 <Layers>
634 <Layer level="ARTWORK">
635 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
636 <Size>
637 <AbsDimension x="256" y="64"/>
638 </Size>
639 <Anchors>
640 <Anchor point="TOP">
641 <Offset>
642 <AbsDimension x="0" y="12"/>
643 </Offset>
644 </Anchor>
645 </Anchors>
646 </Texture>
647 <FontString inherits="GameFontNormal" text="ATLASLOOT_OPTIONS_TITLE">
648 <Anchors>
649 <Anchor point="TOP">
650 <Offset>
651 <AbsDimension x="0" y="0"/>
652 </Offset>
653 </Anchor>
654 </Anchors>
655 </FontString>
656 </Layer>
657 </Layers>
658 <Frames>
659 <CheckButton name="$parentSafeLinks" inherits="OptionsCheckButtonTemplate" enable="false">
660 <Anchors>
661 <Anchor point="TOPLEFT">
662 <Offset>
663 <AbsDimension x="40" y="-40"/>
664 </Offset>
665 </Anchor>
666 </Anchors>
667 <Scripts>
668 <OnLoad>
669 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_SAFE_LINKS);
670 </OnLoad>
671 <OnClick>
672 AtlasLootOptions_SafeLinksToggle();
673 </OnClick>
674 </Scripts>
675 </CheckButton>
676 <CheckButton name="$parentAllLinks" inherits="OptionsCheckButtonTemplate">
677 <Anchors>
678 <Anchor point="TOPLEFT">
679 <Offset>
680 <AbsDimension x="40" y="-70"/>
681 </Offset>
682 </Anchor>
683 </Anchors>
684 <Scripts>
685 <OnLoad>
686 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_ALL_LINKS);
687 </OnLoad>
688 <OnClick>
689 AtlasLootOptions_AllLinksToggle();
690 </OnClick>
691 </Scripts>
692 </CheckButton>
693 <CheckButton name="$parentDefaultTT" inherits="OptionsCheckButtonTemplate">
694 <Anchors>
695 <Anchor point="TOPLEFT">
696 <Offset>
697 <AbsDimension x="40" y="-100"/>
698 </Offset>
699 </Anchor>
700 </Anchors>
701 <Scripts>
702 <OnLoad>
703 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_DEFAULT_TOOLTIPS);
704 </OnLoad>
705 <OnClick>
706 AtlasLootOptions_DefaultTTToggle();
707 </OnClick>
708 </Scripts>
709 </CheckButton>
710 <CheckButton name="$parentLootlinkTT" inherits="OptionsCheckButtonTemplate">
711 <Anchors>
712 <Anchor point="TOPLEFT">
713 <Offset>
714 <AbsDimension x="40" y="-130"/>
715 </Offset>
716 </Anchor>
717 </Anchors>
718 <Scripts>
719 <OnLoad>
720 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_LOOTLINK_TOOLTIPS);
721 </OnLoad>
722 <OnClick>
723 AtlasLootOptions_LootlinkTTToggle();
724 </OnClick>
725 </Scripts>
726 </CheckButton>
727 <CheckButton name="$parentItemSyncTT" inherits="OptionsCheckButtonTemplate">
728 <Anchors>
729 <Anchor point="TOPLEFT">
730 <Offset>
731 <AbsDimension x="40" y="-160"/>
732 </Offset>
733 </Anchor>
734 </Anchors>
735 <Scripts>
736 <OnLoad>
737 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_ITEMSYNC_TOOLTIPS);
738 </OnLoad>
739 <OnClick>
740 AtlasLootOptions_ItemSyncTTToggle();
741 </OnClick>
742 </Scripts>
743 </CheckButton>
744 <CheckButton name="$parentEquipCompare" inherits="OptionsCheckButtonTemplate">
745 <Anchors>
746 <Anchor point="TOPLEFT">
747 <Offset>
748 <AbsDimension x="40" y="-190"/>
749 </Offset>
750 </Anchor>
751 </Anchors>
752 <Scripts>
753 <OnLoad>
754 getglobal(this:GetName().."Text"):SetText(ATLASLOOT_OPTIONS_EQUIPCOMPARE);
755 </OnLoad>
756 <OnClick>
757 AtlasLootOptions_EquipCompareToggle();
758 </OnClick>
759 </Scripts>
760 </CheckButton>
761 <Button name="$parentDone" inherits="OptionsButtonTemplate" text="ATLASLOOT_OPTIONS_DONE">
762 <Anchors>
763 <Anchor point="BOTTOM">
764 <Offset>
765 <AbsDimension x="0" y="20"/>
766 </Offset>
767 </Anchor>
768 </Anchors>
769 <Scripts>
770 <OnClick>
771 AtlasLootOptions_Toggle();
772 </OnClick>
773 </Scripts>
774 </Button>
775 </Frames>
776 <Scripts>
777 <OnLoad>
778 AtlasLootOptions_OnLoad();
779 </OnLoad>
780 </Scripts>
781 </Frame>
782  
783 <Frame name="AtlasLootPanel">
784 <Size>
785 <AbsDimension x="230" y="60"/>
786 </Size>
787 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
788 <BackgroundInsets>
789 <AbsInset left="11" right="12" top="12" bottom="11"/>
790 </BackgroundInsets>
791 <TileSize>
792 <AbsValue val="32"/>
793 </TileSize>
794 <EdgeSize>
795 <AbsValue val="32"/>
796 </EdgeSize>
797 </Backdrop>
798 <Layers>
799 <Layer level="ARTWORK">
800 <Texture name="$parent_Title" file="Interface\DialogFrame\UI-DialogBox-Header">
801 <Size>
802 <AbsDimension x="275" y="59"/>
803 </Size>
804 <Anchors>
805 <Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
806 <Offset>
807 <AbsDimension x="0" y="-35"/>
808 </Offset>
809 </Anchor>
810 </Anchors>
811 </Texture>
812 <FontString inherits="GameFontNormal" text="Atlasloot Enhanced">
813 <Anchors>
814 <Anchor point="BOTTOM" relativeTo="$parent_Title" relativePoint="BOTTOM">
815 <Offset>
816 <AbsDimension x="0" y="34"/>
817 </Offset>
818 </Anchor>
819 </Anchors>
820 </FontString>
821 </Layer>
822 </Layers>
823 <Frames>
824 <Button name="$parent_Options" inherits="OptionsButtonTemplate" text="ATLASLOOT_PANEL_BUTTON_OPTIONS">
825 <Anchors>
826 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT">
827 <Offset>
828 <AbsDimension x="15" y="4"/>
829 </Offset>
830 </Anchor>
831 </Anchors>
832 <Scripts>
833 <OnClick>
834 AtlasLootOptions_Toggle();
835 </OnClick>
836 <OnShow>
837 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
838 </OnShow>
839 </Scripts>
840 </Button>
841 <Button name="$parent_Sets" inherits="OptionsButtonTemplate" text="ATLASLOOT_PANEL_BUTTON_SETS">
842 <Anchors>
843 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="RIGHT">
844 <Offset>
845 <AbsDimension x="-15" y="4"/>
846 </Offset>
847 </Anchor>
848 </Anchors>
849 <Scripts>
850 <OnClick>
851 AtlasLootSetMenu();
852 </OnClick>
853 <OnShow>
854 this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
855 </OnShow>
856 </Scripts>
857 </Button>
858 </Frames>
859 </Frame>
860  
861 </Ui>
862