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/">
2  
3 <!-- nil/1/0 checkboxes for cloak/helm -->
4 <CheckButton name="ItemRackTristateTemplate" inherits="UICheckButtonTemplate" virtual="true">
5 <Size>
6 <AbsDimension x="18" y="18"/>
7 </Size>
8 <Scripts>
9 <OnLoad>
10 ItemRack_TriStateCheck_OnLoad()
11 </OnLoad>
12 <OnClick>
13 ItemRack_TriStateCheck_OnClick()
14 </OnClick>
15 <OnEnter>
16 ItemRack_TriStateCheck_Tooltip()
17 </OnEnter>
18 <OnLeave>
19 GameTooltip:Hide()
20 </OnLeave>
21 </Scripts>
22 </CheckButton>
23  
24 <!-- template for scrollable options -->
25 <Button name="ItemRackOptListTemplate" enableMouse="false" virtual="true">
26 <Size>
27 <AbsDimension x="168" y="19"/>
28 </Size>
29 <Frames>
30 <CheckButton name="$parentCheckButton" inherits="UICheckButtonTemplate">
31 <Size>
32 <AbsDimension x="24" y="24"/>
33 </Size>
34 <Anchors>
35 <Anchor point="TOPLEFT">
36 <Offset>
37 <AbsDimension x="2" y="-3"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 <Scripts>
42 <OnEnter>
43 ItemRack_OptList_OnEnter()
44 </OnEnter>
45 <OnLeave>
46 GameTooltip:Hide()
47 </OnLeave>
48 <OnClick>
49 ItemRack_OptList_OnClick()
50 </OnClick>
51 </Scripts>
52 </CheckButton>
53 </Frames>
54 <Scripts>
55 <OnMouseDown>
56 if arg1=="LeftButton" then
57 ItemRack_SetsFrame:StartMoving()
58 end
59 </OnMouseDown>
60 <OnMouseUp>
61 ItemRack_SetsFrame:StopMovingOrSizing()
62 </OnMouseUp>
63 </Scripts>
64 </Button>
65  
66 <!-- template for single-line edit boxes -->
67 <EditBox name="ItemRackEditBoxTemplate" historyLines="0" enableMouse="true" autoFocus="false" letters="256" virtual="true">
68 <Size>
69 <AbsDimension x="160" y="20"/>
70 </Size>
71 <Layers>
72 <Layer level="BACKGROUND">
73 <Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
74 <Size>
75 <AbsDimension x="12" y="29"/>
76 </Size>
77 <Anchors>
78 <Anchor point="TOPLEFT">
79 <Offset>
80 <AbsDimension x="-11" y="2"/>
81 </Offset>
82 </Anchor>
83 </Anchors>
84 <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
85 </Texture>
86 <Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
87 <Size>
88 <AbsDimension x="12" y="29"/>
89 </Size>
90 <Anchors>
91 <Anchor point="TOPRIGHT">
92 <Offset>
93 <AbsDimension x="4" y="2"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 <TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
98 </Texture>
99 <Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
100 <Anchors>
101 <Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
102 <Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
103 </Anchors>
104 <TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
105 </Texture>
106 </Layer>
107 </Layers>
108 <FontString inherits="GameFontHighlightSmall"/>
109 <Scripts>
110 <OnEnter>
111 ItemRack_Opt_OnEnter()
112 </OnEnter>
113 <OnLeave>
114 GameTooltip:Hide()
115 </OnLeave>
116 <OnEscapePressed>
117 this:ClearFocus()
118 </OnEscapePressed>
119 <OnEnterPressed>
120 this:ClearFocus()
121 </OnEnterPressed>
122 </Scripts>
123 </EditBox>
124  
125 <Button name="ItemRackTabTemplate" inherits="UIPanelButtonGrayTemplate" text="Options" virtual="true">
126 <NormalText inherits="GameFontHighlightSmall"/>
127 <DisabledText inherits="GameFontDisableSmall"/>
128 <HighlightText inherits="GameFontHighlightSmall"/>
129 <Scripts>
130 <OnClick>
131 ItemRack_Tab(this:GetID())
132 </OnClick>
133 </Scripts>
134 </Button>
135  
136 <Button name="ItemRackSetsButtonTemplate" inherits="GameMenuButtonTemplate" virtual="true">
137 <Size>
138 <AbsDimension x="55" y="26"/>
139 </Size>
140 <NormalText inherits="GameFontNormalSmall"/>
141 <DisabledText inherits="GameFontDisableSmall"/>
142 <HighlightText inherits="GameFontNormalSmall"/>
143 <Scripts>
144 <OnEnter>
145 ItemRack_Opt_OnEnter()
146 </OnEnter>
147 <OnLeave>
148 GameTooltip:Hide()
149 </OnLeave>
150 </Scripts>
151 </Button>
152  
153 <Button name="ItemRackEventListTemplate" virtual="true">
154 <Size>
155 <AbsDimension x="140" y="26"/>
156 </Size>
157 <Layers>
158 <Layer level="BACKGROUND">
159 <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT" text="Event Name">
160 <Size>
161 <AbsDimension x="96" y="14"/>
162 </Size>
163 <Anchors>
164 <Anchor point="TOPLEFT">
165 <Offset>
166 <AbsDimension x="48" y="-5"/>
167 </Offset>
168 </Anchor>
169 </Anchors>
170 </FontString>
171 </Layer>
172 </Layers>
173 <Frames>
174 <Button name="$parentIcon">
175 <Size>
176 <AbsDimension x="24" y="24"/>
177 </Size>
178 <Anchors>
179 <Anchor point="TOPLEFT">
180 <Offset>
181 <AbsDimension x="20" y="-1"/>
182 </Offset>
183 </Anchor>
184 </Anchors>
185 <NormalTexture file="Interface\Icons\INV_Misc_QuestionMark"/>
186 <PushedTexture file="Interface\Icons\INV_Misc_QuestionMark">
187 <Size>
188 <AbsDimension x="22" y="22"/>
189 </Size>
190 <Anchors>
191 <Anchor point="CENTER"/>
192 </Anchors>
193 <TexCoords left=".15" right=".85" top=".15" bottom=".85"/>
194 </PushedTexture>
195 <HighlightTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
196 <Scripts>
197 <OnEnter>
198 ItemRack_EventsListIcon_OnEnter()
199 </OnEnter>
200 <OnLeave>
201 GameTooltip:Hide()
202 </OnLeave>
203 <OnClick>
204 ItemRack_EventsListIcon_OnClick()
205 </OnClick>
206 </Scripts>
207 </Button>
208 <CheckButton name="$parentEnable" inherits="ItemRackCheckTemplate">
209 <Anchors>
210 <Anchor point="TOPLEFT">
211 <Offset>
212 <AbsDimension x="2" y="-3"/>
213 </Offset>
214 </Anchor>
215 </Anchors>
216 <Scripts>
217 <OnEnter>
218 ItemRack_OnTooltip(ItemRackText.ENABLEEVENT_TEXT,ItemRackText.ENABLEEVENT_TOOLTIP)
219 </OnEnter>
220 <OnLeave>
221 GameTooltip:Hide()
222 </OnLeave>
223 <OnClick>
224 ItemRack_EventsList_EnableOnClick()
225 </OnClick>
226 </Scripts>
227 </CheckButton>
228 </Frames>
229 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
230 <Scripts>
231 <OnEnter>
232 ItemRack_EventsList_OnEnter()
233 </OnEnter>
234 <OnLeave>
235 GameTooltip:Hide()
236 </OnLeave>
237 <OnClick>
238 ItemRack_EventsList_OnClick(arg1)
239 </OnClick>
240 <OnDoubleClick>
241 ItemRack_EventButtons("Edit")
242 </OnDoubleClick>
243 </Scripts>
244 </Button>
245  
246 <Button name="ItemRackSetsCompactTemplate" hidden="true" virtual="true">
247 <Size>
248 <AbsDimension x="140" y="21"/>
249 </Size>
250 <Layers>
251 <Layer level="BACKGROUND">
252 <Texture name="$parentIcon">
253 <Size>
254 <AbsDimension x="18" y="18"/>
255 </Size>
256 <Anchors>
257 <Anchor point="TOPLEFT">
258 <Offset>
259 <AbsDimension x="0" y="-1"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 </Texture>
264 <FontString name="$parentName" inherits="GameFontHighlight" justifyH="LEFT" text="Set Name">
265 <Size>
266 <AbsDimension x="108" y="14"/>
267 </Size>
268 <Anchors>
269 <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT">
270 <Offset>
271 <AbsDimension x="4" y="-1"/>
272 </Offset>
273 </Anchor>
274 </Anchors>
275 </FontString>
276 </Layer>
277 </Layers>
278 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
279 <Scripts>
280 <OnEnter>
281 ItemRack_Sets_Saved_OnEnter()
282 </OnEnter>
283 <OnLeave>
284 GameTooltip:Hide()
285 </OnLeave>
286 <OnClick>
287 ItemRack_Sets_Saved_OnClick(arg1)
288 </OnClick>
289 </Scripts>
290 </Button>
291  
292 <Button name="ItemRackSetsSavedIconTemplate" hidden="true" virtual="true">
293 <Size>
294 <AbsDimension x="140" y="28"/>
295 </Size>
296 <Layers>
297 <Layer level="BACKGROUND">
298 <Texture name="$parentIcon">
299 <Size>
300 <AbsDimension x="26" y="26"/>
301 </Size>
302 <Anchors>
303 <Anchor point="TOPLEFT">
304 <Offset>
305 <AbsDimension x="0" y="-1"/>
306 </Offset>
307 </Anchor>
308 </Anchors>
309 </Texture>
310 <FontString name="$parentName" inherits="GameFontHighlight" justifyH="LEFT" text="Set Name">
311 <Size>
312 <AbsDimension x="108" y="14"/>
313 </Size>
314 <Anchors>
315 <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT">
316 <Offset>
317 <AbsDimension x="4" y="-1"/>
318 </Offset>
319 </Anchor>
320 </Anchors>
321 </FontString>
322 <FontString name="$parentCount" inherits="GameFontHighlightSmall" justifyH="LEFT" text="10 slots">
323 <Size>
324 <AbsDimension x="50" y="14"/>
325 </Size>
326 <Anchors>
327 <Anchor point="BOTTOMLEFT" relativeTo="$parentIcon" relativePoint="BOTTOMRIGHT">
328 <Offset>
329 <AbsDimension x="4" y="0"/>
330 </Offset>
331 </Anchor>
332 </Anchors>
333 </FontString>
334 <FontString name="$parentKey" inherits="GameFontHighlightSmall" justifyH="RIGHT" text="CTRL+1">
335 <Size>
336 <AbsDimension x="50" y="14"/>
337 </Size>
338 <Anchors>
339 <Anchor point="BOTTOMRIGHT">
340 <Offset>
341 <AbsDimension x="-4" y="1"/>
342 </Offset>
343 </Anchor>
344 </Anchors>
345 </FontString>
346 </Layer>
347 </Layers>
348 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
349 <Scripts>
350 <OnEnter>
351 ItemRack_Sets_Saved_OnEnter()
352 </OnEnter>
353 <OnLeave>
354 GameTooltip:Hide()
355 </OnLeave>
356 <OnClick>
357 ItemRack_Sets_Saved_OnClick(arg1)
358 </OnClick>
359 </Scripts>
360 </Button>
361  
362 <CheckButton name="ItemRackSetsInvTemplate" inherits="ActionButtonTemplate" virtual="true">
363 <Size>
364 <AbsDimension x="36" y="36"/>
365 </Size>
366 <Scripts>
367 <OnLoad>
368 this:RegisterForClicks("LeftButtonUp","RightButtonUp")
369 </OnLoad>
370 <OnEnter>
371 ItemRack_Inv_Tooltip()
372 ItemRack_Sets_Inv_OnEnter()
373 </OnEnter>
374 <OnLeave>
375 GameTooltip:Hide()
376 </OnLeave>
377 <OnClick>
378 ItemRack_Sets_InvToggle()
379 </OnClick>
380 </Scripts>
381 </CheckButton>
382  
383 <Button name="ItemRackSetsIconTemplate" virtual="true">
384 <Size>
385 <AbsDimension x="28" y="28"/>
386 </Size>
387 <NormalTexture file="Interface\Icons\INV_Misc_Coin_02"/>
388 <HighlightTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
389 <PushedTexture file="Interface\Icons\INV_Misc_Coin_02"/>
390 <Scripts>
391 <OnClick>
392 ItemRack_Sets_Icon_OnClick()
393 </OnClick>
394 </Scripts>
395 </Button>
396  
397 <Frame name="ItemRack_SetsFrame" hidden="true" movable="true" toplevel="true" enableMouse="true">
398 <Size>
399 <AbsDimension x="280" y="334"/>
400 </Size>
401 <Anchors>
402 <Anchor point="CENTER">
403 <Offset>
404 <AbsDimension x="0" y="100"/>
405 </Offset>
406 </Anchor>
407 </Anchors>
408  
409 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
410 <BackgroundInsets>
411 <AbsInset left="4" right="4" top="4" bottom="4" />
412 </BackgroundInsets>
413 <TileSize>
414 <AbsValue val="16" />
415 </TileSize>
416 <EdgeSize>
417 <AbsValue val="16" />
418 </EdgeSize>
419 </Backdrop>
420  
421 <Layers>
422 <Layer level="BACKGROUND">
423 <FontString name="ItemRack_Sets_Title" inherits="GameFontNormalSmall" text="ItemRack">
424 <Anchors>
425 <Anchor point="TOPLEFT" relativeTo="ItemRack_SetsFrame" relativePoint="TOPLEFT">
426 <Offset>
427 <AbsDimension x="8" y="-9"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 <Color r=".65" g=".65" b=".65"/>
432 </FontString>
433 </Layer>
434 </Layers>
435  
436 <Frames>
437  
438 <Button name="ItemRack_Sets_Close">
439 <Size>
440 <AbsDimension x="16" y="16"/>
441 </Size>
442 <Anchors>
443 <Anchor point="TOPRIGHT">
444 <Offset>
445 <AbsDimension x="-6" y="-6"/>
446 </Offset>
447 </Anchor>
448 </Anchors>
449 <NormalTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
450 <TexCoords left=".5" right=".75" top=".25" bottom=".5"/>
451 </NormalTexture>
452 <PushedTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
453 <TexCoords left=".75" right="1" top=".25" bottom=".5"/>
454 </PushedTexture>
455 <HighlightTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons" alphaMode="ADD">
456 <TexCoords left=".25" right=".5" top=".5" bottom=".75"/>
457 </HighlightTexture>
458 <Scripts>
459 <OnEnter>
460 ItemRack_Opt_OnEnter()
461 </OnEnter>
462 <OnLeave>
463 GameTooltip:Hide()
464 </OnLeave>
465 <OnClick>
466 ItemRack_SetsFrame:Hide()
467 </OnClick>
468 </Scripts>
469 </Button>
470  
471 <Button name="ItemRack_Sets_Lock" inherits="ItemRackControlButtonTemplate">
472 <Anchors>
473 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Close" relativePoint="TOPLEFT">
474 <Offset>
475 <AbsDimension x="-2" y="0"/>
476 </Offset>
477 </Anchor>
478 </Anchors>
479 <NormalTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
480 <TexCoords left=".5" right=".75" top="0" bottom=".25"/>
481 </NormalTexture>
482 <PushedTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
483 <TexCoords left=".75" right="1" top="0" bottom=".25"/>
484 </PushedTexture>
485 </Button>
486  
487 <CheckButton name="ItemRack_Sets_Inv1" inherits="ItemRackSetsInvTemplate" id="1">
488 <Anchors>
489 <Anchor point="TOPLEFT" relativeTo="ItemRack_SetsFrame" relativePoint="TOPLEFT">
490 <Offset>
491 <AbsDimension x="8" y="-24"/>
492 </Offset>
493 </Anchor>
494 </Anchors>
495 </CheckButton>
496 <CheckButton name="ItemRack_Sets_Inv2" inherits="ItemRackSetsInvTemplate" id="2">
497 <Anchors>
498 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv1" relativePoint="BOTTOMLEFT">
499 <Offset>
500 <AbsDimension x="0" y="-2"/>
501 </Offset>
502 </Anchor>
503 </Anchors>
504 </CheckButton>
505 <CheckButton name="ItemRack_Sets_Inv3" inherits="ItemRackSetsInvTemplate" id="3">
506 <Anchors>
507 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv2" relativePoint="BOTTOMLEFT">
508 <Offset>
509 <AbsDimension x="0" y="-2"/>
510 </Offset>
511 </Anchor>
512 </Anchors>
513 </CheckButton>
514 <CheckButton name="ItemRack_Sets_Inv15" inherits="ItemRackSetsInvTemplate" id="15">
515 <Anchors>
516 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv3" relativePoint="BOTTOMLEFT">
517 <Offset>
518 <AbsDimension x="0" y="-2"/>
519 </Offset>
520 </Anchor>
521 </Anchors>
522 </CheckButton>
523 <CheckButton name="ItemRack_Sets_Inv5" inherits="ItemRackSetsInvTemplate" id="5">
524 <Anchors>
525 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv15" relativePoint="BOTTOMLEFT">
526 <Offset>
527 <AbsDimension x="0" y="-2"/>
528 </Offset>
529 </Anchor>
530 </Anchors>
531 </CheckButton>
532 <CheckButton name="ItemRack_Sets_Inv4" inherits="ItemRackSetsInvTemplate" id="4">
533 <Anchors>
534 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv5" relativePoint="BOTTOMLEFT">
535 <Offset>
536 <AbsDimension x="0" y="-2"/>
537 </Offset>
538 </Anchor>
539 </Anchors>
540 </CheckButton>
541 <CheckButton name="ItemRack_Sets_Inv19" inherits="ItemRackSetsInvTemplate" id="19">
542 <Anchors>
543 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv4" relativePoint="BOTTOMLEFT">
544 <Offset>
545 <AbsDimension x="0" y="-2"/>
546 </Offset>
547 </Anchor>
548 </Anchors>
549 </CheckButton>
550 <CheckButton name="ItemRack_Sets_Inv9" inherits="ItemRackSetsInvTemplate" id="9">
551 <Anchors>
552 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Inv19" relativePoint="BOTTOMLEFT">
553 <Offset>
554 <AbsDimension x="0" y="-2"/>
555 </Offset>
556 </Anchor>
557 </Anchors>
558 </CheckButton>
559  
560 <CheckButton name="ItemRack_Sets_Inv16" inherits="ItemRackSetsInvTemplate" id="16">
561 <Anchors>
562 <Anchor point="BOTTOM" relativeTo="ItemRack_SetsFrame" relativePoint="BOTTOM">
563 <Offset>
564 <AbsDimension x="-57" y="8"/>
565 </Offset>
566 </Anchor>
567 </Anchors>
568 </CheckButton>
569 <CheckButton name="ItemRack_Sets_Inv17" inherits="ItemRackSetsInvTemplate" id="17">
570 <Anchors>
571 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_Inv16" relativePoint="BOTTOMRIGHT">
572 <Offset>
573 <AbsDimension x="2" y="0"/>
574 </Offset>
575 </Anchor>
576 </Anchors>
577 </CheckButton>
578 <CheckButton name="ItemRack_Sets_Inv18" inherits="ItemRackSetsInvTemplate" id="18">
579 <Anchors>
580 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_Inv17" relativePoint="BOTTOMRIGHT">
581 <Offset>
582 <AbsDimension x="2" y="0"/>
583 </Offset>
584 </Anchor>
585 </Anchors>
586 </CheckButton>
587 <CheckButton name="ItemRack_Sets_Inv0" inherits="ItemRackSetsInvTemplate" id="0">
588 <Anchors>
589 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_Inv18" relativePoint="BOTTOMRIGHT">
590 <Offset>
591 <AbsDimension x="2" y="0"/>
592 </Offset>
593 </Anchor>
594 </Anchors>
595 </CheckButton>
596  
597 <CheckButton name="ItemRack_Sets_Inv10" inherits="ItemRackSetsInvTemplate" id="10">
598 <Anchors>
599 <Anchor point="TOPRIGHT" relativeTo="ItemRack_SetsFrame" relativePoint="TOPRIGHT">
600 <Offset>
601 <AbsDimension x="-8" y="-24"/>
602 </Offset>
603 </Anchor>
604 </Anchors>
605 </CheckButton>
606 <CheckButton name="ItemRack_Sets_Inv6" inherits="ItemRackSetsInvTemplate" id="6">
607 <Anchors>
608 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv10" relativePoint="BOTTOMRIGHT">
609 <Offset>
610 <AbsDimension x="0" y="-2"/>
611 </Offset>
612 </Anchor>
613 </Anchors>
614 </CheckButton>
615 <CheckButton name="ItemRack_Sets_Inv7" inherits="ItemRackSetsInvTemplate" id="7">
616 <Anchors>
617 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv6" relativePoint="BOTTOMRIGHT">
618 <Offset>
619 <AbsDimension x="0" y="-2"/>
620 </Offset>
621 </Anchor>
622 </Anchors>
623 </CheckButton>
624 <CheckButton name="ItemRack_Sets_Inv8" inherits="ItemRackSetsInvTemplate" id="8">
625 <Anchors>
626 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv7" relativePoint="BOTTOMRIGHT">
627 <Offset>
628 <AbsDimension x="0" y="-2"/>
629 </Offset>
630 </Anchor>
631 </Anchors>
632 </CheckButton>
633 <CheckButton name="ItemRack_Sets_Inv11" inherits="ItemRackSetsInvTemplate" id="11">
634 <Anchors>
635 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv8" relativePoint="BOTTOMRIGHT">
636 <Offset>
637 <AbsDimension x="0" y="-2"/>
638 </Offset>
639 </Anchor>
640 </Anchors>
641 </CheckButton>
642 <CheckButton name="ItemRack_Sets_Inv12" inherits="ItemRackSetsInvTemplate" id="12">
643 <Anchors>
644 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv11" relativePoint="BOTTOMRIGHT">
645 <Offset>
646 <AbsDimension x="0" y="-2"/>
647 </Offset>
648 </Anchor>
649 </Anchors>
650 </CheckButton>
651 <CheckButton name="ItemRack_Sets_Inv13" inherits="ItemRackSetsInvTemplate" id="13">
652 <Anchors>
653 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv12" relativePoint="BOTTOMRIGHT">
654 <Offset>
655 <AbsDimension x="0" y="-2"/>
656 </Offset>
657 </Anchor>
658 </Anchors>
659 </CheckButton>
660 <CheckButton name="ItemRack_Sets_Inv14" inherits="ItemRackSetsInvTemplate" id="14">
661 <Anchors>
662 <Anchor point="TOPRIGHT" relativeTo="ItemRack_Sets_Inv13" relativePoint="BOTTOMRIGHT">
663 <Offset>
664 <AbsDimension x="0" y="-2"/>
665 </Offset>
666 </Anchor>
667 </Anchors>
668 </CheckButton>
669  
670 <!-- Options tab -->
671 <Frame name="ItemRack_Sets_SubFrame1" hidden="true">
672 <Size>
673 <AbsDimension x="186" y="270"/>
674 </Size>
675 <Anchors>
676 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
677 <Offset>
678 <AbsDimension x="0" y="-20"/>
679 </Offset>
680 </Anchor>
681 </Anchors>
682  
683 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
684 <BackgroundInsets>
685 <AbsInset left="3" right="3" top="6" bottom="6" />
686 </BackgroundInsets>
687 <TileSize>
688 <AbsValue val="16" />
689 </TileSize>
690 <EdgeSize>
691 <AbsValue val="9" />
692 </EdgeSize>
693 </Backdrop>
694  
695 <Layers>
696 <Layer level="BORDER">
697 <Texture file="Interface\ChatFrame\ChatFrameBackground">
698 <Anchors>
699 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_SubFrame1" relativePoint="TOPRIGHT">
700 <Offset>
701 <AbsDimension x="-28" y="-7"/>
702 </Offset>
703 </Anchor>
704 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame1" relativePoint="BOTTOMRIGHT">
705 <Offset>
706 <AbsDimension x="-3" y="7"/>
707 </Offset>
708 </Anchor>
709 </Anchors>
710 <Gradient>
711 <MaxColor r="0.1" g="0.1" b="0.1"/>
712 <MinColor r=".25" g=".25" b=".25"/>
713 </Gradient>
714 </Texture>
715 <Texture file="Interface\ChatFrame\ChatFrameBackground">
716 <Anchors>
717 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_SubFrame1" relativePoint="TOPLEFT">
718 <Offset>
719 <AbsDimension x="3" y="-7"/>
720 </Offset>
721 </Anchor>
722 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame1" relativePoint="BOTTOMLEFT">
723 <Offset>
724 <AbsDimension x="28" y="7"/>
725 </Offset>
726 </Anchor>
727 </Anchors>
728 <Gradient>
729 <MinColor r="0.1" g="0.1" b="0.1"/>
730 <MaxColor r=".25" g=".25" b=".25"/>
731 </Gradient>
732 </Texture>
733 </Layer>
734 </Layers>
735  
736 <Frames>
737 <Frame name="ItemRack_Sets_OptList">
738 <Size>
739 <AbsDimension x="172" y="228"/>
740 </Size>
741 <Anchors>
742 <Anchor point="TOP">
743 <Offset>
744 <AbsDimension x="0" y="-8"/>
745 </Offset>
746 </Anchor>
747 </Anchors>
748 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
749 <EdgeSize>
750 <AbsValue val="8"/>
751 </EdgeSize>
752 <TileSize>
753 <AbsValue val="8"/>
754 </TileSize>
755 <BackgroundInsets>
756 <AbsInset left="3" right="3" top="6" bottom="6"/>
757 </BackgroundInsets>
758 </Backdrop>
759 <Frames>
760 <Button name="ItemRackOptList1" inherits="ItemRackOptListTemplate" id="1">
761 <Anchors>
762 <Anchor point="TOPRIGHT">
763 <Offset>
764 <AbsDimension x="-28" y="-4"/>
765 </Offset>
766 </Anchor>
767 </Anchors>
768 </Button>
769 <Button name="ItemRackOptList2" inherits="ItemRackOptListTemplate" id="2">
770 <Anchors>
771 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList1" relativePoint="BOTTOMRIGHT"/>
772 </Anchors>
773 </Button>
774 <Button name="ItemRackOptList3" inherits="ItemRackOptListTemplate" id="3">
775 <Anchors>
776 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList2" relativePoint="BOTTOMRIGHT"/>
777 </Anchors>
778 </Button>
779 <Button name="ItemRackOptList4" inherits="ItemRackOptListTemplate" id="4">
780 <Anchors>
781 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList3" relativePoint="BOTTOMRIGHT"/>
782 </Anchors>
783 </Button>
784 <Button name="ItemRackOptList5" inherits="ItemRackOptListTemplate" id="5">
785 <Anchors>
786 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList4" relativePoint="BOTTOMRIGHT"/>
787 </Anchors>
788 </Button>
789 <Button name="ItemRackOptList6" inherits="ItemRackOptListTemplate" id="6">
790 <Anchors>
791 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList5" relativePoint="BOTTOMRIGHT"/>
792 </Anchors>
793 </Button>
794 <Button name="ItemRackOptList7" inherits="ItemRackOptListTemplate" id="7">
795 <Anchors>
796 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList6" relativePoint="BOTTOMRIGHT"/>
797 </Anchors>
798 </Button>
799 <Button name="ItemRackOptList8" inherits="ItemRackOptListTemplate" id="8">
800 <Anchors>
801 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList7" relativePoint="BOTTOMRIGHT"/>
802 </Anchors>
803 </Button>
804 <Button name="ItemRackOptList9" inherits="ItemRackOptListTemplate" id="9">
805 <Anchors>
806 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList8" relativePoint="BOTTOMRIGHT"/>
807 </Anchors>
808 </Button>
809 <Button name="ItemRackOptList10" inherits="ItemRackOptListTemplate" id="10">
810 <Anchors>
811 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList9" relativePoint="BOTTOMRIGHT"/>
812 </Anchors>
813 </Button>
814 <Button name="ItemRackOptList11" inherits="ItemRackOptListTemplate" id="11">
815 <Anchors>
816 <Anchor point="TOPRIGHT" relativeTo="ItemRackOptList10" relativePoint="BOTTOMRIGHT"/>
817 </Anchors>
818 </Button>
819 <ScrollFrame name="ItemRack_OptList_ScrollFrame" inherits="FauxScrollFrameTemplate">
820 <Size>
821 <AbsDimension x="172" y="208"/>
822 </Size>
823 <Anchors>
824 <Anchor point="TOPRIGHT">
825 <Offset>
826 <AbsDimension x="-28" y="-10"/>
827 </Offset>
828 </Anchor>
829 </Anchors>
830 <Scripts>
831 <OnVerticalScroll>
832 FauxScrollFrame_OnVerticalScroll(19, ItemRack_OptList_ScrollFrame_Update)
833 </OnVerticalScroll>
834 <OnShow>
835 ItemRack_OptList_ScrollFrame_Update()
836 </OnShow>
837 </Scripts>
838 </ScrollFrame>
839  
840 </Frames>
841 </Frame>
842 <Button name="ItemRack_ResetButton" inherits="UIPanelButtonGrayTemplate" text="Reset Bar">
843 <Size>
844 <AbsDimension x="80" y="24"/>
845 </Size>
846 <Anchors>
847 <Anchor point="BOTTOMRIGHT">
848 <Offset>
849 <AbsDimension x="-8" y="10"/>
850 </Offset>
851 </Anchor>
852 </Anchors>
853 <NormalText inherits="GameFontHighlightSmall"/>
854 <DisabledText inherits="GameFontDisableSmall"/>
855 <HighlightText inherits="GameFontHighlightSmall"/>
856 <Scripts>
857 <OnEnter>
858 ItemRack_Opt_OnEnter()
859 </OnEnter>
860 <OnLeave>
861 GameTooltip:Hide()
862 </OnLeave>
863 <OnClick>
864 ItemRack_Reset()
865 </OnClick>
866 </Scripts>
867 </Button>
868  
869 <Button name="ItemRack_ResetEventsButton" inherits="UIPanelButtonGrayTemplate" text="Reset Events">
870 <Size>
871 <AbsDimension x="80" y="24"/>
872 </Size>
873 <Anchors>
874 <Anchor point="BOTTOMLEFT">
875 <Offset>
876 <AbsDimension x="8" y="10"/>
877 </Offset>
878 </Anchor>
879 </Anchors>
880 <NormalText inherits="GameFontHighlightSmall"/>
881 <DisabledText inherits="GameFontDisableSmall"/>
882 <HighlightText inherits="GameFontHighlightSmall"/>
883 <Scripts>
884 <OnEnter>
885 ItemRack_Opt_OnEnter()
886 </OnEnter>
887 <OnLeave>
888 GameTooltip:Hide()
889 </OnLeave>
890 <OnClick>
891 ItemRack_SlashHandler("reset events")
892 </OnClick>
893 </Scripts>
894 </Button>
895  
896 </Frames>
897 <Scripts>
898 <OnLoad>
899 this:SetBackdropColor(.25,.25,.25,1)
900 </OnLoad>
901 </Scripts>
902  
903 </Frame>
904  
905 <!-- Help tab -->
906 <Frame name="ItemRack_Sets_SubFrame3" hidden="true">
907 <Size>
908 <AbsDimension x="186" y="270"/>
909 </Size>
910 <Anchors>
911 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
912 <Offset>
913 <AbsDimension x="0" y="-20"/>
914 </Offset>
915 </Anchor>
916 </Anchors>
917 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
918 <BackgroundInsets>
919 <AbsInset left="3" right="3" top="6" bottom="6" />
920 </BackgroundInsets>
921 <TileSize>
922 <AbsValue val="16" />
923 </TileSize>
924 <EdgeSize>
925 <AbsValue val="9" />
926 </EdgeSize>
927 </Backdrop>
928 <Layers>
929 <Layer level="BORDER">
930 <Texture file="Interface\ChatFrame\ChatFrameBackground">
931 <Anchors>
932 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_SubFrame3" relativePoint="TOPRIGHT">
933 <Offset>
934 <AbsDimension x="-28" y="-7"/>
935 </Offset>
936 </Anchor>
937 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame3" relativePoint="BOTTOMRIGHT">
938 <Offset>
939 <AbsDimension x="-3" y="7"/>
940 </Offset>
941 </Anchor>
942 </Anchors>
943 <Gradient>
944 <MaxColor r="0.1" g="0.1" b="0.1"/>
945 <MinColor r=".25" g=".25" b=".25"/>
946 </Gradient>
947 </Texture>
948 </Layer>
949 </Layers>
950 <Frames>
951 <ScrollFrame name="ItemRack_Help" inherits="UIPanelScrollFrameTemplate">
952 <Size>
953 <AbsDimension x="150" y="246"/>
954 </Size>
955 <Anchors>
956 <Anchor point="TOPLEFT">
957 <Offset>
958 <AbsDimension x="8" y="-12"/>
959 </Offset>
960 </Anchor>
961 </Anchors>
962 <ScrollChild>
963 <Frame name="ItemRack_Help_ScrollChildFrame" enableMouse="true">
964 <Size>
965 <AbsDimension x="150" y="246"/>
966 </Size>
967 <Anchors>
968 <Anchor point="TOPLEFT">
969 <Offset>
970 <AbsDimension x="8" y="-12"/>
971 </Offset>
972 </Anchor>
973 </Anchors>
974 <Frames>
975 <EditBox name="ItemRack_Help_EditBox" letters="2000" multiLine="true" enableMouse="false" autoFocus="false">
976 <Size>
977 <AbsDimension x="150" y="246"/>
978 </Size>
979 <Anchors>
980 <Anchor point="TOPLEFT"/>
981 </Anchors>
982 <Scripts>
983 <OnLoad>
984 this:SetText("ItemRack version "..ItemRack_Version.."\n\n"..ItemRackText.HELP)
985 </OnLoad>
986 <OnEditFocusGained>
987 this:ClearFocus()
988 </OnEditFocusGained>
989 <OnTextChanged>
990 local scrollBar = getglobal(this:GetParent():GetParent():GetName().."ScrollBar")
991 this:GetParent():GetParent():UpdateScrollChildRect()
992 local min
993 local max
994 min, max = scrollBar:GetMinMaxValues()
995 if ( max > 0 and (this.max ~= max) ) then
996 this.max = max
997 scrollBar:SetValue(min)
998 end
999 </OnTextChanged>
1000 <OnMouseDown>
1001 if arg1=="LeftButton" then
1002 ItemRack_SetsFrame:StartMoving()
1003 end
1004 </OnMouseDown>
1005 <OnMouseUp>
1006 ItemRack_SetsFrame:StopMovingOrSizing()
1007 </OnMouseUp>
1008 </Scripts>
1009 <FontString font="Fonts\ARIALN.TTF">
1010 <FontHeight>
1011 <AbsValue val="12"/>
1012 </FontHeight>
1013 <Color r="1.0" g="1.0" b="1.0"/>
1014 <Shadow>
1015 <Offset>
1016 <AbsDimension x="1" y="-1"/>
1017 </Offset>
1018 <Color r="0" g="0" b="0"/>
1019 </Shadow>
1020 </FontString>
1021 <HighlightColor r="0" g="0" b="0" a="0"/>
1022 </EditBox>
1023 </Frames>
1024 </Frame>
1025 </ScrollChild>
1026 </ScrollFrame>
1027 </Frames>
1028 <Scripts>
1029 <OnLoad>
1030 this:SetBackdropColor(.25,.25,.25,1)
1031 </OnLoad>
1032 </Scripts>
1033  
1034 </Frame>
1035  
1036 <!-- Sets tab -->
1037 <Frame name="ItemRack_Sets_SubFrame2" hidden="true">
1038 <Size>
1039 <AbsDimension x="186" y="270"/>
1040 </Size>
1041 <Anchors>
1042 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
1043 <Offset>
1044 <AbsDimension x="0" y="-20"/>
1045 </Offset>
1046 </Anchor>
1047 </Anchors>
1048  
1049 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1050 <BackgroundInsets>
1051 <AbsInset left="3" right="3" top="6" bottom="6" />
1052 </BackgroundInsets>
1053 <TileSize>
1054 <AbsValue val="16" />
1055 </TileSize>
1056 <EdgeSize>
1057 <AbsValue val="9" />
1058 </EdgeSize>
1059 </Backdrop>
1060  
1061 <Layers>
1062  
1063 <Layer level="ARTWORK">
1064 <FontString name="ItemRack_Sets_NameLabel" inherits="GameFontHighlightSmall">
1065 <Anchors>
1066 <Anchor point="TOPLEFT">
1067 <Offset>
1068 <AbsDimension x="16" y="-8"/>
1069 </Offset>
1070 </Anchor>
1071 </Anchors>
1072 </FontString>
1073 <Texture name="ItemRack_DropTextureLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
1074 <Size>
1075 <AbsDimension x="25" y="64"/>
1076 </Size>
1077 <Anchors>
1078 <Anchor point="TOPLEFT">
1079 <Offset>
1080 <AbsDimension x="-11" y="-4"/>
1081 </Offset>
1082 </Anchor>
1083 </Anchors>
1084 <TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
1085 </Texture>
1086 <Texture name="ItemRack_DropTextureMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
1087 <Size>
1088 <AbsDimension x="156" y="64"/>
1089 </Size>
1090 <Anchors>
1091 <Anchor point="LEFT" relativeTo="ItemRack_DropTextureLeft" relativePoint="RIGHT"/>
1092 </Anchors>
1093 <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
1094 </Texture>
1095 <Texture name="ItemRack_DropTextureRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
1096 <Size>
1097 <AbsDimension x="25" y="64"/>
1098 </Size>
1099 <Anchors>
1100 <Anchor point="LEFT" relativeTo="ItemRack_DropTextureMiddle" relativePoint="RIGHT"/>
1101 </Anchors>
1102 <TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
1103 </Texture>
1104 </Layer>
1105 </Layers>
1106 <Frames>
1107 <Button name="ItemRack_Sets_DropDownButton">
1108 <Size>
1109 <AbsDimension x="24" y="24"/>
1110 </Size>
1111 <Anchors>
1112 <Anchor point="TOPRIGHT" relativeTo="ItemRack_DropTextureRight">
1113 <Offset>
1114 <AbsDimension x="-16" y="-18"/>
1115 </Offset>
1116 </Anchor>
1117 </Anchors>
1118 <Scripts>
1119 <OnClick>
1120 PlaySound("igMainMenuOptionCheckBoxOn")
1121 ItemRack_Sets_DropDownButton_OnClick()
1122 </OnClick>
1123 </Scripts>
1124 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
1125 <Size>
1126 <AbsDimension x="24" y="24"/>
1127 </Size>
1128 <Anchors>
1129 <Anchor point="RIGHT"/>
1130 </Anchors>
1131 </NormalTexture>
1132 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
1133 <Size>
1134 <AbsDimension x="24" y="24"/>
1135 </Size>
1136 <Anchors>
1137 <Anchor point="RIGHT"/>
1138 </Anchors>
1139 </PushedTexture>
1140 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
1141 <Size>
1142 <AbsDimension x="24" y="24"/>
1143 </Size>
1144 <Anchors>
1145 <Anchor point="RIGHT"/>
1146 </Anchors>
1147 </HighlightTexture>
1148 </Button>
1149  
1150 <EditBox name="ItemRack_Sets_Name" letters="256" historyLines="0" autoFocus="false">
1151 <Size>
1152 <AbsDimension x="160" y="20"/>
1153 </Size>
1154 <Anchors>
1155 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_NameLabel" relativePoint="TOPLEFT">
1156 <Offset>
1157 <AbsDimension x="2" y="-17"/>
1158 </Offset>
1159 </Anchor>
1160 </Anchors>
1161 <FontString inherits="GameFontHighlight"/>
1162 <Scripts>
1163 <OnTextChanged>
1164 ItemRack_Sets_Name_OnTextChanged()
1165 </OnTextChanged>
1166 <OnEscapePressed>
1167 this:ClearFocus()
1168 </OnEscapePressed>
1169 <OnEnterPressed>
1170 this:ClearFocus()
1171 </OnEnterPressed>
1172 </Scripts>
1173 </EditBox>
1174  
1175 <!-- sub-frame of 25 icons in a scrollable 5x5 list -->
1176 <Frame name="ItemRack_Sets_Icons">
1177 <Size>
1178 <AbsDimension x="172" y="156"/>
1179 </Size>
1180 <Anchors>
1181 <Anchor point="TOP">
1182 <Offset>
1183 <AbsDimension x="0" y="-48"/>
1184 </Offset>
1185 </Anchor>
1186 </Anchors>
1187 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1188 <EdgeSize>
1189 <AbsValue val="8"/>
1190 </EdgeSize>
1191 <TileSize>
1192 <AbsValue val="8"/>
1193 </TileSize>
1194 <BackgroundInsets>
1195 <AbsInset left="3" right="3" top="6" bottom="6"/>
1196 </BackgroundInsets>
1197 </Backdrop>
1198 <Layers>
1199 <Layer level="BORDER">
1200 <Texture file="Interface\ChatFrame\ChatFrameBackground">
1201 <Anchors>
1202 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icons" relativePoint="TOPRIGHT">
1203 <Offset>
1204 <AbsDimension x="-27" y="-8"/>
1205 </Offset>
1206 </Anchor>
1207 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_Icons" relativePoint="BOTTOMRIGHT">
1208 <Offset>
1209 <AbsDimension x="-3" y="8"/>
1210 </Offset>
1211 </Anchor>
1212 </Anchors>
1213 <Gradient>
1214 <MinColor r="0.125" g="0.125" b="0.125"/>
1215 <MaxColor r="0" g="0" b="0"/>
1216 </Gradient>
1217 </Texture>
1218 </Layer>
1219 </Layers>
1220 <Frames>
1221 <ScrollFrame name="ItemRack_Sets_ScrollFrame" inherits="FauxScrollFrameTemplate">
1222 <Size>
1223 <AbsDimension x="171" y="140"/>
1224 </Size>
1225 <Anchors>
1226 <Anchor point="TOPRIGHT">
1227 <Offset>
1228 <AbsDimension x="-28" y="-8"/>
1229 </Offset>
1230 </Anchor>
1231 </Anchors>
1232 <Scripts>
1233 <OnVerticalScroll>
1234 FauxScrollFrame_OnVerticalScroll(24, ItemRack_Sets_ScrollFrame_Update)
1235 </OnVerticalScroll>
1236 <OnShow>
1237 ItemRack_Sets_ScrollFrame_Update()
1238 </OnShow>
1239 </Scripts>
1240 </ScrollFrame>
1241 <Button name="ItemRack_Sets_Icon1" inherits="ItemRackSetsIconTemplate" id="1">
1242 <Anchors>
1243 <Anchor point="TOPLEFT">
1244 <Offset>
1245 <AbsDimension x="6" y="-8"/>
1246 </Offset>
1247 </Anchor>
1248 </Anchors>
1249 </Button>
1250 <Button name="ItemRack_Sets_Icon2" inherits="ItemRackSetsIconTemplate" id="2">
1251 <Anchors>
1252 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon1" relativePoint="TOPRIGHT"/>
1253 </Anchors>
1254 </Button>
1255 <Button name="ItemRack_Sets_Icon3" inherits="ItemRackSetsIconTemplate" id="3">
1256 <Anchors>
1257 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon2" relativePoint="TOPRIGHT"/>
1258 </Anchors>
1259 </Button>
1260 <Button name="ItemRack_Sets_Icon4" inherits="ItemRackSetsIconTemplate" id="4">
1261 <Anchors>
1262 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon3" relativePoint="TOPRIGHT"/>
1263 </Anchors>
1264 </Button>
1265 <Button name="ItemRack_Sets_Icon5" inherits="ItemRackSetsIconTemplate" id="5">
1266 <Anchors>
1267 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon4" relativePoint="TOPRIGHT"/>
1268 </Anchors>
1269 </Button>
1270  
1271 <Button name="ItemRack_Sets_Icon6" inherits="ItemRackSetsIconTemplate" id="6">
1272 <Anchors>
1273 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon1" relativePoint="BOTTOMLEFT"/>
1274 </Anchors>
1275 </Button>
1276 <Button name="ItemRack_Sets_Icon7" inherits="ItemRackSetsIconTemplate" id="7">
1277 <Anchors>
1278 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon6" relativePoint="TOPRIGHT"/>
1279 </Anchors>
1280 </Button>
1281 <Button name="ItemRack_Sets_Icon8" inherits="ItemRackSetsIconTemplate" id="8">
1282 <Anchors>
1283 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon7" relativePoint="TOPRIGHT"/>
1284 </Anchors>
1285 </Button>
1286 <Button name="ItemRack_Sets_Icon9" inherits="ItemRackSetsIconTemplate" id="9">
1287 <Anchors>
1288 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon8" relativePoint="TOPRIGHT"/>
1289 </Anchors>
1290 </Button>
1291 <Button name="ItemRack_Sets_Icon10" inherits="ItemRackSetsIconTemplate" id="10">
1292 <Anchors>
1293 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon9" relativePoint="TOPRIGHT"/>
1294 </Anchors>
1295 </Button>
1296  
1297 <Button name="ItemRack_Sets_Icon11" inherits="ItemRackSetsIconTemplate" id="11">
1298 <Anchors>
1299 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon6" relativePoint="BOTTOMLEFT"/>
1300 </Anchors>
1301 </Button>
1302 <Button name="ItemRack_Sets_Icon12" inherits="ItemRackSetsIconTemplate" id="12">
1303 <Anchors>
1304 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon11" relativePoint="TOPRIGHT"/>
1305 </Anchors>
1306 </Button>
1307 <Button name="ItemRack_Sets_Icon13" inherits="ItemRackSetsIconTemplate" id="13">
1308 <Anchors>
1309 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon12" relativePoint="TOPRIGHT"/>
1310 </Anchors>
1311 </Button>
1312 <Button name="ItemRack_Sets_Icon14" inherits="ItemRackSetsIconTemplate" id="14">
1313 <Anchors>
1314 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon13" relativePoint="TOPRIGHT"/>
1315 </Anchors>
1316 </Button>
1317 <Button name="ItemRack_Sets_Icon15" inherits="ItemRackSetsIconTemplate" id="15">
1318 <Anchors>
1319 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon14" relativePoint="TOPRIGHT"/>
1320 </Anchors>
1321 </Button>
1322  
1323 <Button name="ItemRack_Sets_Icon16" inherits="ItemRackSetsIconTemplate" id="16">
1324 <Anchors>
1325 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon11" relativePoint="BOTTOMLEFT"/>
1326 </Anchors>
1327 </Button>
1328 <Button name="ItemRack_Sets_Icon17" inherits="ItemRackSetsIconTemplate" id="17">
1329 <Anchors>
1330 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon16" relativePoint="TOPRIGHT"/>
1331 </Anchors>
1332 </Button>
1333 <Button name="ItemRack_Sets_Icon18" inherits="ItemRackSetsIconTemplate" id="18">
1334 <Anchors>
1335 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon17" relativePoint="TOPRIGHT"/>
1336 </Anchors>
1337 </Button>
1338 <Button name="ItemRack_Sets_Icon19" inherits="ItemRackSetsIconTemplate" id="19">
1339 <Anchors>
1340 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon18" relativePoint="TOPRIGHT"/>
1341 </Anchors>
1342 </Button>
1343 <Button name="ItemRack_Sets_Icon20" inherits="ItemRackSetsIconTemplate" id="20">
1344 <Anchors>
1345 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon19" relativePoint="TOPRIGHT"/>
1346 </Anchors>
1347 </Button>
1348  
1349 <Button name="ItemRack_Sets_Icon21" inherits="ItemRackSetsIconTemplate" id="21">
1350 <Anchors>
1351 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon16" relativePoint="BOTTOMLEFT"/>
1352 </Anchors>
1353 </Button>
1354 <Button name="ItemRack_Sets_Icon22" inherits="ItemRackSetsIconTemplate" id="22">
1355 <Anchors>
1356 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon21" relativePoint="TOPRIGHT"/>
1357 </Anchors>
1358 </Button>
1359 <Button name="ItemRack_Sets_Icon23" inherits="ItemRackSetsIconTemplate" id="23">
1360 <Anchors>
1361 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon22" relativePoint="TOPRIGHT"/>
1362 </Anchors>
1363 </Button>
1364 <Button name="ItemRack_Sets_Icon24" inherits="ItemRackSetsIconTemplate" id="24">
1365 <Anchors>
1366 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon23" relativePoint="TOPRIGHT"/>
1367 </Anchors>
1368 </Button>
1369 <Button name="ItemRack_Sets_Icon25" inherits="ItemRackSetsIconTemplate" id="25">
1370 <Anchors>
1371 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Icon24" relativePoint="TOPRIGHT"/>
1372 </Anchors>
1373 </Button>
1374  
1375 <Button name="ItemRack_Sets_ChosenIcon">
1376 <Size>
1377 <AbsDimension x="36" y="36"/>
1378 </Size>
1379 <Anchors>
1380 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_SubFrame2" relativePoint="BOTTOMLEFT">
1381 <Offset>
1382 <AbsDimension x="16" y="28"/>
1383 </Offset>
1384 </Anchor>
1385 </Anchors>
1386 <NormalTexture file="Interface\Icons\INV_Misc_Coin_02"/>
1387 <Layers>
1388 <Layer level="OVERLAY">
1389 <FontString name="$parentName" inherits="GameFontHighlightSmallOutline">
1390 <Size>
1391 <AbsDimension x="36" y="10"/>
1392 </Size>
1393 <Anchors>
1394 <Anchor point="BOTTOM">
1395 <Offset>
1396 <AbsDimension x="0" y="2"/>
1397 </Offset>
1398 </Anchor>
1399 </Anchors>
1400 </FontString>
1401 <FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT">
1402 <Size>
1403 <AbsDimension x="32" y="10"/>
1404 </Size>
1405 <Anchors>
1406 <Anchor point="TOPLEFT">
1407 <Offset>
1408 <AbsDimension x="2" y="-4"/>
1409 </Offset>
1410 </Anchor>
1411 </Anchors>
1412 </FontString>
1413 </Layer>
1414 </Layers>
1415 <Scripts>
1416 <OnEnter>
1417 ItemRack_Sets_Tooltip(nil,1)
1418 </OnEnter>
1419 <OnLeave>
1420 GameTooltip:Hide()
1421 </OnLeave>
1422 <OnClick>
1423 ItemRack_Sets_ChosenIcon_OnClick()
1424 </OnClick>
1425 </Scripts>
1426 </Button>
1427  
1428 <CheckButton name="ItemRack_Sets_HideSet" inherits="ItemRackCheckTemplate">
1429 <Anchors>
1430 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_ChosenIcon" relativePoint="BOTTOMLEFT">
1431 <Offset>
1432 <AbsDimension x="-4" y="0"/>
1433 </Offset>
1434 </Anchor>
1435 </Anchors>
1436 </CheckButton>
1437  
1438 <Button name="ItemRack_Sets_BindButton" inherits="ItemRackSetsButtonTemplate" text="Bind Key">
1439 <Anchors>
1440 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame2" relativePoint="BOTTOMRIGHT">
1441 <Offset>
1442 <AbsDimension x="-16" y="10"/>
1443 </Offset>
1444 </Anchor>
1445 </Anchors>
1446 <Scripts>
1447 <OnClick>
1448 PlaySound("GAMEGENERICBUTTONPRESS")
1449 ItemRack_Sets_Name:ClearFocus()
1450 ItemRack_KeyBindFrame:Show()
1451 </OnClick>
1452 </Scripts>
1453 </Button>
1454 <Button name="ItemRack_Sets_SaveButton" inherits="ItemRackSetsButtonTemplate" text="Save">
1455 <Anchors>
1456 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_BindButton" relativePoint="TOPLEFT">
1457 <Offset>
1458 <AbsDimension x="0" y="2"/>
1459 </Offset>
1460 </Anchor>
1461 </Anchors>
1462 <Scripts>
1463 <OnClick>
1464 PlaySound("GAMEGENERICBUTTONPRESS")
1465 ItemRack_Sets_Save_OnClick()
1466 </OnClick>
1467 </Scripts>
1468 </Button>
1469 <Button name="ItemRack_Sets_RemoveButton" inherits="ItemRackSetsButtonTemplate" text="Remove">
1470 <Anchors>
1471 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_BindButton" relativePoint="BOTTOMLEFT">
1472 <Offset>
1473 <AbsDimension x="-2" y="0"/>
1474 </Offset>
1475 </Anchor>
1476 </Anchors>
1477 <Scripts>
1478 <OnClick>
1479 PlaySound("GAMEGENERICBUTTONPRESS")
1480 ItemRack_Sets_Remove_OnClick()
1481 </OnClick>
1482 </Scripts>
1483 </Button>
1484 <CheckButton name="ItemRack_ShowHelm" inherits="ItemRackTristateTemplate">
1485 <Anchors>
1486 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_RemoveButton" relativePoint="TOPLEFT">
1487 <Offset>
1488 <AbsDimension x="0" y="32"/>
1489 </Offset>
1490 </Anchor>
1491 </Anchors>
1492 </CheckButton>
1493 <CheckButton name="ItemRack_ShowCloak" inherits="ItemRackTristateTemplate">
1494 <Size>
1495 <AbsDimension x="18" y="18"/>
1496 </Size>
1497 <Anchors>
1498 <Anchor point="TOPLEFT" relativeTo="ItemRack_ShowHelm" relativePoint="BOTTOMLEFT">
1499 <Offset>
1500 <AbsDimension x="0" y="4"/>
1501 </Offset>
1502 </Anchor>
1503 </Anchors>
1504 </CheckButton>
1505  
1506 </Frames>
1507  
1508 </Frame>
1509  
1510 </Frames>
1511 <Scripts>
1512 <OnLoad>
1513 this:SetBackdropColor(.25,.25,.25,1)
1514 </OnLoad>
1515 </Scripts>
1516  
1517 </Frame>
1518  
1519 <Frame name="ItemRack_Sets_SubFrame4" hidden="true">
1520 <Size>
1521 <AbsDimension x="186" y="270"/>
1522 </Size>
1523 <Anchors>
1524 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
1525 <Offset>
1526 <AbsDimension x="0" y="-20"/>
1527 </Offset>
1528 </Anchor>
1529 </Anchors>
1530 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1531 <BackgroundInsets>
1532 <AbsInset left="3" right="3" top="6" bottom="6" />
1533 </BackgroundInsets>
1534 <TileSize>
1535 <AbsValue val="16" />
1536 </TileSize>
1537 <EdgeSize>
1538 <AbsValue val="9" />
1539 </EdgeSize>
1540 </Backdrop>
1541 <Frames>
1542 <Frame name="ItemRack_Sets_EventsView">
1543 <Size>
1544 <AbsDimension x="172" y="196"/>
1545 </Size>
1546 <Anchors>
1547 <Anchor point="TOP">
1548 <Offset>
1549 <AbsDimension x="0" y="-28"/>
1550 </Offset>
1551 </Anchor>
1552 </Anchors>
1553 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1554 <EdgeSize>
1555 <AbsValue val="8"/>
1556 </EdgeSize>
1557 <TileSize>
1558 <AbsValue val="8"/>
1559 </TileSize>
1560 <BackgroundInsets>
1561 <AbsInset left="3" right="3" top="6" bottom="6"/>
1562 </BackgroundInsets>
1563 </Backdrop>
1564 <Layers>
1565 <Layer level="BORDER">
1566 <Texture file="Interface\ChatFrame\ChatFrameBackground">
1567 <Anchors>
1568 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_EventsView" relativePoint="TOPRIGHT">
1569 <Offset>
1570 <AbsDimension x="-27" y="-8"/>
1571 </Offset>
1572 </Anchor>
1573 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_EventsView" relativePoint="BOTTOMRIGHT">
1574 <Offset>
1575 <AbsDimension x="-3" y="8"/>
1576 </Offset>
1577 </Anchor>
1578 </Anchors>
1579 <Gradient>
1580 <MinColor r="0.125" g="0.125" b="0.125"/>
1581 <MaxColor r="0" g="0" b="0"/>
1582 </Gradient>
1583 </Texture>
1584 </Layer>
1585 </Layers>
1586 <Frames>
1587 <CheckButton name="ItemRack_Opt_EnableEvents" inherits="ItemRackCheckTemplate">
1588 <Anchors>
1589 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_EventsView" relativePoint="TOPLEFT">
1590 <Offset>
1591 <AbsDimension x="4" y="-1"/>
1592 </Offset>
1593 </Anchor>
1594 </Anchors>
1595 </CheckButton>
1596 <CheckButton name="ItemRack_Opt_ShowAllEvents" inherits="ItemRackCheckTemplate">
1597 <Anchors>
1598 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_EventsView" relativePoint="TOPRIGHT">
1599 <Offset>
1600 <AbsDimension x="-70" y="-1"/>
1601 </Offset>
1602 </Anchor>
1603 </Anchors>
1604 </CheckButton>
1605 <Button name="ItemRack_Events_DeleteButton" inherits="ItemRackSetsButtonTemplate" text="Delete">
1606 <Anchors>
1607 <Anchor point="BOTTOMLEFT" relativeTo="ItemRack_Sets_SubFrame4" relativePoint="BOTTOMLEFT">
1608 <Offset>
1609 <AbsDimension x="8" y="16"/>
1610 </Offset>
1611 </Anchor>
1612 </Anchors>
1613 <Scripts>
1614 <OnClick>
1615 ItemRack_EventButtons("Delete")
1616 </OnClick>
1617 </Scripts>
1618 </Button>
1619 <Button name="ItemRack_Events_EditButton" inherits="ItemRackSetsButtonTemplate" text="Edit">
1620 <Anchors>
1621 <Anchor point="BOTTOM" relativeTo="ItemRack_Sets_SubFrame4" relativePoint="BOTTOM">
1622 <Offset>
1623 <AbsDimension x="0" y="16"/>
1624 </Offset>
1625 </Anchor>
1626 </Anchors>
1627 <Scripts>
1628 <OnClick>
1629 ItemRack_EventButtons("Edit")
1630 </OnClick>
1631 </Scripts>
1632 </Button>
1633 <Button name="ItemRack_Events_NewButton" inherits="ItemRackSetsButtonTemplate" text="New">
1634 <Anchors>
1635 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame4" relativePoint="BOTTOMRIGHT">
1636 <Offset>
1637 <AbsDimension x="-8" y="16"/>
1638 </Offset>
1639 </Anchor>
1640 </Anchors>
1641 <Scripts>
1642 <OnClick>
1643 ItemRack_EventButtons("New")
1644 </OnClick>
1645 </Scripts>
1646 </Button>
1647  
1648 <ScrollFrame name="ItemRack_Events_ScrollFrame" inherits="FauxScrollFrameTemplate">
1649 <Size>
1650 <AbsDimension x="171" y="180"/>
1651 </Size>
1652 <Anchors>
1653 <Anchor point="TOPRIGHT">
1654 <Offset>
1655 <AbsDimension x="-28" y="-8"/>
1656 </Offset>
1657 </Anchor>
1658 </Anchors>
1659 <Scripts>
1660 <OnVerticalScroll>
1661 FauxScrollFrame_OnVerticalScroll(26, ItemRack_Events_ScrollFrame_Update)
1662 </OnVerticalScroll>
1663 <OnShow>
1664 ItemRack_Events_ScrollFrame_Update()
1665 </OnShow>
1666 </Scripts>
1667 </ScrollFrame>
1668  
1669 <Button name="ItemRack_Event1" inherits="ItemRackEventListTemplate" id="1">
1670 <Anchors>
1671 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_EventsView" relativePoint="TOPLEFT">
1672 <Offset>
1673 <AbsDimension x="2" y="-8"/>
1674 </Offset>
1675 </Anchor>
1676 </Anchors>
1677 </Button>
1678 <Button name="ItemRack_Event2" inherits="ItemRackEventListTemplate" id="2">
1679 <Anchors>
1680 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event1" relativePoint="BOTTOMLEFT"/>
1681 </Anchors>
1682 </Button>
1683 <Button name="ItemRack_Event3" inherits="ItemRackEventListTemplate" id="3">
1684 <Anchors>
1685 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event2" relativePoint="BOTTOMLEFT"/>
1686 </Anchors>
1687 </Button>
1688 <Button name="ItemRack_Event4" inherits="ItemRackEventListTemplate" id="4">
1689 <Anchors>
1690 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event3" relativePoint="BOTTOMLEFT"/>
1691 </Anchors>
1692 </Button>
1693 <Button name="ItemRack_Event5" inherits="ItemRackEventListTemplate" id="5">
1694 <Anchors>
1695 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event4" relativePoint="BOTTOMLEFT"/>
1696 </Anchors>
1697 </Button>
1698 <Button name="ItemRack_Event6" inherits="ItemRackEventListTemplate" id="6">
1699 <Anchors>
1700 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event5" relativePoint="BOTTOMLEFT"/>
1701 </Anchors>
1702 </Button>
1703 <Button name="ItemRack_Event7" inherits="ItemRackEventListTemplate" id="7">
1704 <Anchors>
1705 <Anchor point="TOPLEFT" relativeTo="ItemRack_Event6" relativePoint="BOTTOMLEFT"/>
1706 </Anchors>
1707 </Button>
1708  
1709 </Frames>
1710 </Frame>
1711  
1712 </Frames>
1713 <Scripts>
1714 <OnLoad>
1715 this:SetBackdropColor(.25,.25,.25,1)
1716 </OnLoad>
1717 </Scripts>
1718 </Frame>
1719  
1720 <Frame name="ItemRack_Sets_SetSelect" hidden="true">
1721 <Size>
1722 <AbsDimension x="186" y="270"/>
1723 </Size>
1724 <Anchors>
1725 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
1726 <Offset>
1727 <AbsDimension x="0" y="-20"/>
1728 </Offset>
1729 </Anchor>
1730 </Anchors>
1731  
1732 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1733 <BackgroundInsets>
1734 <AbsInset left="3" right="3" top="6" bottom="6" />
1735 </BackgroundInsets>
1736 <TileSize>
1737 <AbsValue val="16" />
1738 </TileSize>
1739 <EdgeSize>
1740 <AbsValue val="9" />
1741 </EdgeSize>
1742 </Backdrop>
1743 <Layers>
1744 <Layer level="BACKGROUND">
1745 <FontString inherits="GameFontHighlightSmall" text="Choose a set">
1746 <Anchors>
1747 <Anchor point="TOPLEFT">
1748 <Offset>
1749 <AbsDimension x="16" y="-10"/>
1750 </Offset>
1751 </Anchor>
1752 </Anchors>
1753 </FontString>
1754 </Layer>
1755 </Layers>
1756 <Frames>
1757 <CheckButton name="ItemRack_Opt_CompactList" inherits="ItemRackCheckTemplate">
1758 <Anchors>
1759 <Anchor point="TOPRIGHT">
1760 <Offset>
1761 <AbsDimension x="-60" y="-5"/>
1762 </Offset>
1763 </Anchor>
1764 </Anchors>
1765 </CheckButton>
1766 <!-- sub-frame of saved sets (drop-down) in a scrollable list -->
1767 <Frame name="ItemRack_Sets_Saved" hidden="false">
1768 <Size>
1769 <AbsDimension x="172" y="242"/>
1770 </Size>
1771 <Anchors>
1772 <Anchor point="TOP">
1773 <Offset>
1774 <AbsDimension x="0" y="-20"/>
1775 </Offset>
1776 </Anchor>
1777 </Anchors>
1778 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1779 <EdgeSize>
1780 <AbsValue val="8"/>
1781 </EdgeSize>
1782 <TileSize>
1783 <AbsValue val="8"/>
1784 </TileSize>
1785 <BackgroundInsets>
1786 <AbsInset left="3" right="3" top="6" bottom="6"/>
1787 </BackgroundInsets>
1788 </Backdrop>
1789 <Layers>
1790 <Layer level="BORDER">
1791 <Texture file="Interface\ChatFrame\ChatFrameBackground">
1792 <Anchors>
1793 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved" relativePoint="TOPRIGHT">
1794 <Offset>
1795 <AbsDimension x="-27" y="-8"/>
1796 </Offset>
1797 </Anchor>
1798 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_Saved" relativePoint="BOTTOMRIGHT">
1799 <Offset>
1800 <AbsDimension x="-3" y="8"/>
1801 </Offset>
1802 </Anchor>
1803 </Anchors>
1804 <Gradient>
1805 <MinColor r="0.125" g="0.125" b="0.125"/>
1806 <MaxColor r="0" g="0" b="0"/>
1807 </Gradient>
1808 </Texture>
1809 </Layer>
1810 </Layers>
1811 <Frames>
1812 <ScrollFrame name="ItemRack_Sets_SavedScrollFrame" inherits="FauxScrollFrameTemplate">
1813 <Size>
1814 <AbsDimension x="171" y="210"/>
1815 </Size>
1816 <Anchors>
1817 <Anchor point="TOPRIGHT">
1818 <Offset>
1819 <AbsDimension x="-28" y="-24"/>
1820 </Offset>
1821 </Anchor>
1822 </Anchors>
1823 <Scripts>
1824 <OnVerticalScroll>
1825 FauxScrollFrame_OnVerticalScroll((ItemRack_Settings.CompactList=="OFF") and 28 or 21, ItemRack_Sets_SavedScrollFrame_Update)
1826 </OnVerticalScroll>
1827 <OnShow>
1828 ItemRack_Sets_SavedScrollFrame_Update()
1829 </OnShow>
1830 </Scripts>
1831 </ScrollFrame>
1832  
1833 <Button name="ItemRack_SavedSets_Close">
1834 <Size>
1835 <AbsDimension x="16" y="16"/>
1836 </Size>
1837 <Anchors>
1838 <Anchor point="TOPRIGHT">
1839 <Offset>
1840 <AbsDimension x="-6" y="-6"/>
1841 </Offset>
1842 </Anchor>
1843 </Anchors>
1844 <NormalTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
1845 <TexCoords left=".5" right=".75" top=".25" bottom=".5"/>
1846 </NormalTexture>
1847 <PushedTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons">
1848 <TexCoords left=".75" right="1" top=".25" bottom=".5"/>
1849 </PushedTexture>
1850 <HighlightTexture file="Interface\AddOns\ItemRack\ItemRack-Buttons" alphaMode="ADD">
1851 <TexCoords left=".25" right=".5" top=".5" bottom=".75"/>
1852 </HighlightTexture>
1853 <Scripts>
1854 <OnEnter>
1855 ItemRack_Opt_OnEnter()
1856 </OnEnter>
1857 <OnLeave>
1858 GameTooltip:Hide()
1859 </OnLeave>
1860 <OnClick>
1861 ItemRack_Sets_SetSelect:Hide()
1862 -- ItemRack_SavedSets_OnClose()
1863 </OnClick>
1864 </Scripts>
1865 </Button>
1866  
1867 <Button name="ItemRack_Sets_Compact1" inherits="ItemRackSetsCompactTemplate" id="1">
1868 <Anchors>
1869 <Anchor point="TOPLEFT">
1870 <Offset>
1871 <AbsDimension x="6" y="-8"/>
1872 </Offset>
1873 </Anchor>
1874 </Anchors>
1875 </Button>
1876 <Button name="ItemRack_Sets_Compact2" inherits="ItemRackSetsCompactTemplate" id="2">
1877 <Anchors>
1878 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact1" relativePoint="BOTTOMLEFT"/>
1879 </Anchors>
1880 </Button>
1881 <Button name="ItemRack_Sets_Compact3" inherits="ItemRackSetsCompactTemplate" id="3">
1882 <Anchors>
1883 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact2" relativePoint="BOTTOMLEFT"/>
1884 </Anchors>
1885 </Button>
1886 <Button name="ItemRack_Sets_Compact4" inherits="ItemRackSetsCompactTemplate" id="4">
1887 <Anchors>
1888 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact3" relativePoint="BOTTOMLEFT"/>
1889 </Anchors>
1890 </Button>
1891 <Button name="ItemRack_Sets_Compact5" inherits="ItemRackSetsCompactTemplate" id="5">
1892 <Anchors>
1893 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact4" relativePoint="BOTTOMLEFT"/>
1894 </Anchors>
1895 </Button>
1896 <Button name="ItemRack_Sets_Compact6" inherits="ItemRackSetsCompactTemplate" id="6">
1897 <Anchors>
1898 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact5" relativePoint="BOTTOMLEFT"/>
1899 </Anchors>
1900 </Button>
1901 <Button name="ItemRack_Sets_Compact7" inherits="ItemRackSetsCompactTemplate" id="7">
1902 <Anchors>
1903 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact6" relativePoint="BOTTOMLEFT"/>
1904 </Anchors>
1905 </Button>
1906 <Button name="ItemRack_Sets_Compact8" inherits="ItemRackSetsCompactTemplate" id="8">
1907 <Anchors>
1908 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact7" relativePoint="BOTTOMLEFT"/>
1909 </Anchors>
1910 </Button>
1911 <Button name="ItemRack_Sets_Compact9" inherits="ItemRackSetsCompactTemplate" id="9">
1912 <Anchors>
1913 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact8" relativePoint="BOTTOMLEFT"/>
1914 </Anchors>
1915 </Button>
1916 <Button name="ItemRack_Sets_Compact10" inherits="ItemRackSetsCompactTemplate" id="10">
1917 <Anchors>
1918 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact9" relativePoint="BOTTOMLEFT"/>
1919 </Anchors>
1920 </Button>
1921 <Button name="ItemRack_Sets_Compact11" inherits="ItemRackSetsCompactTemplate" id="11">
1922 <Anchors>
1923 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Compact10" relativePoint="BOTTOMLEFT"/>
1924 </Anchors>
1925 </Button>
1926  
1927 <Button name="ItemRack_Sets_Saved1" inherits="ItemRackSetsSavedIconTemplate" id="1">
1928 <Anchors>
1929 <Anchor point="TOPLEFT">
1930 <Offset>
1931 <AbsDimension x="6" y="-10"/>
1932 </Offset>
1933 </Anchor>
1934 </Anchors>
1935 </Button>
1936 <Button name="ItemRack_Sets_Saved2" inherits="ItemRackSetsSavedIconTemplate" id="2">
1937 <Anchors>
1938 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved1" relativePoint="BOTTOMLEFT"/>
1939 </Anchors>
1940 </Button>
1941 <Button name="ItemRack_Sets_Saved3" inherits="ItemRackSetsSavedIconTemplate" id="3">
1942 <Anchors>
1943 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved2" relativePoint="BOTTOMLEFT"/>
1944 </Anchors>
1945 </Button>
1946 <Button name="ItemRack_Sets_Saved4" inherits="ItemRackSetsSavedIconTemplate" id="4">
1947 <Anchors>
1948 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved3" relativePoint="BOTTOMLEFT"/>
1949 </Anchors>
1950 </Button>
1951 <Button name="ItemRack_Sets_Saved5" inherits="ItemRackSetsSavedIconTemplate" id="5">
1952 <Anchors>
1953 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved4" relativePoint="BOTTOMLEFT"/>
1954 </Anchors>
1955 </Button>
1956 <Button name="ItemRack_Sets_Saved6" inherits="ItemRackSetsSavedIconTemplate" id="6">
1957 <Anchors>
1958 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved5" relativePoint="BOTTOMLEFT"/>
1959 </Anchors>
1960 </Button>
1961 <Button name="ItemRack_Sets_Saved7" inherits="ItemRackSetsSavedIconTemplate" id="7">
1962 <Anchors>
1963 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved6" relativePoint="BOTTOMLEFT"/>
1964 </Anchors>
1965 </Button>
1966 <Button name="ItemRack_Sets_Saved8" inherits="ItemRackSetsSavedIconTemplate" id="8">
1967 <Anchors>
1968 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_Saved7" relativePoint="BOTTOMLEFT"/>
1969 </Anchors>
1970 </Button>
1971 </Frames>
1972 </Frame>
1973 </Frames>
1974 <Scripts>
1975 <OnLoad>
1976 this:SetBackdropColor(.25,.25,.25,1)
1977 </OnLoad>
1978 <OnShow>
1979 ItemRack_SetSelect_OnShow()
1980 </OnShow>
1981 <OnHide>
1982 ItemRack_SetSelect_OnHide()
1983 </OnHide>
1984 </Scripts>
1985 </Frame>
1986  
1987 <Frame name="ItemRack_EditEvent" toplevel="true" enableMouse="true" hidden="true">
1988 <Size>
1989 <AbsDimension x="276" y="316"/>
1990 </Size>
1991 <Anchors>
1992 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="TOP">
1993 <Offset>
1994 <AbsDimension x="0" y="-20"/>
1995 </Offset>
1996 </Anchor>
1997 </Anchors>
1998 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
1999 <BackgroundInsets>
2000 <AbsInset left="3" right="3" top="6" bottom="6" />
2001 </BackgroundInsets>
2002 <TileSize>
2003 <AbsValue val="16" />
2004 </TileSize>
2005 <EdgeSize>
2006 <AbsValue val="9" />
2007 </EdgeSize>
2008 </Backdrop>
2009 <Layers>
2010  
2011 <Layer level="ARTWORK">
2012 <Texture file="Interface\ChatFrame\ChatFrameBackground">
2013 <Anchors>
2014 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
2015 <Offset>
2016 <AbsDimension x="-24" y="-7"/>
2017 </Offset>
2018 </Anchor>
2019 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
2020 <Offset>
2021 <AbsDimension x="-3" y="7"/>
2022 </Offset>
2023 </Anchor>
2024 </Anchors>
2025 <Gradient>
2026 <MaxColor r="0.1" g="0.1" b="0.1"/>
2027 <MinColor r=".25" g=".25" b=".25"/>
2028 </Gradient>
2029 </Texture>
2030 <Texture file="Interface\ChatFrame\ChatFrameBackground">
2031 <Anchors>
2032 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
2033 <Offset>
2034 <AbsDimension x="3" y="-7"/>
2035 </Offset>
2036 </Anchor>
2037 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
2038 <Offset>
2039 <AbsDimension x="24" y="7"/>
2040 </Offset>
2041 </Anchor>
2042 </Anchors>
2043 <Gradient>
2044 <MinColor r="0.1" g="0.1" b="0.1"/>
2045 <MaxColor r=".25" g=".25" b=".25"/>
2046 </Gradient>
2047 </Texture>
2048 </Layer>
2049 <Layer level="BACKGROUND">
2050 <FontString inherits="GameFontHighlightSmall" text="Name">
2051 <Anchors>
2052 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
2053 <Offset>
2054 <AbsDimension x="60" y="-16"/>
2055 </Offset>
2056 </Anchor>
2057 </Anchors>
2058 </FontString>
2059 <FontString inherits="GameFontHighlightSmall" text="Trigger">
2060 <Anchors>
2061 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
2062 <Offset>
2063 <AbsDimension x="60" y="-40"/>
2064 </Offset>
2065 </Anchor>
2066 </Anchors>
2067 </FontString>
2068 <FontString inherits="GameFontHighlightSmall" text="Delay">
2069 <Anchors>
2070 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
2071 <Offset>
2072 <AbsDimension x="60" y="-64"/>
2073 </Offset>
2074 </Anchor>
2075 </Anchors>
2076 </FontString>
2077 <FontString inherits="GameFontHighlightSmall" text="seconds">
2078 <Anchors>
2079 <Anchor point="TOPLEFT">
2080 <Offset>
2081 <AbsDimension x="124" y="-64"/>
2082 </Offset>
2083 </Anchor>
2084 </Anchors>
2085 </FontString>
2086 </Layer>
2087 </Layers>
2088 <Frames>
2089 <Button name="ItemRack_EditEvent_Test" inherits="ItemRackSetsButtonTemplate" text="Test">
2090 <Anchors>
2091 <Anchor point="BOTTOMLEFT">
2092 <Offset>
2093 <AbsDimension x="48" y="16"/>
2094 </Offset>
2095 </Anchor>
2096 </Anchors>
2097 <Scripts>
2098 <OnClick>
2099 ItemRack_EventButtons("Test")
2100 </OnClick>
2101 </Scripts>
2102 </Button>
2103 <Button name="ItemRack_EditEvent_Save" inherits="ItemRackSetsButtonTemplate" text="Save">
2104 <Anchors>
2105 <Anchor point="BOTTOM">
2106 <Offset>
2107 <AbsDimension x="0" y="16"/>
2108 </Offset>
2109 </Anchor>
2110 </Anchors>
2111 <Scripts>
2112 <OnClick>
2113 ItemRack_EventButtons("Save")
2114 </OnClick>
2115 </Scripts>
2116 </Button>
2117 <Button name="ItemRack_EditEvent_Cancel" inherits="ItemRackSetsButtonTemplate" text="Cancel">
2118 <Anchors>
2119 <Anchor point="BOTTOMRIGHT">
2120 <Offset>
2121 <AbsDimension x="-48" y="16"/>
2122 </Offset>
2123 </Anchor>
2124 </Anchors>
2125 <Scripts>
2126 <OnClick>
2127 ItemRack_EditEvent:Hide()
2128 </OnClick>
2129 </Scripts>
2130 </Button>
2131 <EditBox name="ItemRack_EventName" inherits="ItemRackEditBoxTemplate">
2132 <Anchors>
2133 <Anchor point="TOPLEFT">
2134 <Offset>
2135 <AbsDimension x="76" y="-12"/>
2136 </Offset>
2137 </Anchor>
2138 </Anchors>
2139 <Scripts>
2140 <OnTabPressed>
2141 ItemRack_EventTrigger:SetFocus()
2142 </OnTabPressed>
2143 </Scripts>
2144 </EditBox>
2145 <EditBox name="ItemRack_EventTrigger" inherits="ItemRackEditBoxTemplate">
2146 <Anchors>
2147 <Anchor point="TOPLEFT">
2148 <Offset>
2149 <AbsDimension x="76" y="-36"/>
2150 </Offset>
2151 </Anchor>
2152 </Anchors>
2153 <Scripts>
2154 <OnTabPressed>
2155 ItemRack_EventDelay:SetFocus()
2156 </OnTabPressed>
2157 </Scripts>
2158 </EditBox>
2159 <EditBox name="ItemRack_EventDelay" inherits="ItemRackEditBoxTemplate">
2160 <Size>
2161 <AbsDimension x="40" y="20"/>
2162 </Size>
2163 <Anchors>
2164 <Anchor point="TOPLEFT">
2165 <Offset>
2166 <AbsDimension x="76" y="-60"/>
2167 </Offset>
2168 </Anchor>
2169 </Anchors>
2170 <Scripts>
2171 <OnTabPressed>
2172 ItemRack_EventScript:SetFocus()
2173 </OnTabPressed>
2174 </Scripts>
2175 </EditBox>
2176 <CheckButton name="ItemRack_Opt_LargeFont" inherits="ItemRackCheckTemplate">
2177 <Anchors>
2178 <Anchor point="TOPLEFT" relativeTo="ItemRack_EventDelay" relativePoint="TOPRIGHT">
2179 <Offset>
2180 <AbsDimension x="60" y="0"/>
2181 </Offset>
2182 </Anchor>
2183 </Anchors>
2184 </CheckButton>
2185  
2186 <Frame name="ItemRack_ScriptEditFrame">
2187 <Size>
2188 <AbsDimension x="256" y="192"/>
2189 </Size>
2190 <Anchors>
2191 <Anchor point="TOP">
2192 <Offset>
2193 <AbsDimension x="0" y="-80"/>
2194 </Offset>
2195 </Anchor>
2196 </Anchors>
2197 <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
2198 <BackgroundInsets>
2199 <AbsInset left="3" right="3" top="6" bottom="6" />
2200 </BackgroundInsets>
2201 <TileSize>
2202 <AbsValue val="16" />
2203 </TileSize>
2204 <EdgeSize>
2205 <AbsValue val="9" />
2206 </EdgeSize>
2207 </Backdrop>
2208  
2209 <Frames>
2210  
2211 <ScrollFrame name="ItemRackEventEditScrollFrame" inherits="UIPanelScrollFrameTemplate">
2212 <Size>
2213 <AbsDimension x="222" y="176"/>
2214 </Size>
2215 <Anchors>
2216 <Anchor point="TOPLEFT">
2217 <Offset>
2218 <AbsDimension x="6" y="-8"/>
2219 </Offset>
2220 </Anchor>
2221 </Anchors>
2222 <Layers>
2223 <Layer level="BORDER">
2224 <Texture file="Interface\ChatFrame\ChatFrameBackground">
2225 <Anchors>
2226 <Anchor point="TOPLEFT" relativeTo="ItemRackEventEditScrollFrame" relativePoint="TOPRIGHT">
2227 <Offset>
2228 <AbsDimension x="0" y="0"/>
2229 </Offset>
2230 </Anchor>
2231 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRackEventEditScrollFrame" relativePoint="BOTTOMRIGHT">
2232 <Offset>
2233 <AbsDimension x="26" y="0"/>
2234 </Offset>
2235 </Anchor>
2236 </Anchors>
2237 <Gradient>
2238 <MinColor r="0.1" g="0.1" b="0.1"/>
2239 <MaxColor r="0" g="0" b="0"/>
2240 </Gradient>
2241 </Texture>
2242 </Layer>
2243 </Layers>
2244  
2245 <ScrollChild>
2246 <EditBox name="ItemRack_EventScript" multiLine="true" maxLines="9" letters="4096" nonspacewrap="true" spacing="1" autoFocus="false">
2247 <Size>
2248 <AbsDimension x="222" y="176"/>
2249 </Size>
2250 <Scripts>
2251 <OnTextChanged>
2252 local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
2253 this:GetParent():UpdateScrollChildRect();
2254 local min;
2255 local max;
2256 min, max = scrollBar:GetMinMaxValues();
2257 if ( max > 0 and (this.max ~= max) ) then
2258 this.max = max;
2259 scrollBar:SetValue(max);
2260 end
2261 </OnTextChanged>
2262 <OnEscapePressed>
2263 this:ClearFocus();
2264 </OnEscapePressed>
2265 <OnTabPressed>
2266 ItemRack_EventName:SetFocus()
2267 </OnTabPressed>
2268 </Scripts>
2269 <FontString inherits="GameFontHighlightSmall"/>
2270 </EditBox>
2271 </ScrollChild>
2272 </ScrollFrame>
2273 </Frames>
2274 <Scripts>
2275 <OnLoad>
2276 this:SetBackdropColor(.1,.1,.1,1)
2277 </OnLoad>
2278 </Scripts>
2279 </Frame>
2280 <Button name="ItemRackEventScriptOverlay">
2281 <Size>
2282 <AbsDimension x="228" y="180"/>
2283 </Size>
2284 <Anchors>
2285 <Anchor point="TOPLEFT" relativeTo="ItemRack_EventScript" relativePoint="TOPLEFT"/>
2286 </Anchors>
2287 <Scripts>
2288 <OnClick>
2289 ItemRack_EventScript:SetFocus()
2290 </OnClick>
2291 <OnEnter>
2292 ItemRack_OnTooltip("Event Script","Here you can enter a script to run on the event given above.\n\nEquipSet() : Equip set associated with this event.\nSaveSet() : Remember the gear currently in the slots of the associated set.\nLoadSet() : Equip the gear saved from SaveSet()")
2293 </OnEnter>
2294 <OnLeave>
2295 GameTooltip:Hide()
2296 </OnLeave>
2297 </Scripts>
2298 </Button>
2299  
2300 </Frames>
2301 <Scripts>
2302 <OnLoad>
2303 this:SetBackdropColor(.25,.25,.25,1)
2304 </OnLoad>
2305 <OnShow>
2306 ItemRack_EditEvent_OnShow()
2307 </OnShow>
2308 <OnHide>
2309 ItemRack_EditEvent_OnHide()
2310 </OnHide>
2311 <OnMouseDown>
2312 if arg1=="LeftButton" then
2313 ItemRack_SetsFrame:StartMoving()
2314 end
2315 </OnMouseDown>
2316 <OnMouseUp>
2317 ItemRack_SetsFrame:StopMovingOrSizing()
2318 </OnMouseUp>
2319 </Scripts>
2320 </Frame>
2321  
2322 <Button name="ItemRack_Sets_Tab1" inherits="ItemRackTabTemplate" id="1" text="Options">
2323 <Size>
2324 <AbsDimension x="50" y="18"/>
2325 </Size>
2326 <Anchors>
2327 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_SubFrame2" relativePoint="TOPRIGHT">
2328 <Offset>
2329 <AbsDimension x="-4" y="-4"/>
2330 </Offset>
2331 </Anchor>
2332 </Anchors>
2333 </Button>
2334 <Button name="ItemRack_Sets_Tab2" inherits="ItemRackTabTemplate" id="2" text="Sets">
2335 <Size>
2336 <AbsDimension x="50" y="18"/>
2337 </Size>
2338 <Anchors>
2339 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_Tab1" relativePoint="BOTTOMLEFT">
2340 <Offset>
2341 <AbsDImension x="0" y="0"/>
2342 </Offset>
2343 </Anchor>
2344 </Anchors>
2345 </Button>
2346 <Button name="ItemRack_Sets_Tab4" inherits="ItemRackTabTemplate" id="4" text="Events">
2347 <Size>
2348 <AbsDimension x="50" y="18"/>
2349 </Size>
2350 <Anchors>
2351 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_Tab2" relativePoint="BOTTOMLEFT">
2352 <Offset>
2353 <AbsDImension x="0" y="0"/>
2354 </Offset>
2355 </Anchor>
2356 </Anchors>
2357 </Button>
2358 <Button name="ItemRack_Sets_Tab3" inherits="ItemRackTabTemplate" id="3" text="?">
2359 <Size>
2360 <AbsDimension x="18" y="18"/>
2361 </Size>
2362 <Anchors>
2363 <Anchor point="BOTTOMRIGHT" relativeTo="ItemRack_Sets_Tab4" relativePoint="BOTTOMLEFT">
2364 <Offset>
2365 <AbsDImension x="0" y="0"/>
2366 </Offset>
2367 </Anchor>
2368 </Anchors>
2369 </Button>
2370  
2371 </Frames>
2372  
2373 <Scripts>
2374 <OnMouseDown>
2375 if arg1=="LeftButton" then
2376 this:StartMoving()
2377 end
2378 </OnMouseDown>
2379 <OnMouseUp>
2380 this:StopMovingOrSizing()
2381 </OnMouseUp>
2382 <OnShow>
2383 ItemRack_SetsFrame_OnShow()
2384 </OnShow>
2385 <OnHide>
2386 ItemRack_SetsFrame_OnHide()
2387 </OnHide>
2388 </Scripts>
2389 </Frame>
2390  
2391 <!-- This frame grabs a keypress from user to bind to a key -->
2392 <Frame name="ItemRack_KeyBindFrame" parent="ItemRack_SetsFrame" enableKeyboard="true" hidden="true">
2393 <Size>
2394 <AbsDimension x="55" y="26"/>
2395 </Size>
2396 <Anchors>
2397 <Anchor point="TOPLEFT" relativeTo="ItemRack_Sets_BindButton" relativePoint="TOPLEFT"/>
2398 </Anchors>
2399 <Frames>
2400 <Button name="ItemRack_Sets_CancelButton" inherits="ItemRackSetsButtonTemplate" text="Cancel">
2401 <Anchors>
2402 <Anchor point="TOPLEFT"/>
2403 </Anchors>
2404 <Scripts>
2405 <OnClick>
2406 ItemRack_KeyBindFrame:Hide()
2407 </OnClick>
2408 </Scripts>
2409 </Button>
2410 <Button name="ItemRack_KeyBindFrame_Message" hidden="true">
2411 <Layers>
2412 <Layer level="BACKGROUND">
2413 <FontString inherits="GameFontNormalLarge" text="Press a key to bind to this set.">
2414 <Size>
2415 <AbsDimension x="150" y="64"/>
2416 </Size>
2417 <Anchors>
2418 <Anchor point="CENTER" relativeTo="ItemRack_SetsFrame">
2419 <Offset>
2420 <AbsDimension x="0" y="50"/>
2421 </Offset>
2422 </Anchor>
2423 </Anchors>
2424 </FontString>
2425 <FontString inherits="GameFontNormal" text="Hit ESC to unbind.">
2426 <Size>
2427 <AbsDimension x="150" y="50"/>
2428 </Size>
2429 <Anchors>
2430 <Anchor point="CENTER" relativeTo="ItemRack_SetsFrame">
2431 <Offset>
2432 <AbsDimension x="0" y="-25"/>
2433 </Offset>
2434 </Anchor>
2435 </Anchors>
2436 </FontString>
2437 </Layer>
2438 </Layers>
2439 <Scripts>
2440 <OnShow>
2441 ItemRack_Sets_Icons:Hide()
2442 ItemRack_Sets_Saved:Hide()
2443 </OnShow>
2444 <OnHide>
2445 ItemRack_Sets_Icons:Show()
2446 </OnHide>
2447 </Scripts>
2448 </Button>
2449 </Frames>
2450 <Scripts>
2451 <OnShow>
2452 ItemRack_Sets_BindButton:Hide()
2453 ItemRack_KeyBindFrame_Message:Show()
2454 </OnShow>
2455 <OnHide>
2456 ItemRack_Sets_BindButton:Show()
2457 ItemRack_KeyBindFrame_Message:Hide()
2458 </OnHide>
2459 <OnKeyDown>
2460 ItemRack_Sets_KeyBind_OnKeyDown(arg1)
2461 </OnKeyDown>
2462 </Scripts>
2463 </Frame>
2464  
2465 <!-- separate frame to receive events, so we can turn events on/off without affecting the mod's events -->
2466 <Frame name="ItemRack_RegisterFrame" hidden="true">
2467 <Scripts>
2468 <OnEvent>
2469 ItemRack_RegisterFrame_OnEvent(event)
2470 </OnEvent>
2471 <OnUpdate>
2472 ItemRack_RegisterFrame_OnUpdate()
2473 </OnUpdate>
2474 </Scripts>
2475 </Frame>
2476  
2477 <!-- custom tooltip to display quick information (set loaded, set saved, etc) -->
2478 <GameTooltip name="ItemRack_Sets_Message" inherits="GameTooltipTemplate" parent="ItemRack_SetsFrame" hidden="true">
2479 <Anchors>
2480 <Anchor point="TOP" relativeTo="ItemRack_SetsFrame" relativePoint="BOTTOM"/>
2481 </Anchors>
2482 </GameTooltip>
2483  
2484 </Ui>