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"
2 xsi:schemaLocation="http://www.blizzard.com/wow/ui/FrameXML/UI.xsd">
3 <Button name="OutfitterTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
4 <Scripts>
5 <OnClick>
6 PlaySound("igMainMenuOpen");
7 PanelTemplates_Tab_OnClick(OutfitterFrame);
8 Outfitter_ShowPanel(OutfitterFrame.selectedTab);
9 </OnClick>
10 </Scripts>
11 </Button>
12  
13 <EditBox name="OutfitterInputBoxTemplate" inherits="InputBoxTemplate" virtual="true">
14 <Scripts>
15 <OnLoad>
16 OutfitterInputBox_OnLoad(0);
17 </OnLoad>
18 <OnTabPressed>
19 OutfitterInputBox_TabPressed();
20 </OnTabPressed>
21 </Scripts>
22 </EditBox>
23  
24 <Frame name="OutfitterScrollbarTrenchTemplate" virtual="true">
25 <Layers>
26 <Layer level="OVERLAY">
27 <Texture name="$parentTop" file="Interface\Addons\Outfitter\Textures\ScrollbarTrench">
28 <Size>
29 <AbsDimension x="27" y="26"/>
30 </Size>
31 <Anchors>
32 <Anchor point="TOPLEFT"/>
33 </Anchors>
34 <TexCoords left="0" right="0.84375" top="0" bottom="0.1015625"/>
35 </Texture>
36 <Texture name="$parentMiddle" file="Interface\Addons\Outfitter\Textures\ScrollbarTrench">
37 <Size>
38 <AbsDimension x="27" y="0"/>
39 </Size>
40 <Anchors>
41 <Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="BOTTOMLEFT"/>
42 </Anchors>
43 <TexCoords left="0" right="0.84375" top="0.1015625" bottom="0.90234375"/>
44 </Texture>
45 <Texture name="$parentBottom" file="Interface\Addons\Outfitter\Textures\ScrollbarTrench">
46 <Size>
47 <AbsDimension x="27" y="25"/>
48 </Size>
49 <Anchors>
50 <Anchor point="BOTTOMLEFT"/>
51 </Anchors>
52 <TexCoords left="0" right="0.84375" top="0.90234375" bottom="1"/>
53 </Texture>
54 </Layer>
55 </Layers>
56 <Scripts>
57 <OnSizeChanged>
58 OutfitterScrollbarTrench_SizeChanged(this);
59 </OnSizeChanged>
60 </Scripts>
61 </Frame>
62  
63 <CheckButton name="OutfitterEnableTemplate" virtual="true">
64 <Size>
65 <AbsDimension x="24" y="24" />
66 </Size>
67 <Layers>
68 <Layer level="BACKGROUND">
69 <Texture>
70 <Size>
71 <AbsDimension x="14" y="14" />
72 </Size>
73 <Anchors>
74 <Anchor point="CENTER" />
75 </Anchors>
76 <Color r="0" g="0" b="0" a="0.6" />
77 </Texture>
78 </Layer>
79 </Layers>
80 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
81 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
82 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
83 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
84 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
85 <Scripts>
86 <OnClick>
87 Outfitter_SlotEnableClicked(this, arg1);
88 </OnClick>
89 <OnReceiveDrag>
90 Outfitter_SlotEnableClicked(this, "LeftButton", 1);
91 </OnReceiveDrag>
92 <OnEnter>
93 GameTooltip_AddNewbieTip(Outfitter_cSlotEnableTitle, 1, 1, 1, Outfitter_cSlotEnableDescription, 1);
94 </OnEnter>
95 <OnLeave>
96 GameTooltip:Hide();
97 </OnLeave>
98 </Scripts>
99 </CheckButton>
100 <Button name="OutfitterSmallButtonTemplate" virtual="true">
101 <NormalText name="$parentText" inherits="GameFontNormalSmall" />
102 <DisabledText inherits="GameFontDisableSmall" />
103 <HighlightText inherits="GameFontHighlightSmall" />
104 <NormalTexture inherits="UIPanelButtonUpTexture" />
105 <PushedTexture inherits="UIPanelButtonDownTexture" />
106 <DisabledTexture inherits="UIPanelButtonDisabledTexture" />
107 <HighlightTexture inherits="UIPanelButtonHighlightTexture" />
108 </Button>
109 <Button name="OutfitterItemMenuTemplate" virtual="true">
110 <Size>
111 <AbsDimension x="17" y="17"/>
112 </Size>
113 <Scripts>
114 <OnClick>
115 ToggleDropDownMenu(nil, nil, this);
116 PlaySound("igMainMenuOptionCheckBoxOn");
117 </OnClick>
118 <OnHide>
119 CloseDropDownMenus();
120 </OnHide>
121 <OnLoad>
122 this.SavedHeight = this:GetHeight();
123 this.ChangedValueFunc = Outfitter_OutfitItemSelected;
124 </OnLoad>
125 <OnShow>
126 OutfitterItemDropDown_OnLoad();
127 </OnShow>
128 </Scripts>
129 <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
130 <TexCoords left="0.09375" top="0.09375" right="0.90625" bottom="0.90625"/>
131 </NormalTexture>
132 <PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
133 <TexCoords left="0.09375" top="0.09375" right="0.90625" bottom="0.90625"/>
134 </PushedTexture>
135 <DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
136 <TexCoords left="0.09375" top="0.09375" right="0.90625" bottom="0.90625"/>
137 </DisabledTexture>
138 <HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
139 </Button>
140 <Frame name="OutfitterItemTemplate" hidden="true" virtual="true">
141 <Size>
142 <AbsDimension x="224" y="18" />
143 </Size>
144 <Frames>
145 <Frame name="$parentItem" hidden="true" setAllPoints="true">
146 <Layers>
147 <Layer level="OVERLAY">
148 <Texture name="$parentIcon" file="">
149 <Size>
150 <AbsDimension x="16" y="16" />
151 </Size>
152 <Anchors>
153 <Anchor point="TOPLEFT">
154 <Offset>
155 <AbsDimension x="28" y="-1" />
156 </Offset>
157 </Anchor>
158 </Anchors>
159 </Texture>
160 <FontString name="$parentName" text="Outfit name" inherits="GameFontNormal" justifyH="LEFT"
161 justifyV="BOTTOM">
162 <Size>
163 <AbsDimension x="175" y="16" />
164 </Size>
165 <Anchors>
166 <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT">
167 <Offset>
168 <AbsDimension x="3" y="2" />
169 </Offset>
170 </Anchor>
171 </Anchors>
172 </FontString>
173 </Layer>
174 </Layers>
175 </Frame>
176 <Frame name="$parentOutfit" hidden="true" setAllPoints="true">
177 <Layers>
178 <Layer level="OVERLAY">
179 <FontString name="$parentName" text="Outfit name" inherits="GameFontNormal" justifyH="LEFT"
180 justifyV="BOTTOM">
181 <Size>
182 <AbsDimension x="175" y="16" />
183 </Size>
184 <Anchors>
185 <Anchor point="TOPLEFT">
186 <Offset>
187 <AbsDimension x="28" y="1" />
188 </Offset>
189 </Anchor>
190 </Anchors>
191 </FontString>
192 </Layer>
193 </Layers>
194 <Frames>
195 <CheckButton name="$parentSelected" hidden="false">
196 <Size>
197 <AbsDimension x="24" y="24" />
198 </Size>
199 <Anchors>
200 <Anchor point="BOTTOMLEFT">
201 <Offset>
202 <AbsDimension x="5" y="-3" />
203 </Offset>
204 </Anchor>
205 </Anchors>
206 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
207 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
208 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
209 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
210 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
211 <Scripts>
212 <OnClick>
213 OutfitterItem_CheckboxClicked(this:GetParent():GetParent());
214 </OnClick>
215 </Scripts>
216 </CheckButton>
217 <Button name="$parentMenu" inherits="OutfitterItemMenuTemplate">
218 <Anchors>
219 <Anchor point="CENTER" relativeTo="$parentName" relativePoint="RIGHT">
220 <Offset>
221 <AbsDimension x="10" y="-2" />
222 </Offset>
223 </Anchor>
224 </Anchors>
225 </Button>
226 </Frames>
227 </Frame>
228 <Frame name="$parentCategory" hidden="true" setAllPoints="true">
229 <Layers>
230 <Layer level="OVERLAY">
231 <FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" justifyV="BOTTOM">
232 <Size>
233 <AbsDimension x="200" y="16" />
234 </Size>
235 <Anchors>
236 <Anchor point="BOTTOMLEFT">
237 <Offset>
238 <AbsDimension x="21" y="3" />
239 </Offset>
240 </Anchor>
241 </Anchors>
242 <Color r="1" g="1" b="1" />
243 </FontString>
244 </Layer>
245 </Layers>
246 <Frames>
247 <Button name="$parentExpand">
248 <Size>
249 <AbsDimension x="16" y="16" />
250 </Size>
251 <Anchors>
252 <Anchor point="BOTTOMLEFT">
253 <Offset>
254 <AbsDimension x="5" y="1" />
255 </Offset>
256 </Anchor>
257 </Anchors>
258 <NormalTexture setAllPoints="true" file="Interface\Buttons\UI-MinusButton-UP" />
259 <HighlightTexture setAllPoints="true" name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight"
260 alphaMode="ADD" />
261 <Scripts>
262 <OnLoad>
263 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
264 </OnLoad>
265 <OnClick>
266 OutfitterItem_OnClick(this:GetParent():GetParent(), arg1);
267 </OnClick>
268 </Scripts>
269 </Button>
270 </Frames>
271 </Frame>
272 </Frames>
273 <Scripts>
274 <OnLoad>
275 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
276 </OnLoad>
277 <OnClick>
278 OutfitterItem_OnClick(this, arg1);
279 </OnClick>
280 <OnEnter>
281 OutfitterItem_OnEnter(this);
282 </OnEnter>
283 <OnLeave>
284 OutfitterItem_OnLeave(this);
285 </OnLeave>
286 </Scripts>
287 </Frame>
288 <Frame name="OutfitterButtonFrame" hidden="false" parent="PaperDollFrame" setAllPoints="true">
289 <Frames>
290 <Button name="OutfitterButton" hidden="false">
291 <Size>
292 <AbsDimension x="64" y="32" />
293 </Size>
294 <Anchors>
295 <Anchor point="TOPRIGHT">
296 <Offset>
297 <AbsDimension x="-32" y="-40" />
298 </Offset>
299 </Anchor>
300 </Anchors>
301 <NormalTexture file="Interface\Addons\Outfitter\Textures\Outfitter-Button">
302 <TexCoords left="0" right="1" top="0" bottom="0.5" />
303 </NormalTexture>
304 <PushedTexture file="Interface\Addons\Outfitter\Textures\Outfitter-Button">
305 <TexCoords left="0" right="1" top="0.5" bottom="1" />
306 </PushedTexture>
307 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
308 <Scripts>
309 <OnClick>
310 Outfitter_ToggleOutfitterFrame();
311 </OnClick>
312 </Scripts>
313 </Button>
314 <Frame name="OutfitterFrame" frameStrata="HIGH" enableMouse="true" hidden="true">
315 <Size>
316 <AbsDimension x="256" y="344" />
317 </Size>
318 <Anchors>
319 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
320 <Offset>
321 <AbsDimension x="-33" y="-40" />
322 </Offset>
323 </Anchor>
324 </Anchors>
325 <Layers>
326 <Layer level="BORDER">
327 <Texture file="Interface\AddOns\Outfitter\Textures\OutfitterFrame-Top">
328 <Size>
329 <AbsDimension x="256" y="256" />
330 </Size>
331 <Anchors>
332 <Anchor point="TOPLEFT" />
333 </Anchors>
334 </Texture>
335 <Texture file="Interface\AddOns\Outfitter\Textures\OutfitterFrame-Bottom">
336 <Size>
337 <AbsDimension x="256" y="128" />
338 </Size>
339 <Anchors>
340 <Anchor point="TOPLEFT">
341 <Offset>
342 <AbsDimension x="0" y="-256" />
343 </Offset>
344 </Anchor>
345 </Anchors>
346 </Texture>
347 </Layer>
348 <Layer level="OVERLAY">
349 <FontString name="$parentTitle" text="Outfitter_cTitleVersion" inherits="GameFontHighlight">
350 <Anchors>
351 <Anchor point="TOP">
352 <Offset>
353 <AbsDimension x="-10" y="-6" />
354 </Offset>
355 </Anchor>
356 </Anchors>
357 </FontString>
358 </Layer>
359 </Layers>
360 <Frames>
361 <Button name="OutfitterCloseButton" inherits="UIPanelCloseButton">
362 <Anchors>
363 <Anchor point="TOPRIGHT">
364 <Offset>
365 <AbsDimension x="5" y="4" />
366 </Offset>
367 </Anchor>
368 </Anchors>
369 </Button>
370 <Frame name="OutfitterMainFrame" hidden="true" setAllPoints="true">
371 <Layers>
372 <Layer level="OVERLAY">
373 <Texture name="$parentHighlight" hidden="true" alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
374 <Size>
375 <AbsDimension x="224" y="18" />
376 </Size>
377 <Anchors>
378 <Anchor point="TOPLEFT" />
379 </Anchors>
380 <TexCoords left="0" right="1.0" top="0" bottom="0.578125" />
381 </Texture>
382 <FontString text="Outfitter_cTitle" inherits="GameFontNormalLarge">
383 <Anchors>
384 <Anchor point="TOP">
385 <Offset>
386 <AbsDimension x="0" y="-36"/>
387 </Offset>
388 </Anchor>
389 </Anchors>
390 </FontString>
391 </Layer>
392 <Layer level="BACKGROUND">
393 <Texture name="$parentBackground" file="Interface\Addons\Outfitter\Textures\Icon">
394 <Size>
395 <AbsDimension x="226" y="226"/>
396 </Size>
397 <Anchors>
398 <Anchor point="CENTER">
399 <Offset>
400 <AbsDimension x="-13" y="-20"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 </Texture>
405 <Texture name="$parentButtonBarBackground" file="Interface\Addons\Outfitter\Textures\ButtonBarBackground">
406 <Size>
407 <AbsDimension x="253" y="20"/>
408 </Size>
409 <Anchors>
410 <Anchor point="BOTTOMLEFT">
411 <Offset>
412 <AbsDimension x="0" y="7"/>
413 </Offset>
414 </Anchor>
415 </Anchors>
416 </Texture>
417 </Layer>
418 </Layers>
419 <Frames>
420 <Frame name="$parentScrollbarTrench" inherits="OutfitterScrollbarTrenchTemplate">
421 <Size>
422 <AbsDimension x="27" y="258"/>
423 </Size>
424 <Anchors>
425 <Anchor point="BOTTOMRIGHT" relativeTo="$parentButtonBarBackground" relativePoint="TOPRIGHT">
426 <Offset>
427 <AbsDimension x="0" y="1"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 </Frame>
432 <Button name="OutfitterItem0" inherits="OutfitterItemTemplate">
433 <Anchors>
434 <Anchor point="TOPLEFT">
435 <Offset>
436 <AbsDimension x="1" y="-63" />
437 </Offset>
438 </Anchor>
439 </Anchors>
440 </Button>
441 <Button name="OutfitterItem1" inherits="OutfitterItemTemplate">
442 <Anchors>
443 <Anchor point="TOPLEFT" relativeTo="OutfitterItem0" relativePoint="BOTTOMLEFT" />
444 </Anchors>
445 </Button>
446 <Button name="OutfitterItem2" inherits="OutfitterItemTemplate">
447 <Anchors>
448 <Anchor point="TOPLEFT" relativeTo="OutfitterItem1" relativePoint="BOTTOMLEFT" />
449 </Anchors>
450 </Button>
451 <Button name="OutfitterItem3" inherits="OutfitterItemTemplate">
452 <Anchors>
453 <Anchor point="TOPLEFT" relativeTo="OutfitterItem2" relativePoint="BOTTOMLEFT" />
454 </Anchors>
455 </Button>
456 <Button name="OutfitterItem4" inherits="OutfitterItemTemplate">
457 <Anchors>
458 <Anchor point="TOPLEFT" relativeTo="OutfitterItem3" relativePoint="BOTTOMLEFT" />
459 </Anchors>
460 </Button>
461 <Button name="OutfitterItem5" inherits="OutfitterItemTemplate">
462 <Anchors>
463 <Anchor point="TOPLEFT" relativeTo="OutfitterItem4" relativePoint="BOTTOMLEFT" />
464 </Anchors>
465 </Button>
466 <Button name="OutfitterItem6" inherits="OutfitterItemTemplate">
467 <Anchors>
468 <Anchor point="TOPLEFT" relativeTo="OutfitterItem5" relativePoint="BOTTOMLEFT" />
469 </Anchors>
470 </Button>
471 <Button name="OutfitterItem7" inherits="OutfitterItemTemplate">
472 <Anchors>
473 <Anchor point="TOPLEFT" relativeTo="OutfitterItem6" relativePoint="BOTTOMLEFT" />
474 </Anchors>
475 </Button>
476 <Button name="OutfitterItem8" inherits="OutfitterItemTemplate">
477 <Anchors>
478 <Anchor point="TOPLEFT" relativeTo="OutfitterItem7" relativePoint="BOTTOMLEFT" />
479 </Anchors>
480 </Button>
481 <Button name="OutfitterItem9" inherits="OutfitterItemTemplate">
482 <Anchors>
483 <Anchor point="TOPLEFT" relativeTo="OutfitterItem8" relativePoint="BOTTOMLEFT" />
484 </Anchors>
485 </Button>
486 <Button name="OutfitterItem10" inherits="OutfitterItemTemplate">
487 <Anchors>
488 <Anchor point="TOPLEFT" relativeTo="OutfitterItem9" relativePoint="BOTTOMLEFT" />
489 </Anchors>
490 </Button>
491 <Button name="OutfitterItem11" inherits="OutfitterItemTemplate">
492 <Anchors>
493 <Anchor point="TOPLEFT" relativeTo="OutfitterItem10" relativePoint="BOTTOMLEFT" />
494 </Anchors>
495 </Button>
496 <Button name="OutfitterItem12" inherits="OutfitterItemTemplate">
497 <Anchors>
498 <Anchor point="TOPLEFT" relativeTo="OutfitterItem11" relativePoint="BOTTOMLEFT" />
499 </Anchors>
500 </Button>
501 <Button name="OutfitterItem13" inherits="OutfitterItemTemplate">
502 <Anchors>
503 <Anchor point="TOPLEFT" relativeTo="OutfitterItem12" relativePoint="BOTTOMLEFT" />
504 </Anchors>
505 </Button>
506 <ScrollFrame name="$parentScrollFrame" hidden="false" inherits="FauxScrollFrameTemplate">
507 <Size>
508 <AbsDimension x="224" y="252"/>
509 </Size>
510 <Anchors>
511 <Anchor point="TOPLEFT" relativeTo="OutfitterItem0">
512 <Offset>
513 <AbsDimension x="0" y="0"/>
514 </Offset>
515 </Anchor>
516 </Anchors>
517 <Scripts>
518 <OnVerticalScroll>
519 FauxScrollFrame_OnVerticalScroll(OutfitterItem0:GetHeight(), Outfitter_OnVerticalScroll);
520 </OnVerticalScroll>
521 </Scripts>
522 </ScrollFrame>
523 <Button name="OutfitterNewButton" inherits="UIPanelButtonTemplate" text="Outfitter_cNewOutfit">
524 <Size>
525 <AbsDimension x="115" y="21" />
526 </Size>
527 <Anchors>
528 <Anchor point="BOTTOMRIGHT">
529 <Offset>
530 <AbsDimension x="-7" y="6" />
531 </Offset>
532 </Anchor>
533 </Anchors>
534 <Scripts>
535 <OnClick>
536 PlaySound("igMainMenuOptionCheckBoxOn");
537 Outfitter_CreateNewOutfit();
538 </OnClick>
539 </Scripts>
540 </Button>
541 </Frames>
542 <Scripts>
543 <OnLoad>
544 OutfitterMainFrameBackground:SetVertexColor(1, 1, 1, 0.20);
545 </OnLoad>
546 </Scripts>
547 </Frame>
548  
549 <Frame name="OutfitterOptionsFrame" hidden="true" setAllPoints="true">
550 <Layers>
551 <Layer level="BACKGROUND">
552 <Texture name="$parentBackground" file="Interface\Addons\Outfitter\Textures\MinimapButton">
553 <Size>
554 <AbsDimension x="280" y="280"/>
555 </Size>
556 <Anchors>
557 <Anchor point="CENTER">
558 <Offset>
559 <AbsDimension x="0" y="-30"/>
560 </Offset>
561 </Anchor>
562 </Anchors>
563 </Texture>
564 </Layer>
565 <Layer level="OVERLAY">
566 <FontString text="Outfitter_cOptionsTitle" inherits="GameFontNormalLarge">
567 <Anchors>
568 <Anchor point="TOP">
569 <Offset>
570 <AbsDimension x="0" y="-36"/>
571 </Offset>
572 </Anchor>
573 </Anchors>
574 </FontString>
575 </Layer>
576 </Layers>
577 <Frames>
578 <CheckButton name="OutfitterShowMinimapButton" inherits="OptionsCheckButtonTemplate">
579 <Anchors>
580 <Anchor point="TOPLEFT">
581 <Offset>
582 <AbsDimension x="15" y="-120"/>
583 </Offset>
584 </Anchor>
585 </Anchors>
586 <Scripts>
587 <OnLoad>
588 getglobal(this:GetName().."Text"):SetText(Outfitter_cShowMinimapButton);
589 </OnLoad>
590 <OnClick>
591 Outfitter_SetShowMinimapButton(this:GetChecked());
592 </OnClick>
593 <OnEnter>
594 if this:GetChecked() then
595 GameTooltip_AddNewbieTip(Outfitter_cShowMinimapButton, 1.0, 1.0, 1.0, Outfitter_cShowMinimapButtonOnDescription, 1);
596 else
597 GameTooltip_AddNewbieTip(Outfitter_cShowMinimapButton, 1.0, 1.0, 1.0, Outfitter_cShowMinimapButtonOffDescription, 1);
598 end
599 </OnEnter>
600 <OnLeave>
601 GameTooltip:Hide();
602 </OnLeave>
603 </Scripts>
604 </CheckButton>
605 <CheckButton name="OutfitterRememberVisibility" inherits="OptionsCheckButtonTemplate">
606 <Anchors>
607 <Anchor point="TOPLEFT" relativeTo="OutfitterShowMinimapButton" relativePoint="BOTTOMLEFT">
608 <Offset>
609 <AbsDimension x="0" y="-10"/>
610 </Offset>
611 </Anchor>
612 </Anchors>
613 <Scripts>
614 <OnLoad>
615 getglobal(this:GetName().."Text"):SetText(Outfitter_cRememberVisibility);
616 </OnLoad>
617 <OnClick>
618 Outfitter_SetRememberVisibility(this:GetChecked());
619 </OnClick>
620 <OnEnter>
621 if this:GetChecked() then
622 GameTooltip_AddNewbieTip(Outfitter_cRememberVisibility, 1.0, 1.0, 1.0, Outfitter_cRememberVisibilityOnDescription, 1);
623 else
624 GameTooltip_AddNewbieTip(Outfitter_cRememberVisibility, 1.0, 1.0, 1.0, Outfitter_cRememberVisibilityOffDescription, 1);
625 end
626 </OnEnter>
627 <OnLeave>
628 GameTooltip:Hide();
629 </OnLeave>
630 </Scripts>
631 </CheckButton>
632 <CheckButton name="OutfitterShowHotkeyMessages" inherits="OptionsCheckButtonTemplate">
633 <Anchors>
634 <Anchor point="TOPLEFT" relativeTo="OutfitterRememberVisibility" relativePoint="BOTTOMLEFT">
635 <Offset>
636 <AbsDimension x="0" y="-10"/>
637 </Offset>
638 </Anchor>
639 </Anchors>
640 <Scripts>
641 <OnLoad>
642 getglobal(this:GetName().."Text"):SetText(Outfitter_cShowHotkeyMessages);
643 </OnLoad>
644 <OnClick>
645 Outfitter_SetShowHotkeyMessages(this:GetChecked());
646 </OnClick>
647 <OnEnter>
648 if this:GetChecked() then
649 GameTooltip_AddNewbieTip(Outfitter_cShowHotkeyMessages, 1.0, 1.0, 1.0, Outfitter_cShowHotkeyMessagesOnDescription, 1);
650 else
651 GameTooltip_AddNewbieTip(Outfitter_cShowHotkeyMessages, 1.0, 1.0, 1.0, Outfitter_cShowHotkeyMessagesOffDescription, 1);
652 end
653 </OnEnter>
654 <OnLeave>
655 GameTooltip:Hide();
656 </OnLeave>
657 </Scripts>
658 </CheckButton>
659 </Frames>
660 <Scripts>
661 <OnLoad>
662 OutfitterOptionsFrameBackground:SetVertexColor(1, 1, 1, 0.20);
663 </OnLoad>
664 </Scripts>
665 </Frame>
666  
667 <Frame name="OutfitterAboutFrame" hidden="true" setAllPoints="true">
668 <Layers>
669 <Layer level="BACKGROUND">
670 <Texture file="Interface\Addons\Outfitter\Textures\GuildLogo2">
671 <Size>
672 <AbsDimension x="220" y="220"/>
673 </Size>
674 <Anchors>
675 <Anchor point="CENTER">
676 <Offset>
677 <AbsDimension x="0" y="-30"/>
678 </Offset>
679 </Anchor>
680 </Anchors>
681 </Texture>
682 </Layer>
683 <Layer level="OVERLAY">
684 <FontString text="Outfitter_cAboutTitle" inherits="GameFontNormalLarge">
685 <Anchors>
686 <Anchor point="TOP">
687 <Offset>
688 <AbsDimension x="0" y="-36"/>
689 </Offset>
690 </Anchor>
691 </Anchors>
692 </FontString>
693 <FontString name="OutfitterAboutTitleVersion" text="Outfitter_cTitleVersion" inherits="GameFontNormalLarge">
694 <Anchors>
695 <Anchor point="TOP">
696 <Offset>
697 <AbsDimension x="0" y="-80"/>
698 </Offset>
699 </Anchor>
700 </Anchors>
701 </FontString>
702 <FontString name="OutfitterAboutAuthor" text="Outfitter_cAuthor" inherits="GameFontHighlight">
703 <Size>
704 <AbsDimension x="230"/>
705 </Size>
706 <Anchors>
707 <Anchor point="TOP" relativeTo="OutfitterAboutTitleVersion" relativePoint="BOTTOM">
708 <Offset>
709 <AbsDimension x="0" y="-5"/>
710 </Offset>
711 </Anchor>
712 </Anchors>
713 </FontString>
714 <FontString name="OutfitterTestersTitle" text="Outfitter_cTestersTitle" inherits="GameFontNormal">
715 <Size>
716 <AbsDimension x="230"/>
717 </Size>
718 <Anchors>
719 <Anchor point="TOP" relativeTo="OutfitterAboutTitleVersion" relativePoint="TOP">
720 <Offset>
721 <AbsDimension x="0" y="-65"/>
722 </Offset>
723 </Anchor>
724 </Anchors>
725 </FontString>
726 <FontString name="OutfitterTestersNames" text="Outfitter_cTestersNames" inherits="GameFontHighlightSmall">
727 <Size>
728 <AbsDimension x="230"/>
729 </Size>
730 <Anchors>
731 <Anchor point="TOP" relativeTo="OutfitterTestersTitle" relativePoint="BOTTOM">
732 <Offset>
733 <AbsDimension x="0" y="-5"/>
734 </Offset>
735 </Anchor>
736 </Anchors>
737 </FontString>
738 <FontString name="OutfitterSpecialThanksTitle" text="Outfitter_cSpecialThanksTitle" inherits="GameFontNormal">
739 <Size>
740 <AbsDimension x="230"/>
741 </Size>
742 <Anchors>
743 <Anchor point="TOP" relativeTo="OutfitterTestersNames" relativePoint="TOP">
744 <Offset>
745 <AbsDimension x="0" y="-50"/>
746 </Offset>
747 </Anchor>
748 </Anchors>
749 </FontString>
750 <FontString name="OutfitterSpecialThanksNames" text="Outfitter_cSpecialThanksNames" inherits="GameFontHighlight">
751 <Size>
752 <AbsDimension x="230"/>
753 </Size>
754 <Anchors>
755 <Anchor point="TOP" relativeTo="OutfitterSpecialThanksTitle" relativePoint="BOTTOM">
756 <Offset>
757 <AbsDimension x="0" y="-5"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 </FontString>
762 <FontString name="OutfitterGuildURL" text="Outfitter_cGuildURL" inherits="GameFontHighlightSmall">
763 <Size>
764 <AbsDimension x="230" y="13"/>
765 </Size>
766 <Anchors>
767 <Anchor point="BOTTOM">
768 <Offset>
769 <AbsDimension x="0" y="30"/>
770 </Offset>
771 </Anchor>
772 </Anchors>
773 </FontString>
774 <FontString name="OutfitterGuildURL2" text="Outfitter_cGuildURL2" inherits="GameFontHighlightSmall">
775 <Size>
776 <AbsDimension x="230" y="13"/>
777 </Size>
778 <Anchors>
779 <Anchor point="TOP" relativeTo="OutfitterGuildURL" relativePoint="BOTTOM">
780 <Offset>
781 <AbsDimension x="0" y="0"/>
782 </Offset>
783 </Anchor>
784 </Anchors>
785 </FontString>
786 <FontString name="OutfitterTranslationCredit" text="Outfitter_cTranslationCredit" inherits="GameFontHighlightSmall">
787 <Size>
788 <AbsDimension x="230" y="13"/>
789 </Size>
790 <Anchors>
791 <Anchor point="BOTTOM" relativeTo="OutfitterGuildURL">
792 <Offset>
793 <AbsDimension x="0" y="20"/>
794 </Offset>
795 </Anchor>
796 </Anchors>
797 </FontString>
798 </Layer>
799 </Layers>
800 <Frames>
801 </Frames>
802 </Frame>
803 <Button name="OutfitterFrameTab1" inherits="OutfitterTabTemplate" id="1" text="Outfitter_cOutfitterTabTitle">
804 <Anchors>
805 <Anchor point="BOTTOMRIGHT">
806 <Offset>
807 <AbsDimension x="-7" y="-29"/>
808 </Offset>
809 </Anchor>
810 </Anchors>
811 </Button>
812 <Button name="OutfitterFrameTab2" inherits="OutfitterTabTemplate" id="2" text="Outfitter_cOptionsTabTitle">
813 <Anchors>
814 <Anchor point="RIGHT" relativeTo="OutfitterFrameTab1" relativePoint="LEFT">
815 <Offset>
816 <AbsDimension x="16" y="0"/>
817 </Offset>
818 </Anchor>
819 </Anchors>
820 </Button>
821 <Button name="OutfitterFrameTab3" inherits="OutfitterTabTemplate" id="3" text="Outfitter_cAboutTabTitle">
822 <Anchors>
823 <Anchor point="RIGHT" relativeTo="OutfitterFrameTab2" relativePoint="LEFT">
824 <Offset>
825 <AbsDimension x="16" y="0"/>
826 </Offset>
827 </Anchor>
828 </Anchors>
829 </Button>
830 </Frames>
831 <Scripts>
832 <OnLoad>
833 Outfitter_OnLoad();
834 </OnLoad>
835 <OnShow>
836 Outfitter_OnShow();
837 </OnShow>
838 <OnHide>
839 Outfitter_OnHide();
840 </OnHide>
841 <OnEvent>
842 Outfitter_OnEvent(event);
843 </OnEvent>
844 </Scripts>
845 </Frame>
846 <Frame name="OutfitterSlotEnables" hidden="true" setAllPoints="true">
847 <Frames>
848 <Button name="OutfitterEnableAll" inherits="OutfitterSmallButtonTemplate" text="Outfitter_cEnableNone">
849 <Size>
850 <AbsDimension x="80" y="18" />
851 </Size>
852 <Anchors>
853 <Anchor point="TOP" relativeTo="PaperDollFrame">
854 <Offset>
855 <AbsDimension x="-45" y="-57" />
856 </Offset>
857 </Anchor>
858 </Anchors>
859 <Scripts>
860 <OnClick>
861 PlaySound("igMainMenuOptionCheckBoxOn");
862 Outfitter_SetAllSlotEnables(false);
863 </OnClick>
864 </Scripts>
865 </Button>
866 <Button name="OutfitterEnableNone" inherits="OutfitterSmallButtonTemplate" text="Outfitter_cEnableAll">
867 <Size>
868 <AbsDimension x="80" y="18" />
869 </Size>
870 <Anchors>
871 <Anchor point="TOP" relativeTo="PaperDollFrame">
872 <Offset>
873 <AbsDimension x="45" y="-57" />
874 </Offset>
875 </Anchor>
876 </Anchors>
877 <Scripts>
878 <OnClick>
879 PlaySound("igMainMenuOptionCheckBoxOn");
880 Outfitter_SetAllSlotEnables(true);
881 </OnClick>
882 </Scripts>
883 </Button>
884 <CheckButton name="OutfitterEnableHeadSlot" inherits="OutfitterEnableTemplate">
885 <Anchors>
886 <Anchor point="TOPLEFT" relativeTo="CharacterHeadSlot">
887 <Offset>
888 <AbsDimension x="-4" y="4" />
889 </Offset>
890 </Anchor>
891 </Anchors>
892 <Scripts>
893 <OnLoad>this.SlotName = "HeadSlot";</OnLoad>
894 </Scripts>
895 </CheckButton>
896 <CheckButton name="OutfitterEnableNeckSlot" inherits="OutfitterEnableTemplate">
897 <Anchors>
898 <Anchor point="TOPLEFT" relativeTo="CharacterNeckSlot">
899 <Offset>
900 <AbsDimension x="-4" y="4" />
901 </Offset>
902 </Anchor>
903 </Anchors>
904 <Scripts>
905 <OnLoad>this.SlotName = "NeckSlot";</OnLoad>
906 </Scripts>
907 </CheckButton>
908 <CheckButton name="OutfitterEnableShoulderSlot" inherits="OutfitterEnableTemplate">
909 <Anchors>
910 <Anchor point="TOPLEFT" relativeTo="CharacterShoulderSlot">
911 <Offset>
912 <AbsDimension x="-4" y="4" />
913 </Offset>
914 </Anchor>
915 </Anchors>
916 <Scripts>
917 <OnLoad>this.SlotName = "ShoulderSlot";</OnLoad>
918 </Scripts>
919 </CheckButton>
920 <CheckButton name="OutfitterEnableBackSlot" inherits="OutfitterEnableTemplate">
921 <Anchors>
922 <Anchor point="TOPLEFT" relativeTo="CharacterBackSlot">
923 <Offset>
924 <AbsDimension x="-4" y="4" />
925 </Offset>
926 </Anchor>
927 </Anchors>
928 <Scripts>
929 <OnLoad>this.SlotName = "BackSlot";</OnLoad>
930 </Scripts>
931 </CheckButton>
932 <CheckButton name="OutfitterEnableChestSlot" inherits="OutfitterEnableTemplate">
933 <Anchors>
934 <Anchor point="TOPLEFT" relativeTo="CharacterChestSlot">
935 <Offset>
936 <AbsDimension x="-4" y="4" />
937 </Offset>
938 </Anchor>
939 </Anchors>
940 <Scripts>
941 <OnLoad>this.SlotName = "ChestSlot";</OnLoad>
942 </Scripts>
943 </CheckButton>
944 <CheckButton name="OutfitterEnableShirtSlot" inherits="OutfitterEnableTemplate">
945 <Anchors>
946 <Anchor point="TOPLEFT" relativeTo="CharacterShirtSlot">
947 <Offset>
948 <AbsDimension x="-4" y="4" />
949 </Offset>
950 </Anchor>
951 </Anchors>
952 <Scripts>
953 <OnLoad>this.SlotName = "ShirtSlot";</OnLoad>
954 </Scripts>
955 </CheckButton>
956 <CheckButton name="OutfitterEnableTabardSlot" inherits="OutfitterEnableTemplate">
957 <Anchors>
958 <Anchor point="TOPLEFT" relativeTo="CharacterTabardSlot">
959 <Offset>
960 <AbsDimension x="-4" y="4" />
961 </Offset>
962 </Anchor>
963 </Anchors>
964 <Scripts>
965 <OnLoad>this.SlotName = "TabardSlot";</OnLoad>
966 </Scripts>
967 </CheckButton>
968 <CheckButton name="OutfitterEnableWristSlot" inherits="OutfitterEnableTemplate">
969 <Anchors>
970 <Anchor point="TOPLEFT" relativeTo="CharacterWristSlot">
971 <Offset>
972 <AbsDimension x="-4" y="4" />
973 </Offset>
974 </Anchor>
975 </Anchors>
976 <Scripts>
977 <OnLoad>this.SlotName = "WristSlot";</OnLoad>
978 </Scripts>
979 </CheckButton>
980 <CheckButton name="OutfitterEnableHandsSlot" inherits="OutfitterEnableTemplate">
981 <Anchors>
982 <Anchor point="TOPRIGHT" relativeTo="CharacterHandsSlot">
983 <Offset>
984 <AbsDimension x="4" y="4" />
985 </Offset>
986 </Anchor>
987 </Anchors>
988 <Scripts>
989 <OnLoad>this.SlotName = "HandsSlot";</OnLoad>
990 </Scripts>
991 </CheckButton>
992 <CheckButton name="OutfitterEnableWaistSlot" inherits="OutfitterEnableTemplate">
993 <Anchors>
994 <Anchor point="TOPRIGHT" relativeTo="CharacterWaistSlot">
995 <Offset>
996 <AbsDimension x="4" y="4" />
997 </Offset>
998 </Anchor>
999 </Anchors>
1000 <Scripts>
1001 <OnLoad>this.SlotName = "WaistSlot";</OnLoad>
1002 </Scripts>
1003 </CheckButton>
1004 <CheckButton name="OutfitterEnableLegsSlot" inherits="OutfitterEnableTemplate">
1005 <Anchors>
1006 <Anchor point="TOPRIGHT" relativeTo="CharacterLegsSlot">
1007 <Offset>
1008 <AbsDimension x="4" y="4" />
1009 </Offset>
1010 </Anchor>
1011 </Anchors>
1012 <Scripts>
1013 <OnLoad>this.SlotName = "LegsSlot";</OnLoad>
1014 </Scripts>
1015 </CheckButton>
1016 <CheckButton name="OutfitterEnableFeetSlot" inherits="OutfitterEnableTemplate">
1017 <Anchors>
1018 <Anchor point="TOPRIGHT" relativeTo="CharacterFeetSlot">
1019 <Offset>
1020 <AbsDimension x="4" y="4" />
1021 </Offset>
1022 </Anchor>
1023 </Anchors>
1024 <Scripts>
1025 <OnLoad>this.SlotName = "FeetSlot";</OnLoad>
1026 </Scripts>
1027 </CheckButton>
1028 <CheckButton name="OutfitterEnableFinger0Slot" inherits="OutfitterEnableTemplate">
1029 <Anchors>
1030 <Anchor point="TOPRIGHT" relativeTo="CharacterFinger0Slot">
1031 <Offset>
1032 <AbsDimension x="4" y="4" />
1033 </Offset>
1034 </Anchor>
1035 </Anchors>
1036 <Scripts>
1037 <OnLoad>this.SlotName = "Finger0Slot";</OnLoad>
1038 </Scripts>
1039 </CheckButton>
1040 <CheckButton name="OutfitterEnableFinger1Slot" inherits="OutfitterEnableTemplate">
1041 <Anchors>
1042 <Anchor point="TOPRIGHT" relativeTo="CharacterFinger1Slot">
1043 <Offset>
1044 <AbsDimension x="4" y="4" />
1045 </Offset>
1046 </Anchor>
1047 </Anchors>
1048 <Scripts>
1049 <OnLoad>this.SlotName = "Finger1Slot";</OnLoad>
1050 </Scripts>
1051 </CheckButton>
1052 <CheckButton name="OutfitterEnableTrinket0Slot" inherits="OutfitterEnableTemplate">
1053 <Anchors>
1054 <Anchor point="TOPRIGHT" relativeTo="CharacterTrinket0Slot">
1055 <Offset>
1056 <AbsDimension x="4" y="4" />
1057 </Offset>
1058 </Anchor>
1059 </Anchors>
1060 <Scripts>
1061 <OnLoad>this.SlotName = "Trinket0Slot";</OnLoad>
1062 </Scripts>
1063 </CheckButton>
1064 <CheckButton name="OutfitterEnableTrinket1Slot" inherits="OutfitterEnableTemplate">
1065 <Anchors>
1066 <Anchor point="TOPRIGHT" relativeTo="CharacterTrinket1Slot">
1067 <Offset>
1068 <AbsDimension x="4" y="4" />
1069 </Offset>
1070 </Anchor>
1071 </Anchors>
1072 <Scripts>
1073 <OnLoad>this.SlotName = "Trinket1Slot";</OnLoad>
1074 </Scripts>
1075 </CheckButton>
1076 <CheckButton name="OutfitterEnableMainHandSlot" inherits="OutfitterEnableTemplate">
1077 <Anchors>
1078 <Anchor point="TOPLEFT" relativeTo="CharacterMainHandSlot">
1079 <Offset>
1080 <AbsDimension x="-4" y="4" />
1081 </Offset>
1082 </Anchor>
1083 </Anchors>
1084 <Scripts>
1085 <OnLoad>this.SlotName = "MainHandSlot";</OnLoad>
1086 </Scripts>
1087 </CheckButton>
1088 <CheckButton name="OutfitterEnableSecondaryHandSlot" inherits="OutfitterEnableTemplate">
1089 <Anchors>
1090 <Anchor point="TOPLEFT" relativeTo="CharacterSecondaryHandSlot">
1091 <Offset>
1092 <AbsDimension x="-4" y="4" />
1093 </Offset>
1094 </Anchor>
1095 </Anchors>
1096 <Scripts>
1097 <OnLoad>this.SlotName = "SecondaryHandSlot";</OnLoad>
1098 </Scripts>
1099 </CheckButton>
1100 <CheckButton name="OutfitterEnableRangedSlot" inherits="OutfitterEnableTemplate">
1101 <Anchors>
1102 <Anchor point="TOPLEFT" relativeTo="CharacterRangedSlot">
1103 <Offset>
1104 <AbsDimension x="-4" y="4" />
1105 </Offset>
1106 </Anchor>
1107 </Anchors>
1108 <Scripts>
1109 <OnLoad>this.SlotName = "RangedSlot";</OnLoad>
1110 </Scripts>
1111 </CheckButton>
1112 <CheckButton name="OutfitterEnableAmmoSlot" inherits="OutfitterEnableTemplate">
1113 <Anchors>
1114 <Anchor point="TOPLEFT" relativeTo="CharacterAmmoSlot">
1115 <Offset>
1116 <AbsDimension x="-4" y="4" />
1117 </Offset>
1118 </Anchor>
1119 </Anchors>
1120 <Scripts>
1121 <OnLoad>this.SlotName = "AmmoSlot";</OnLoad>
1122 </Scripts>
1123 </CheckButton>
1124 </Frames>
1125 </Frame>
1126 </Frames>
1127 </Frame>
1128 <Frame name="OutfitterNameOutfitDialog" toplevel="true" frameStrata="DIALOG" enableMouse="true"
1129 hidden="true" parent="OutfitterFrame">
1130 <Size>
1131 <AbsDimension x="315" y="172" />
1132 </Size>
1133 <Anchors>
1134 <Anchor point="CENTER" />
1135 </Anchors>
1136 <Backdrop bgFile="Interface\Addons\Outfitter\Textures\DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border"
1137 tile="true">
1138 <BackgroundInsets>
1139 <AbsInset left="11" right="12" top="12" bottom="11" />
1140 </BackgroundInsets>
1141 <TileSize>
1142 <AbsValue val="32" />
1143 </TileSize>
1144 <EdgeSize>
1145 <AbsValue val="32" />
1146 </EdgeSize>
1147 </Backdrop>
1148 <Layers>
1149 <Layer level="ARTWORK">
1150 <Texture name="$parentFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
1151 <Size>
1152 <AbsDimension x="256" y="64" />
1153 </Size>
1154 <Anchors>
1155 <Anchor point="TOP">
1156 <Offset>
1157 <AbsDimension x="0" y="12" />
1158 </Offset>
1159 </Anchor>
1160 </Anchors>
1161 </Texture>
1162 <FontString name="$parentTitle" inherits="GameFontNormal" text="Outfitter_cNewOutfit">
1163 <Anchors>
1164 <Anchor point="TOP" relativeTo="$parentFrameHeader">
1165 <Offset>
1166 <AbsDimension x="0" y="-14" />
1167 </Offset>
1168 </Anchor>
1169 </Anchors>
1170 </FontString>
1171 <FontString name="$parentError" inherits="GameFontRed" hidden="true" text="Outfitter_cNameAlreadyUsedError">
1172 <Size>
1173 <AbsDimension x="280"/>
1174 </Size>
1175 <Anchors>
1176 <Anchor point="BOTTOM">
1177 <Offset>
1178 <AbsDimension x="0" y="48"/>
1179 </Offset>
1180 </Anchor>
1181 </Anchors>
1182 </FontString>
1183 </Layer>
1184 </Layers>
1185 <Frames>
1186 <EditBox name="$parentName" letters="40" historyLines="0" autofocus="false" inherits="OutfitterInputBoxTemplate">
1187 <Size>
1188 <AbsDimension x="170" y="20" />
1189 </Size>
1190 <Anchors>
1191 <Anchor point="TOPLEFT">
1192 <Offset>
1193 <AbsDimension x="115" y="-40" />
1194 </Offset>
1195 </Anchor>
1196 </Anchors>
1197 <Layers>
1198 <Layer level="BACKGROUND">
1199 <FontString inherits="GameFontNormalSmall" text="Outfitter_cNameLabel" justifyH="RIGHT">
1200 <Anchors>
1201 <Anchor point="RIGHT" relativePoint="LEFT">
1202 <Offset>
1203 <AbsDimension x="-12" y="0" />
1204 </Offset>
1205 </Anchor>
1206 </Anchors>
1207 </FontString>
1208 </Layer>
1209 </Layers>
1210 <Scripts>
1211 <OnTextChanged>
1212 OutfitterNameOutfit_Update()
1213 </OnTextChanged>
1214 <OnEditFocusLost></OnEditFocusLost>
1215 <OnEscapePressed>
1216 this:ClearFocus();
1217 </OnEscapePressed>
1218 <OnEnterPressed>
1219 OutfitterNameOutfit_Done();
1220 </OnEnterPressed>
1221 </Scripts>
1222 <FontString inherits="ChatFontNormal" />
1223 </EditBox>
1224 <Frame name="$parentCreateUsing" inherits="UIDropDownMenuTemplate" hidden="false">
1225 <Anchors>
1226 <Anchor point="TOPLEFT" relativeTo="$parentName">
1227 <Offset>
1228 <AbsDimension x="-24" y="-30"/>
1229 </Offset>
1230 </Anchor>
1231 </Anchors>
1232 <Layers>
1233 <Layer level="OVERLAY">
1234 <FontString name="$parentTitle" text="Outfitter_cCreateUsingTitle" inherits="GameFontNormalSmall">
1235 <Anchors>
1236 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
1237 <Offset>
1238 <AbsDimension x="14" y="13"/>
1239 </Offset>
1240 </Anchor>
1241 </Anchors>
1242 </FontString>
1243 </Layer>
1244 </Layers>
1245 <Scripts>
1246 <OnLoad>
1247 OutfitterStatDropdown_OnLoad();
1248 </OnLoad>
1249 <OnShow>
1250 OutfitterStatDropdown_OnLoad();
1251 </OnShow>
1252 </Scripts>
1253 </Frame>
1254 <Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
1255 <Size>
1256 <AbsDimension x="80" y="21" />
1257 </Size>
1258 <Anchors>
1259 <Anchor point="BOTTOMRIGHT">
1260 <Offset>
1261 <AbsDimension x="-15" y="20" />
1262 </Offset>
1263 </Anchor>
1264 </Anchors>
1265 <Scripts>
1266 <OnClick>
1267 PlaySound("igMainMenuOptionCheckBoxOn");
1268 OutfitterNameOutfit_Cancel();
1269 </OnClick>
1270 </Scripts>
1271 </Button>
1272 <Button name="$parentDoneButton" inherits="UIPanelButtonTemplate" text="OKAY">
1273 <Size>
1274 <AbsDimension x="80" y="21" />
1275 </Size>
1276 <Anchors>
1277 <Anchor point="RIGHT" relativeTo="$parentCancelButton" relativePoint="LEFT">
1278 <Offset>
1279 <AbsDimension x="-7" y="0" />
1280 </Offset>
1281 </Anchor>
1282 </Anchors>
1283 <Scripts>
1284 <OnClick>
1285 PlaySound("igMainMenuOptionCheckBoxOn");
1286 OutfitterNameOutfit_Done();
1287 </OnClick>
1288 </Scripts>
1289 </Button>
1290 </Frames>
1291 <Scripts>
1292 <OnLoad>
1293 this.baseHeight = this:GetHeight();
1294 </OnLoad>
1295 <OnShow>
1296 OutfitterNameOutfit_Update();
1297 </OnShow>
1298 </Scripts>
1299 </Frame>
1300 <Button name="OutfitterMinimapButton" hidden="false" enableMouse="true" movable="true" parent="Minimap" toplevel="true">
1301 <Size>
1302 <AbsDimension x="32" y="32"/>
1303 </Size>
1304 <Anchors>
1305 <Anchor point="CENTER">
1306 <Offset><AbsDimension x="-80" y="0"/></Offset>
1307 </Anchor>
1308 </Anchors>
1309 <NormalTexture file="Interface\Addons\Outfitter\Textures\MinimapButton"/>
1310 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
1311 <Scripts>
1312 <OnLoad>
1313 this:RegisterForDrag("LeftButton");
1314 </OnLoad>
1315 <OnDragStart>
1316 OutfitterMinimapButton_DragStart();
1317 </OnDragStart>
1318 <OnDragStop>
1319 OutfitterMinimapButton_DragEnd();
1320 </OnDragStop>
1321 <OnMouseDown>
1322 OutfitterMinimapButton_MouseDown();
1323 </OnMouseDown>
1324 <OnMouseUp>
1325 OutfitterMinimapDropDown_OnLoad();
1326 this.ChangedValueFunc = OutfitterMinimapButton_ItemSelected;
1327 ToggleDropDownMenu(nil, nil, this);
1328  
1329 -- Hack to force the menu to position correctly. UIDropDownMenu code
1330 -- keeps thinking that it's off the screen and trying to reposition
1331 -- it, which it does very poorly
1332  
1333 OutfitterMinimapDropDown_AdjustScreenPosition(this);
1334  
1335 PlaySound("igMainMenuOptionCheckBoxOn");
1336 </OnMouseUp>
1337 <OnEnter>
1338 GameTooltip_AddNewbieTip(Outfitter_cMinimapButtonTitle, 1, 1, 1, Outfitter_cMinimapButtonDescription, 1);
1339 </OnEnter>
1340 <OnLeave>
1341 GameTooltip:Hide();
1342 </OnLeave>
1343 </Scripts>
1344 </Button>
1345 <GameTooltip name="OutfitterTooltip" parent="UIParent" hidden="true" inherits="GameTooltipTemplate">
1346 <Anchors>
1347 <Anchor point="CENTER"/>
1348 </Anchors>
1349 </GameTooltip>
1350 <Frame name="OutfitterUpdateFrame" toplevel="true" parent="UIParent" hidden="true">
1351 <Scripts>
1352 <OnUpdate>OutfitterUpdateFrame_OnUpdate(arg1);</OnUpdate>
1353 </Scripts>
1354 </Frame>
1355 <Frame name="OutfitterQuickSlotItemTemplate" hidden="true" virtual="true">
1356 <Size>
1357 <AbsDimension x="37" y="37"/>
1358 </Size>
1359 <Frames>
1360 <Button name="$parentItem1" hidden="false" inherits="ContainerFrameItemButtonTemplate">
1361 <Scripts>
1362 <OnEnter>
1363 OutfitterQuickSlotItemButton_OnEnter(this);
1364 </OnEnter>
1365 <OnUpdate>
1366 if GameTooltip:IsOwned(this) then
1367 OutfitterQuickSlotItemButton_OnEnter(this);
1368 end
1369 </OnUpdate>
1370 </Scripts>
1371 </Button>
1372 </Frames>
1373 <Scripts>
1374 <OnEvent>
1375 ContainerFrame_OnEvent();
1376 </OnEvent>
1377 <OnLoad>
1378 OutfitterQuickSlotItem_OnLoad();
1379 </OnLoad>
1380 <OnShow>
1381 OutfitterQuickSlotItem_OnShow();
1382 </OnShow>
1383 <OnHide>
1384 OutfitterQuickSlotItem_OnHide();
1385 </OnHide>
1386 </Scripts>
1387 </Frame>
1388 <Frame name="OutfitterQuickSlots" enableMouse="true" frameStrata="DIALOG" parent="PaperDollFrame" hidden="true">
1389 <Size>
1390 <AbsDimension x="95" y="51"/>
1391 </Size>
1392 <Anchors>
1393 <Anchor point="TOPLEFT"/>
1394 </Anchors>
1395 <Layers>
1396 <Layer level="BACKGROUND">
1397 <Texture name="$parentBack0" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1398 <Size>
1399 <AbsDimension x="26" y="51"/>
1400 </Size>
1401 <Anchors>
1402 <Anchor point="LEFT"/>
1403 </Anchors>
1404 <TexCoords left="0" top="0" right="0.203125" bottom="0.796875"/>
1405 </Texture>
1406 <Texture name="$parentBack1" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1407 <Size>
1408 <AbsDimension x="42" y="51"/>
1409 </Size>
1410 <Anchors>
1411 <Anchor point="LEFT" relativeTo="$parentBack0" relativePoint="RIGHT"/>
1412 </Anchors>
1413 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1414 </Texture>
1415 <Texture name="$parentBack2" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1416 <Size>
1417 <AbsDimension x="42" y="51"/>
1418 </Size>
1419 <Anchors>
1420 <Anchor point="LEFT" relativeTo="$parentBack1" relativePoint="RIGHT"/>
1421 </Anchors>
1422 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1423 </Texture>
1424 <Texture name="$parentBack3" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1425 <Size>
1426 <AbsDimension x="42" y="51"/>
1427 </Size>
1428 <Anchors>
1429 <Anchor point="LEFT" relativeTo="$parentBack2" relativePoint="RIGHT"/>
1430 </Anchors>
1431 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1432 </Texture>
1433 <Texture name="$parentBack4" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1434 <Size>
1435 <AbsDimension x="42" y="51"/>
1436 </Size>
1437 <Anchors>
1438 <Anchor point="LEFT" relativeTo="$parentBack3" relativePoint="RIGHT"/>
1439 </Anchors>
1440 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1441 </Texture>
1442 <Texture name="$parentBack5" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1443 <Size>
1444 <AbsDimension x="42" y="51"/>
1445 </Size>
1446 <Anchors>
1447 <Anchor point="LEFT" relativeTo="$parentBack4" relativePoint="RIGHT"/>
1448 </Anchors>
1449 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1450 </Texture>
1451 <Texture name="$parentBack6" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1452 <Size>
1453 <AbsDimension x="42" y="51"/>
1454 </Size>
1455 <Anchors>
1456 <Anchor point="LEFT" relativeTo="$parentBack5" relativePoint="RIGHT"/>
1457 </Anchors>
1458 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1459 </Texture>
1460 <Texture name="$parentBack7" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1461 <Size>
1462 <AbsDimension x="42" y="51"/>
1463 </Size>
1464 <Anchors>
1465 <Anchor point="LEFT" relativeTo="$parentBack6" relativePoint="RIGHT"/>
1466 </Anchors>
1467 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1468 </Texture>
1469 <Texture name="$parentBack8" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1470 <Size>
1471 <AbsDimension x="42" y="51"/>
1472 </Size>
1473 <Anchors>
1474 <Anchor point="LEFT" relativeTo="$parentBack7" relativePoint="RIGHT"/>
1475 </Anchors>
1476 <TexCoords left="0.203125" top="0" right="0.53125" bottom="0.796875"/>
1477 </Texture>
1478 <Texture name="$parentBackEnd" file="Interface\Addons\Outfitter\Textures\QuickSlotsBackground">
1479 <Size>
1480 <AbsDimension x="27" y="51"/>
1481 </Size>
1482 <Anchors>
1483 <Anchor point="LEFT" relativeTo="$parentBack8" relativePoint="RIGHT"/>
1484 </Anchors>
1485 <TexCoords left="0.53125" top="0" right="0.7421875" bottom="0.796875"/>
1486 </Texture>
1487 </Layer>
1488 </Layers>
1489 <Frames>
1490 <Frame name="$parentItem1" ID="1" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1491 <Frame name="$parentItem2" ID="2" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1492 <Frame name="$parentItem3" ID="3" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1493 <Frame name="$parentItem4" ID="4" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1494 <Frame name="$parentItem5" ID="5" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1495 <Frame name="$parentItem6" ID="6" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1496 <Frame name="$parentItem7" ID="7" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1497 <Frame name="$parentItem8" ID="8" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1498 <Frame name="$parentItem9" ID="9" hidden="true" inherits="OutfitterQuickSlotItemTemplate"/>
1499 </Frames>
1500 <Scripts>
1501 <OnLoad>
1502 OutfitterQuickSlots_OnLoad();
1503 </OnLoad>
1504 <OnShow>
1505 OutfitterQuickSlots_OnShow();
1506 </OnShow>
1507 <OnHide>
1508 OutfitterQuickSlots_OnHide();
1509 </OnHide>
1510 <OnEvent>
1511 OutfitterQuickSlots_OnEvent(event);
1512 </OnEvent>
1513 </Scripts>
1514 </Frame>
1515 </UI>