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 <!-- Internationalized Text File -->
4 <Script file="localization.lua"/>
5 <Script file="localization.de.lua"/>
6 <Script file="localization.fr.lua"/>
7  
8 <Include file="UltimateUIButton.xml"/>
9 <Script file="UltimateUICommonFunctions.lua"/>
10 <Script file="UltimateUICVar.lua"/>
11 <Script file="UltimateUIGuiConfig.lua"/>
12  
13 <!-- Main Script File -->
14 <Script file="UltimateUIMaster.lua" />
15  
16 <!-- Graphical Templates used -->
17  
18 <Include file="UltimateUITooltip.xml" />
19  
20 <!-- updated the menu look, sleeker and more elegant - nathanmx -->
21 <Button name="UltimateUISectionButtonTemplate" virtual="true">
22 <Size>
23 <AbsDimension x="132" y="23"/>
24 </Size>
25 <NormalText name="$parentNormalText" inherits="GameFontNormalSmall" justifyH="LEFT">
26 <Anchors>
27 <Anchor point="LEFT">
28 <Offset>
29 <AbsDimension x="4" y="2"/>
30 </Offset>
31 </Anchor>
32 </Anchors>
33 </NormalText>
34 <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall" justifyH="LEFT">
35 <Anchors>
36 <Anchor point="LEFT">
37 <Offset>
38 <AbsDimension x="4" y="2"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </HighlightText>
43 <Scripts>
44 <OnClick>
45 UltimateUIMaster_Section_OnClick(this:GetID());
46 </OnClick>
47 <OnEnter>
48 UltimateUIMaster_SetSectionInfo(this:GetID());
49 </OnEnter>
50 </Scripts>
51 <HighlightTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
52 <TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
53 </HighlightTexture>
54 </Button>
55 <!--
56 <Button name="UltimateUISectionButtonTemplate" virtual="true">
57 <Size>
58 <AbsDimension x="132" y="20"/>
59 </Size>
60 <Scripts>
61 <OnClick>
62 UltimateUIMaster_Section_OnClick(this:GetID());
63 </OnClick>
64 <OnEnter>
65 UltimateUIMaster_SetSectionInfo(this:GetID());
66 </OnEnter>
67 </Scripts>
68 <NormalTexture name="$parentNormalTexture" file="Interface\AuctionFrame\UI-AuctionFrame-FilterBg">
69 <TexCoords left="0" right="0.53125" top="0" bottom="0.625"/>
70 </NormalTexture>
71 <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD"/>
72 <NormalText name="$parentNormalText" inherits="GameFontNormalSmall" justifyH="LEFT">
73 <Anchors>
74 <Anchor point="LEFT">
75 <Offset>
76 <AbsDimension x="4" y="0"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </NormalText>
81 <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall" justifyH="LEFT">
82 <Anchors>
83 <Anchor point="LEFT">
84 <Offset>
85 <AbsDimension x="4" y="0"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 </HighlightText>
90 </Button>
91 -->
92 <Frame name="UltimateUIMasterTextSubFrameTemplate" movable="false" virtual="true">
93 <Anchors>
94 <Anchor point="CENTER" relativePoint="CENTER">
95 <Offset>
96 <AbsDimension x="-70" y="0" />
97 </Offset>
98 </Anchor>
99 </Anchors>
100 <Size>
101 <AbsDimension x="215" y="32" />
102 </Size>
103 <Layers>
104 <Layer level="BACKGROUND">
105 <Texture name="$parentBackground" setAllPoints="true">
106 <Color r="0" g="1" b="0" a="0.0" />
107 </Texture>
108 </Layer>
109 <Layer level="ARTWORK">
110 <FontString name="$parentText" inherits="GameFontNormalSmall" text="">
111 <Anchors>
112 <Anchor point="LEFT">
113 <Offset>
114 <AbsDimension x="4" y="0" />
115 </Offset>
116 </Anchor>
117 </Anchors>
118 </FontString>
119 </Layer>
120 </Layers>
121 </Frame>
122  
123 <CheckButton name="UltimateUIMasterCheckButtonTemplate" hidden="false" virtual="true">
124 <Anchors>
125 <Anchor point="LEFT">
126 <Offset>
127 <AbsDimension x="0" y="0" />
128 </Offset>
129 </Anchor>
130 </Anchors>
131 <Size>
132 <AbsDimension x="32" y="32" />
133 </Size>
134 <Layers>
135 <Layer level="BACKGROUND">
136 <Texture name="$parentCheckbuttonBackground" setAllPoints="true">
137 <Color r="0" g="0" b="1" a="0.0" />
138 </Texture>
139 </Layer>
140 </Layers>
141 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
142 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
143 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
144 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
145 <CheckedDisabledTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
146 <DisabledTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
147 </CheckButton>
148 <Button name="UltimateUIMasterButtonTemplate" inherits="GameMenuButtonTemplate" virtual="true">
149 <Size>
150 <AbsDimension x="128" y="20" />
151 </Size>
152 <Anchors>
153 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
154 <Offset>
155 <AbsDimension x="13" y="7" />
156 </Offset>
157 </Anchor>
158 </Anchors>
159 <Scripts>
160 <OnLoad>
161 this:SetText("EMPTY");
162 </OnLoad>
163 <OnClick>
164 UltimateUIMaster_Button(this:GetParent():GetID());
165 </OnClick>
166 </Scripts>
167 </Button>
168 <Slider name="UltimateUIMasterSliderTemplate" orientation="HORIZONTAL" virtual="true">
169 <Size>
170 <AbsDimension x="128" y="17" />
171 </Size>
172 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border"
173 tile="true">
174 <EdgeSize>
175 <AbsValue val="8" />
176 </EdgeSize>
177 <TileSize>
178 <AbsValue val="8" />
179 </TileSize>
180 <BackgroundInsets>
181 <AbsInset left="3" right="3" top="6" bottom="6" />
182 </BackgroundInsets>
183 </Backdrop>
184 <Layers>
185 <Layer level="BACKGROUND">
186 <Texture name="$parentSliderBackground" setAllPoints="true">
187 <Color r="0" g="1" b="1" a="0.0" />
188 </Texture>
189 </Layer>
190 <Layer level="ARTWORK">
191 <FontString name="$parentText" inherits="GameFontNormalSmall">
192 <Anchors>
193 <Anchor point="BOTTOM" relativePoint="TOP" />
194 </Anchors>
195 </FontString>
196 <FontString name="$parentValueText" inherits="GameFontNormalSmall">
197 <Color r=".4" g=".6" b="1" a="1" />
198 <Anchors>
199 <Anchor point="BOTTOM" relativePoint="BOTTOM">
200 <Offset>
201 <AbsDimension x="2" y="-6" />
202 </Offset>
203 </Anchor>
204 </Anchors>
205 </FontString>
206 <FontString inherits="GameFontHighlightSmall" text="LOW">
207 <Anchors>
208 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
209 <Offset>
210 <AbsDimension x="2" y="3" />
211 </Offset>
212 </Anchor>
213 </Anchors>
214 </FontString>
215 <FontString inherits="GameFontHighlightSmall" text="HIGH">
216 <Anchors>
217 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
218 <Offset>
219 <AbsDimension x="-2" y="3" />
220 </Offset>
221 </Anchor>
222 </Anchors>
223 </FontString>
224 </Layer>
225 </Layers>
226 <ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
227 <Size>
228 <AbsDimension x="32" y="32" />
229 </Size>
230 </ThumbTexture>
231 </Slider>
232 <Frame name="UltimateUIMasterDividerTemplate" hidden="false" virtual="true">
233 <Size>
234 <AbsDimension x="524" y="19" />
235 </Size>
236 <Layers>
237 <Layer level="BACKGROUND">
238 <Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider">
239 <Size>
240 <AbsDimension x="134" y="10" />
241 </Size>
242 <Anchors>
243 <Anchor point="TOPLEFT" />
244 </Anchors>
245 <TexCoords left="0" right="1.0" top="0" bottom="0.3125" />
246 </Texture>
247 <Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider">
248 <Size>
249 <AbsDimension x="304" y="10" />
250 </Size>
251 <Anchors>
252 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
253 <Offset>
254 <AbsDimension x="0" y="1" />
255 </Offset>
256 </Anchor>
257 </Anchors>
258 <TexCoords left="0" right="1.0" top="0.3125" bottom="0.625" />
259 </Texture>
260 <Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameDivider">
261 <Size>
262 <AbsDimension x="101" y="10" />
263 </Size>
264 <Anchors>
265 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
266 </Anchors>
267 <TexCoords left="0" right="0.25390625" top="0.625" bottom="0.9375" />
268 </Texture>
269 </Layer>
270 </Layers>
271 </Frame>
272 <Frame name="UltimateUIMasterSeparatorTemplate" hidden="false" virtual="true">
273 <Size>
274 <AbsDimension x="280" y="32" />
275 </Size>
276 <Layers>
277 <Layer level="ARTWORK">
278 <FontString name="$parentText" inherits="GameFontNormalSmall" text="">
279 <Anchors>
280 <Anchor point="CENTER">
281 <Offset>
282 <AbsDimension x="0" y="2" />
283 </Offset>
284 </Anchor>
285 </Anchors>
286 <Color r="1.0" g="0.5" b="0.2" a="1.0" />
287 </FontString>
288 </Layer>
289 <Layer level="BACKGROUND">
290 <Texture name="$parentSeparatorBackground" file="Interface\Tooltips\UI-StatusBar-Border"></Texture>
291 </Layer>
292 </Layers>
293 </Frame>
294 <Frame name="UltimateUIMasterConfigurationTemplate" hidden="false" virtual="true">
295 <Size>
296 <AbsDimension x="200" y="32" />
297 </Size>
298 <Frames>
299 <Frame name="$parentFrame" inherits="UltimateUIMasterTextSubFrameTemplate"/>
300 <CheckButton name="$parentCheckbox" inherits="UltimateUIMasterCheckButtonTemplate">
301 <Anchors>
302 <Anchor point="LEFT" relativePoint="LEFT">
303 <Offset>
304 <AbsDimension x="-100" y="0" />
305 </Offset>
306 </Anchor>
307 </Anchors>
308 <Scripts>
309 <OnClick>
310 if (not UltimateUIMasterFrame_IsLoading) then
311 if ( this:GetChecked() ) then
312 UltimateUIMaster_CheckBox(this:GetParent():GetID(), 1.0);
313 else
314 UltimateUIMaster_CheckBox(this:GetParent():GetID(), 0.0);
315 end
316 end
317 </OnClick>
318 <OnEnter>
319 UltimateUIMaster_SetInfo(this:GetParent():GetID());
320 </OnEnter>
321 <OnLeave>
322 --UltimateUIMaster_ClearInfo();
323 </OnLeave>
324 </Scripts>
325 </CheckButton>
326 <Frame name="$parentSeparator" movable="false" inherits="UltimateUIMasterSeparatorTemplate">
327 <Anchors>
328 <Anchor point="TOP">
329 <Offset>
330 <AbsDimension x="-12" y="0" />
331 </Offset>
332 </Anchor>
333 </Anchors>
334 <Scripts>
335 <OnEnter>
336 UltimateUIMaster_SetInfo(this:GetParent():GetID());
337 </OnEnter>
338 </Scripts>
339 </Frame>
340  
341 <Button name="$parentButton" inherits="UltimateUIMasterButtonTemplate">
342 <!--<Anchors>
343 <Anchor point="CENTER">
344 <Offset>
345 <AbsDimension x="70" y="1" />
346 </Offset>
347 </Anchor>
348 </Anchors>-->
349 <Scripts>
350 <OnClick>
351 PlaySound("igMainMenuOption");
352 UltimateUIMaster_Button(this:GetParent():GetID());
353 </OnClick>
354 </Scripts>
355 </Button>
356 <Slider name="$parentSlider" inherits="UltimateUIMasterSliderTemplate">
357 <Anchors>
358 <Anchor point="TOPRIGHT">
359 <Offset>
360 <AbsDimension x="40" y="-8" />
361 </Offset>
362 </Anchor>
363 </Anchors>
364 <Scripts>
365 <OnValueChanged>
366 if (not UltimateUIMasterFrame_IsLoading) then
367 UltimateUIMaster_Slider(this:GetParent():GetID(), arg1);
368 end
369 </OnValueChanged>
370 <OnEnter>
371 UltimateUIMaster_SetInfo(this:GetParent():GetID());
372 </OnEnter>
373 <OnLeave>
374 --UltimateUIMaster_ClearInfo();
375 </OnLeave>
376 </Scripts>
377 </Slider>
378 </Frames>
379 </Frame>
380 <!-- Frame Definition -->
381  
382 <Frame name="UltimateUIMasterFrame" hidden="true" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" parent="UIParent">
383 <Size>
384 <AbsDimension x="550" y="480" />
385 </Size>
386 <Anchors>
387 <Anchor point="CENTER" />
388 </Anchors>
389 <Backdrop name="UUIMasterFrameBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
390 <EdgeSize>
391 <AbsValue val="16"/>
392 </EdgeSize>
393 <!--<TileSize>
394 <AbsValue val="24"/>
395 </TileSize>-->
396 <BackgroundInsets>
397 <AbsInset left="5" right="5" top="5" bottom="5"/>
398 </BackgroundInsets>
399 </Backdrop>
400  
401 <!-- UltimateUI Master Controls-->
402 <Frames>
403 <Frame name="UUITitleFrameBg">
404 <Size>
405 <AbsDimension x="367" y="25"/>
406 </Size>
407 <Anchors>
408 <Anchor point="TOPRIGHT">
409 <Offset>
410 <AbsDimension x="-10" y="-10"/>
411 </Offset>
412 </Anchor>
413 </Anchors>
414 <Backdrop name="UUITitleFrameBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
415 <EdgeSize>
416 <AbsValue val="16"/>
417 </EdgeSize>
418 <BackgroundInsets>
419 <AbsInset left="5" right="5" top="5" bottom="5"/>
420 </BackgroundInsets>
421 </Backdrop>
422 <Layers>
423 <Layer level="ARTWORK">
424 <FontString inherits="GameFontNormal" text="UltimateUI">
425 <Anchors>
426 <Anchor point="CENTER" relativeTo="UUITitleFrameBg">
427 <Offset>
428 <AbsDimension x="0" y="0" />
429 </Offset>
430 </Anchor>
431 </Anchors>
432 </FontString>
433 </Layer>
434 </Layers>
435 <Scripts>
436 <OnLoad>
437 </OnLoad>
438 </Scripts>
439 </Frame>
440 <ScrollFrame name="UltimateUIMasterSectionScrollFrame" inherits="FauxScrollFrameTemplate">
441 <Size>
442 <AbsDimension x="125" y="360" />
443 </Size>
444 <Anchors>
445 <Anchor point="TOPLEFT" relativeTo="UltimateUIMasterFrame">
446 <Offset>
447 <AbsDimension x="16" y="-16" />
448 </Offset>
449 </Anchor>
450 </Anchors>
451 <Layers>
452 <Layer level="ARTWORK">
453 <Texture name="$parentScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
454 <Size>
455 <AbsDimension x="31" y="288" />
456 </Size>
457 <Anchors>
458 <Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton">
459 <Offset>
460 <AbsDimension x="0" y="5" />
461 </Offset>
462 </Anchor>
463 </Anchors>
464 <TexCoords left="0" right="0.484375" top="0" bottom="1.0" />
465 </Texture>
466 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
467 <Size>
468 <AbsDimension x="31" y="128" />
469 </Size>
470 <Anchors>
471 <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
472 <Offset>
473 <AbsDimension x="0" y="-2" />
474 </Offset>
475 </Anchor>
476 </Anchors>
477 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625" />
478 </Texture>
479 </Layer>
480 </Layers>
481 <Scripts>
482 <OnVerticalScroll>
483 FauxScrollFrame_OnVerticalScroll(32, UltimateUIMaster_Update);
484 </OnVerticalScroll>
485 </Scripts>
486 </ScrollFrame>
487 <Frame name="UUIAddonFrameBg">
488 <Size>
489 <AbsDimension x="168" y="369"/>
490 </Size>
491 <Anchors>
492 <Anchor point="TOPLEFT">
493 <Offset>
494 <AbsDimension x="5" y="-5"/>
495 </Offset>
496 </Anchor>
497 </Anchors>
498 <Backdrop name="UUIAddonFrameBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
499 <EdgeSize>
500 <AbsValue val="16"/>
501 </EdgeSize>
502 <BackgroundInsets>
503 <AbsInset left="5" right="5" top="5" bottom="5"/>
504 </BackgroundInsets>
505 </Backdrop>
506  
507 <Scripts>
508 <OnLoad>
509 </OnLoad>
510 </Scripts>
511 </Frame>
512  
513 <Frame name="UUIMainFrameBg">
514 <Size>
515 <AbsDimension x="376" y="369"/>
516 </Size>
517 <Anchors>
518 <Anchor point="TOPRIGHT">
519 <Offset>
520 <AbsDimension x="-5" y="-5"/>
521 </Offset>
522 </Anchor>
523 </Anchors>
524 <Backdrop name="UUIMainFrameBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
525 <EdgeSize>
526 <AbsValue val="16"/>
527 </EdgeSize>
528 <BackgroundInsets>
529 <AbsInset left="5" right="5" top="5" bottom="5"/>
530 </BackgroundInsets>
531 </Backdrop>
532  
533 <Scripts>
534 <OnLoad>
535 </OnLoad>
536 </Scripts>
537 </Frame>
538 <Button name="UltimateUISection1" inherits="UltimateUISectionButtonTemplate" id="1">
539 <Anchors>
540 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
541 <Offset>
542 <AbsDimension x="10" y="-15"/>
543 </Offset>
544 </Anchor>
545 </Anchors>
546 </Button>
547 <Button name="UltimateUISection2" inherits="UltimateUISectionButtonTemplate" id="2">
548 <Anchors>
549 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection1">
550 <Offset>
551 <AbsDimension x="0" y="0"/>
552 </Offset>
553 </Anchor>
554 </Anchors>
555 </Button>
556 <Button name="UltimateUISection3" inherits="UltimateUISectionButtonTemplate" id="3">
557 <Anchors>
558 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection2">
559 <Offset>
560 <AbsDimension x="0" y="0"/>
561 </Offset>
562 </Anchor>
563 </Anchors>
564 </Button>
565 <Button name="UltimateUISection4" inherits="UltimateUISectionButtonTemplate" id="4">
566 <Anchors>
567 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection3">
568 <Offset>
569 <AbsDimension x="0" y="0"/>
570 </Offset>
571 </Anchor>
572 </Anchors>
573 </Button>
574 <Button name="UltimateUISection5" inherits="UltimateUISectionButtonTemplate" id="5">
575 <Anchors>
576 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection4">
577 <Offset>
578 <AbsDimension x="0" y="0"/>
579 </Offset>
580 </Anchor>
581 </Anchors>
582 </Button>
583 <Button name="UltimateUISection6" inherits="UltimateUISectionButtonTemplate" id="6">
584 <Anchors>
585 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection5">
586 <Offset>
587 <AbsDimension x="0" y="0"/>
588 </Offset>
589 </Anchor>
590 </Anchors>
591 </Button>
592 <Button name="UltimateUISection7" inherits="UltimateUISectionButtonTemplate" id="7">
593 <Anchors>
594 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection6">
595 <Offset>
596 <AbsDimension x="0" y="0"/>
597 </Offset>
598 </Anchor>
599 </Anchors>
600 </Button>
601 <Button name="UltimateUISection8" inherits="UltimateUISectionButtonTemplate" id="8">
602 <Anchors>
603 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection7">
604 <Offset>
605 <AbsDimension x="0" y="0"/>
606 </Offset>
607 </Anchor>
608 </Anchors>
609 </Button>
610 <Button name="UltimateUISection9" inherits="UltimateUISectionButtonTemplate" id="9">
611 <Anchors>
612 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection8">
613 <Offset>
614 <AbsDimension x="0" y="0"/>
615 </Offset>
616 </Anchor>
617 </Anchors>
618 </Button>
619 <Button name="UltimateUISection10" inherits="UltimateUISectionButtonTemplate" id="10">
620 <Anchors>
621 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection9">
622 <Offset>
623 <AbsDimension x="0" y="0"/>
624 </Offset>
625 </Anchor>
626 </Anchors>
627 </Button>
628 <Button name="UltimateUISection11" inherits="UltimateUISectionButtonTemplate" id="11">
629 <Anchors>
630 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection10">
631 <Offset>
632 <AbsDimension x="0" y="0"/>
633 </Offset>
634 </Anchor>
635 </Anchors>
636 </Button>
637 <Button name="UltimateUISection12" inherits="UltimateUISectionButtonTemplate" id="12">
638 <Anchors>
639 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection11">
640 <Offset>
641 <AbsDimension x="0" y="0"/>
642 </Offset>
643 </Anchor>
644 </Anchors>
645 </Button>
646 <Button name="UltimateUISection13" inherits="UltimateUISectionButtonTemplate" id="13">
647 <Anchors>
648 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection12">
649 <Offset>
650 <AbsDimension x="0" y="0"/>
651 </Offset>
652 </Anchor>
653 </Anchors>
654 </Button>
655 <Button name="UltimateUISection14" inherits="UltimateUISectionButtonTemplate" id="14">
656 <Anchors>
657 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection13">
658 <Offset>
659 <AbsDimension x="0" y="0"/>
660 </Offset>
661 </Anchor>
662 </Anchors>
663 </Button>
664 <Button name="UltimateUISection15" inherits="UltimateUISectionButtonTemplate" id="15">
665 <Anchors>
666 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection14">
667 <Offset>
668 <AbsDimension x="0" y="0"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 </Button>
673 <Button name="UltimateUISection16" inherits="UltimateUISectionButtonTemplate" id="16">
674 <Anchors>
675 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection15">
676 <Offset>
677 <AbsDimension x="0" y="0"/>
678 </Offset>
679 </Anchor>
680 </Anchors>
681 </Button>
682 <Button name="UltimateUISection17" inherits="UltimateUISectionButtonTemplate" id="17">
683 <Anchors>
684 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection16">
685 <Offset>
686 <AbsDimension x="0" y="0"/>
687 </Offset>
688 </Anchor>
689 </Anchors>
690 </Button>
691 <Button name="UltimateUISection18" inherits="UltimateUISectionButtonTemplate" id="18">
692 <Anchors>
693 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="UltimateUISection17">
694 <Offset>
695 <AbsDimension x="0" y="0"/>
696 </Offset>
697 </Anchor>
698 </Anchors>
699 </Button>
700  
701 <Frame name="UltimateUI1" inherits="UltimateUIMasterConfigurationTemplate" id="1">
702 <Anchors>
703 <Anchor point="CENTER" relativePoint="TOP">
704 <Offset>
705 <AbsDimension x="94" y="-48" />
706 </Offset>
707 </Anchor>
708 </Anchors>
709 </Frame>
710 <Frame name="UltimateUI2" inherits="UltimateUIMasterConfigurationTemplate" id="2">
711 <Anchors>
712 <Anchor point="TOP" relativeTo="UltimateUI1" relativePoint="BOTTOM">
713 <Offset>
714 <AbsDimension x="0" y="-2" />
715 </Offset>
716 </Anchor>
717 </Anchors>
718 </Frame>
719 <Frame name="UltimateUI3" inherits="UltimateUIMasterConfigurationTemplate" id="3">
720 <Anchors>
721 <Anchor point="TOP" relativeTo="UltimateUI2" relativePoint="BOTTOM">
722 <Offset>
723 <AbsDimension x="0" y="-2" />
724 </Offset>
725 </Anchor>
726 </Anchors>
727 </Frame>
728 <Frame name="UltimateUI4" inherits="UltimateUIMasterConfigurationTemplate" id="4">
729 <Anchors>
730 <Anchor point="TOP" relativeTo="UltimateUI3" relativePoint="BOTTOM">
731 <Offset>
732 <AbsDimension x="0" y="-2" />
733 </Offset>
734 <Size>
735 <AbsDimension x="128" y="17" />
736 </Size>
737 </Anchor>
738 </Anchors>
739 </Frame>
740 <Frame name="UltimateUI5" inherits="UltimateUIMasterConfigurationTemplate" id="5">
741 <Anchors>
742 <Anchor point="TOP" relativeTo="UltimateUI4" relativePoint="BOTTOM">
743 <Offset>
744 <AbsDimension x="0" y="-2" />
745 </Offset>
746 </Anchor>
747 </Anchors>
748 </Frame>
749 <Frame name="UltimateUI6" inherits="UltimateUIMasterConfigurationTemplate" id="6">
750 <Anchors>
751 <Anchor point="TOP" relativeTo="UltimateUI5" relativePoint="BOTTOM">
752 <Offset>
753 <AbsDimension x="0" y="-2" />
754 </Offset>
755 </Anchor>
756 </Anchors>
757 </Frame>
758 <Frame name="UltimateUI7" inherits="UltimateUIMasterConfigurationTemplate" id="7">
759 <Anchors>
760 <Anchor point="TOP" relativeTo="UltimateUI6" relativePoint="BOTTOM">
761 <Offset>
762 <AbsDimension x="0" y="-2" />
763 </Offset>
764 </Anchor>
765 </Anchors>
766 </Frame>
767 <Frame name="UltimateUI8" inherits="UltimateUIMasterConfigurationTemplate" id="8">
768 <Anchors>
769 <Anchor point="TOP" relativeTo="UltimateUI7" relativePoint="BOTTOM">
770 <Offset>
771 <AbsDimension x="0" y="-2" />
772 </Offset>
773 </Anchor>
774 </Anchors>
775 </Frame>
776 <Frame name="UltimateUI9" inherits="UltimateUIMasterConfigurationTemplate" id="9">
777 <Anchors>
778 <Anchor point="TOP" relativeTo="UltimateUI8" relativePoint="BOTTOM">
779 <Offset>
780 <AbsDimension x="0" y="-2" />
781 </Offset>
782 </Anchor>
783 </Anchors>
784 </Frame>
785 <Frame name="UltimateUI10" inherits="UltimateUIMasterConfigurationTemplate" id="10">
786 <Anchors>
787 <Anchor point="TOP" relativeTo="UltimateUI9" relativePoint="BOTTOM">
788 <Offset>
789 <AbsDimension x="0" y="-2" />
790 </Offset>
791 </Anchor>
792 </Anchors>
793 </Frame>
794  
795 <!-- Divider -->
796 <Frame name="UltimateUIMasterMainDivider" inherits="UltimateUIMasterDividerTemplate">
797 <Anchors>
798 <Anchor point="TOPLEFT">
799 <Offset>
800 <AbsDimension x="6" y="-372" />
801 </Offset>
802 </Anchor>
803 </Anchors>
804 </Frame>
805 <ScrollingMessageFrame name="UltimateUIMasterTextbox" ignoreArrows="true" maxLines="4" historyLines="0" fade="true"
806 displayDuration="3" fadeDuration="3" letters="256" hidden="false">
807 <Size>
808 <AbsDimension x="450" y="50" />
809 </Size>
810 <Anchors>
811 <Anchor point="BOTTOMLEFT">
812 <Offset>
813 <AbsDimension x="48" y="48" />
814 </Offset>
815 </Anchor>
816 </Anchors>
817 <Layers>
818 <Layer level="BACKGROUND">
819 <Texture name="UltimateUIMasterTextboxBackground" setAllPoints="true">
820 <Color r="0" g="0" b="0" a="0.0" />
821 </Texture>
822 </Layer>
823 <Layer level="ARTWORK">
824 <FontString name="UltimateUIMasterTextboxHeader" inherits="GameFontNormal">
825 <Anchors>
826 <Anchor point="TOP">
827 <Offset>
828 <AbsDimension x="13" y="0" />
829 </Offset>
830 </Anchor>
831 </Anchors>
832 </FontString>
833 </Layer>
834 </Layers>
835 <FontString inherits="GameFontNormal"></FontString>
836 </ScrollingMessageFrame>
837 <Frame name="UltimateUIMasterSubDivider" inherits="UltimateUIMasterDividerTemplate">
838 <Anchors>
839 <Anchor point="BOTTOMLEFT">
840 <Offset>
841 <AbsDimension x="6" y="32" />
842 </Offset>
843 </Anchor>
844 </Anchors>
845 </Frame>
846 <!-- Okay and Cancel -->
847 <Button name="UltimateUIMasterFrameOkay" inherits="GameMenuButtonTemplate">
848 <Anchors>
849 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM">
850 <Offset>
851 <AbsDimension x="0" y="14" />
852 </Offset>
853 </Anchor>
854 </Anchors>
855 <Scripts>
856 <OnLoad>
857 this:SetText(OKAY);
858 </OnLoad>
859 <OnClick>
860 UltimateUIMaster_OnOkayClick();
861 </OnClick>
862 </Scripts>
863 </Button>
864 <Button name="UltimateUIMasterFrameCancel" inherits="GameMenuButtonTemplate" text="CANCEL">
865 <Anchors>
866 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
867 <Offset>
868 <AbsDimension x="0" y="14" />
869 </Offset>
870 </Anchor>
871 </Anchors>
872 <Scripts>
873 <OnClick>
874 UltimateUIMaster_Reset();
875 PlaySound("gsTitleOptionExit");
876 HideUIPanel(UltimateUIMasterFrame);
877 </OnClick>
878 </Scripts>
879 </Button>
880  
881 <!-- Scrollbar -->
882  
883 <ScrollFrame name="UltimateUIMasterScrollFrame" inherits="FauxScrollFrameTemplate">
884 <Size>
885 <AbsDimension x="296" y="360" />
886 </Size>
887 <Anchors>
888 <Anchor point="TOPRIGHT" relativeTo="UltimateUIMasterFrame">
889 <Offset>
890 <AbsDimension x="-40" y="-16" />
891 </Offset>
892 </Anchor>
893 </Anchors>
894 <Layers>
895 <Layer level="ARTWORK">
896 <Texture name="$parentScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
897 <Size>
898 <AbsDimension x="31" y="288" />
899 </Size>
900 <Anchors>
901 <Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton">
902 <Offset>
903 <AbsDimension x="0" y="5" />
904 </Offset>
905 </Anchor>
906 </Anchors>
907 <TexCoords left="0" right="0.484375" top="0" bottom="1.0" />
908 </Texture>
909 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
910 <Size>
911 <AbsDimension x="31" y="128" />
912 </Size>
913 <Anchors>
914 <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
915 <Offset>
916 <AbsDimension x="0" y="-2" />
917 </Offset>
918 </Anchor>
919 </Anchors>
920 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625" />
921 </Texture>
922 </Layer>
923 </Layers>
924 <Scripts>
925 <OnVerticalScroll>
926 FauxScrollFrame_OnVerticalScroll(32, UltimateUIMaster_Update);
927 </OnVerticalScroll>
928 </Scripts>
929 </ScrollFrame>
930  
931 </Frames>
932 <!-- UltimateUI Loads -->
933 <Scripts>
934 <OnShow>
935  
936 UltimateUIMasterFrame_IsLoading = true;
937 UltimateUIMasterFrame_Show();
938 UltimateUIMasterFrame_IsLoading = false;
939  
940 </OnShow>
941 <OnMouseDown>
942 if(arg1 == "LeftButton") then
943 this:StartMoving();
944 end
945 </OnMouseDown>
946  
947 <OnMouseUp>
948 if(arg1 == "LeftButton") then
949 this:StopMovingOrSizing();
950 end
951 </OnMouseUp>
952 </Scripts>
953 </Frame>
954 <!-- Extra commands -->
955 <!-- <Script file="ShapeshiftCommands.lua" /> -->
956 <Script file="UltimateUICommands.lua" />
957 <Frame name="PureScriptEventsFrame" parent="UIParent" hidden="false">
958 <Scripts>
959 <OnEvent>
960 UltimateUIMaster_OnEvent(event);
961 </OnEvent>
962  
963 <OnLoad>
964 UltimateUIMaster_Init();
965 PureScriptEventsFrame:Show();
966 UltimateUI_Registers();
967 <!--ShapeshiftCommands_Register();-->
968 <!--UltimateUICommands_Register();-->
969 </OnLoad>
970 <OnUpdate>
971 UltimateUIMaster_OnUpdate(arg1);
972 </OnUpdate>
973 </Scripts>
974 </Frame>
975  
976 <!-- UltimateUI Menu Button START -->
977 <Button name="GameMenuButtonUltimateUI" inherits="GameMenuButtonTemplate" text="ULTIMATEUI_OPTIONS_TITLE" parent="GameMenuFrame">
978 <Anchors>
979 <Anchor point="CENTER" relativePoint="TOP">
980 <Offset>
981 <AbsDimension x="0" y="-37"/>
982 </Offset>
983 </Anchor>
984 </Anchors>
985 <Scripts>
986 <OnLoad>
987 if ( ULTIMATEUI_OPTIONS_TITLE ) then
988 this:SetText(ULTIMATEUI_OPTIONS_TITLE);
989 else
990 this:SetText("[Outdated UltimateUI]");
991 end
992 GameMenuFrame:SetHeight(GameMenuFrame:GetHeight()+24);
993 GameMenuButtonOptions:ClearAllPoints();
994 GameMenuButtonOptions:SetPoint("TOP", "GameMenuButtonUltimateUI", "BOTTOM", 0, -16);
995 </OnLoad>
996 <OnClick>
997 PlaySound("igMainMenuOption");
998 HideUIPanel(GameMenuFrame);
999 ShowUIPanel(UltimateUIMasterFrame);
1000 </OnClick>
1001 </Scripts>
1002 </Button>
1003 <!-- UltimateUI Menu Button END -->
1004 </Ui>