vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <CheckButton name="AutoBar_Config_Button_Template" inherits="ActionButtonTemplate" virtual="true">
4 <Size>
5 <AbsDimension x="36" y="36"/>
6 </Size>
7 <Scripts>
8 <OnLoad>
9 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
10 </OnLoad>
11 <OnClick>
12 this:SetChecked(0);
13 AutoBar_Config_ButtonOnClick(arg1)
14 </OnClick>
15 <OnEnter>
16 AutoBar_Config_ButtonSetTooltip();
17 </OnEnter>
18 <OnLeave>
19 GameTooltip:Hide();
20 </OnLeave>
21 </Scripts>
22 </CheckButton>
23 <CheckButton name="AutoBar_Options_CheckBoxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
24 <Scripts>
25 <OnClick>
26 AutoBar_Options_CheckBox_OnCheck();
27 </OnClick>
28 </Scripts>
29 </CheckButton>
30 <CheckButton name="AutoBar_Options_ConfigButton_OptionTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
31 <Scripts>
32 <OnClick>
33 AutoBar_Options_ConfigButton_Option_OnCheck();
34 </OnClick>
35 </Scripts>
36 </CheckButton>
37 <Frame name="AutoBar_MoveArrowsTemplate" virtual="true">
38 <Size>
39 <AbsDimension x="64" y="32"/>
40 </Size>
41 <Frames>
42 <Button name="$parent_Up">
43 <Size>
44 <AbsDimension x="32" y="32"/>
45 </Size>
46 <Anchors>
47 <Anchor point="TOPLEFT"/>
48 </Anchors>
49 <Scripts>
50 <OnClick>
51 AutoBar_Options_MoveArrow_OnClick(this:GetParent():GetID(),"UP");
52 </OnClick>
53 <OnEnter>
54 GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
55 GameTooltip:SetText("Move item up.");
56 </OnEnter>
57 <OnLeave>
58 GameTooltip:Hide();
59 </OnLeave>
60 </Scripts>
61 <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up"/>
62 <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down"/>
63 <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/>
64 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
65 </Button>
66 <Button name="$parent_Down">
67 <Size>
68 <AbsDimension x="32" y="32"/>
69 </Size>
70 <Anchors>
71 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Up"/>
72 </Anchors>
73 <Scripts>
74 <OnClick>
75 AutoBar_Options_MoveArrow_OnClick(this:GetParent():GetID(),"DOWN");
76 </OnClick>
77 <OnEnter>
78 GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
79 GameTooltip:SetText("Move item down.");
80 </OnEnter>
81 <OnLeave>
82 GameTooltip:Hide();
83 </OnLeave>
84 </Scripts>
85 <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/>
86 <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/>
87 <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
88 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
89 </Button>
90 </Frames>
91 </Frame>
92 <Frame name="AutoBar_Options" toplevel="true" frameStrata="MEDIUM" hidden="true" parent="UIParent" enableMouse="true">
93 <Size>
94 <!--
95 <AbsDimension x="575" y="480"/>
96 -->
97 <AbsDimension x="600" y="280"/>
98 </Size>
99 <Anchors>
100 <Anchor point="CENTER"/>
101 </Anchors>
102 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
103 <BackgroundInsets>
104 <AbsInset left="11" right="12" top="12" bottom="11"/>
105 </BackgroundInsets>
106 <TileSize>
107 <AbsValue val="32"/>
108 </TileSize>
109 <EdgeSize>
110 <AbsValue val="32"/>
111 </EdgeSize>
112 </Backdrop>
113 <Layers>
114 <Layer level="ARTWORK">
115 <Texture name="$parentTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
116 <Size>
117 <AbsDimension x="448" y="64"/>
118 </Size>
119 <Anchors>
120 <Anchor point="TOP">
121 <Offset>
122 <AbsDimension x="0" y="12"/>
123 </Offset>
124 </Anchor>
125 </Anchors>
126 </Texture>
127 <FontString name="$parentTitleText" inherits="GameFontNormal" text="AutoBar">
128 <Anchors>
129 <Anchor point="TOP" relativeTo="$parentTitle">
130 <Offset>
131 <AbsDimension x="0" y="-14"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 </FontString>
136 </Layer>
137 </Layers>
138 <Scripts>
139 <OnLoad>
140 getglobal(this:GetName().."TitleText"):SetText("AutoBar ("..AUTOBAR_VERSION..")");
141 AutoBar_Config_OnLoad();
142 </OnLoad>
143 <OnShow>
144 AutoBar_Config_OnShow();
145 </OnShow>
146 <OnHide>
147 AutoBar_Options_ConfigButton:Hide();
148 AutoBar_ConfigUpdated();
149 </OnHide>
150 </Scripts>
151 <Frames>
152 <Frame name="$parent_Buttons" inherits="OptionFrameBoxTemplate">
153 <Size>
154 <AbsDimension x="1" y="80"/>
155 </Size>
156 <Anchors>
157 <Anchor point="TOPLEFT">
158 <Offset>
159 <AbsDimension x="10" y="-25"/>
160 </Offset>
161 </Anchor>
162 <Anchor point="TOPRIGHT">
163 <Offset>
164 <AbsDimension x="-10" y="-25"/>
165 </Offset>
166 </Anchor>
167 </Anchors>
168 <Layers>
169 <Layer level="OVERLAY">
170 <FontString name="$parent_Text" inherits="GameFontHighlight" justifyH="LEFT">
171 <Anchors>
172 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relative_To="$parent">
173 <Offset>
174 <AbsDimension x="255" y="-5"/>
175 </Offset>
176 </Anchor>
177 </Anchors>
178 </FontString>
179 </Layer>
180 </Layers>
181 <Scripts>
182 <OnLoad>
183 this:SetBackdropBorderColor(0.4,0.4,0.4);
184 this:SetBackdropColor(0.15,0.15,0.15);
185 getglobal(this:GetName().."Title"):SetText("Buttons");
186 getglobal(this:GetName().."_Text"):SetText("Click to Edit");
187 </OnLoad>
188 </Scripts>
189 <Frames>
190 <CheckButton name="$parent_Button1" inherits="AutoBar_Config_Button_Template" id="1">
191 <Anchors>
192 <Anchor point="TOPLEFT">
193 <Offset>
194 <AbsDimension x="40" y="-20"/>
195 </Offset>
196 </Anchor>
197 </Anchors>
198 </CheckButton>
199 <CheckButton name="$parent_Button2" inherits="AutoBar_Config_Button_Template" id="2">
200 <Anchors>
201 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button1">
202 <Offset>
203 <AbsDimension x="6" y="0"/>
204 </Offset>
205 </Anchor>
206 </Anchors>
207 </CheckButton>
208 <CheckButton name="$parent_Button3" inherits="AutoBar_Config_Button_Template" id="3">
209 <Anchors>
210 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button2">
211 <Offset>
212 <AbsDimension x="6" y="0"/>
213 </Offset>
214 </Anchor>
215 </Anchors>
216 </CheckButton>
217 <CheckButton name="$parent_Button4" inherits="AutoBar_Config_Button_Template" id="4">
218 <Anchors>
219 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button3">
220 <Offset>
221 <AbsDimension x="6" y="0"/>
222 </Offset>
223 </Anchor>
224 </Anchors>
225 </CheckButton>
226 <CheckButton name="$parent_Button5" inherits="AutoBar_Config_Button_Template" id="5">
227 <Anchors>
228 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button4">
229 <Offset>
230 <AbsDimension x="6" y="0"/>
231 </Offset>
232 </Anchor>
233 </Anchors>
234 </CheckButton>
235 <CheckButton name="$parent_Button6" inherits="AutoBar_Config_Button_Template" id="6">
236 <Anchors>
237 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button5">
238 <Offset>
239 <AbsDimension x="6" y="0"/>
240 </Offset>
241 </Anchor>
242 </Anchors>
243 </CheckButton>
244 <CheckButton name="$parent_Button7" inherits="AutoBar_Config_Button_Template" id="7">
245 <Anchors>
246 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button6">
247 <Offset>
248 <AbsDimension x="6" y="0"/>
249 </Offset>
250 </Anchor>
251 </Anchors>
252 </CheckButton>
253 <CheckButton name="$parent_Button8" inherits="AutoBar_Config_Button_Template" id="8">
254 <Anchors>
255 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button7">
256 <Offset>
257 <AbsDimension x="6" y="0"/>
258 </Offset>
259 </Anchor>
260 </Anchors>
261 </CheckButton>
262 <CheckButton name="$parent_Button9" inherits="AutoBar_Config_Button_Template" id="9">
263 <Anchors>
264 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button8">
265 <Offset>
266 <AbsDimension x="6" y="0"/>
267 </Offset>
268 </Anchor>
269 </Anchors>
270 </CheckButton>
271 <CheckButton name="$parent_Button10" inherits="AutoBar_Config_Button_Template" id="10">
272 <Anchors>
273 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button9">
274 <Offset>
275 <AbsDimension x="6" y="0"/>
276 </Offset>
277 </Anchor>
278 </Anchors>
279 </CheckButton>
280 <CheckButton name="$parent_Button11" inherits="AutoBar_Config_Button_Template" id="11">
281 <Anchors>
282 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button10">
283 <Offset>
284 <AbsDimension x="6" y="0"/>
285 </Offset>
286 </Anchor>
287 </Anchors>
288 </CheckButton>
289 <CheckButton name="$parent_Button12" inherits="AutoBar_Config_Button_Template" id="12">
290 <Anchors>
291 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button11">
292 <Offset>
293 <AbsDimension x="6" y="0"/>
294 </Offset>
295 </Anchor>
296 </Anchors>
297 </CheckButton>
298 </Frames>
299 </Frame>
300 <Frame name="$parent_Bar" inherits="OptionFrameBoxTemplate">
301 <Size>
302 <AbsDimension x="1" y="155"/>
303 </Size>
304 <Anchors>
305 <Anchor point="BOTTOMLEFT">
306 <Offset>
307 <AbsDimension x="10" y="10"/>
308 </Offset>
309 </Anchor>
310 <Anchor point="BOTTOMRIGHT">
311 <Offset>
312 <AbsDimension x="-10" y="10"/>
313 </Offset>
314 </Anchor>
315 </Anchors>
316 <Layers>
317 <Layer level="OVERLAY">
318 <FontString name="$parent_Text" inherits="GameFontHighlight" justifyH="LEFT">
319 <Anchors>
320 <Anchor point="BOTTOM">
321 <Offset>
322 <AbsDimension x="0" y="10"/>
323 </Offset>
324 </Anchor>
325 </Anchors>
326 </FontString>
327 </Layer>
328 </Layers>
329 <Scripts>
330 <OnLoad>
331 this:SetBackdropBorderColor(0.4,0.4,0.4);
332 this:SetBackdropColor(0.15,0.15,0.15);
333 getglobal(this:GetName().."Title"):SetText("Bar");
334 getglobal(this:GetName().."_Text"):SetText("Control Right-Click on AutoBar\nButton when undocked to move.");
335 </OnLoad>
336 </Scripts>
337 <Frames>
338 <Slider name="$parent_Rows" inherits="OptionsSliderTemplate">
339 <Anchors>
340 <Anchor point="TOPLEFT">
341 <Offset>
342 <AbsDimension x="10" y="-15"/>
343 </Offset>
344 </Anchor>
345 </Anchors>
346 <Scripts>
347 <OnValueChanged>
348 AutoBar_Options_Bar_Sliders(1);
349 </OnValueChanged>
350 <OnLoad>
351 this:SetMinMaxValues(1,12);
352 this:SetValueStep(1);
353 getglobal(this:GetName().."High"):SetText(12);
354 getglobal(this:GetName().."Low"):SetText(1);
355 </OnLoad>
356 </Scripts>
357 </Slider>
358 <Slider name="$parent_Columns" inherits="OptionsSliderTemplate">
359 <Anchors>
360 <Anchor point="TOP" relativeTo="$parent_Rows" relativePoint="BOTTOM">
361 <Offset>
362 <AbsDimension x="0" y="-18"/>
363 </Offset>
364 </Anchor>
365 </Anchors>
366 <Scripts>
367 <OnValueChanged>
368 AutoBar_Options_Bar_Sliders(1);
369 </OnValueChanged>
370 <OnLoad>
371 this:SetMinMaxValues(1,12);
372 this:SetValueStep(1);
373 getglobal(this:GetName().."High"):SetText(12);
374 getglobal(this:GetName().."Low"):SetText(1);
375 </OnLoad>
376 </Scripts>
377 </Slider>
378 <Slider name="$parent_Gapping" inherits="OptionsSliderTemplate">
379 <Anchors>
380 <Anchor point="TOP" relativeTo="$parent_Columns" relativePoint="BOTTOM">
381 <Offset>
382 <AbsDimension x="0" y="-18"/>
383 </Offset>
384 </Anchor>
385 </Anchors>
386 <Scripts>
387 <OnValueChanged>
388 AutoBar_Options_Bar_Sliders(1);
389 </OnValueChanged>
390 <OnLoad>
391 this:SetMinMaxValues(1,20);
392 this:SetValueStep(1);
393 getglobal(this:GetName().."High"):SetText(20);
394 getglobal(this:GetName().."Low"):SetText(1);
395 </OnLoad>
396 </Scripts>
397 </Slider>
398 <Slider name="$parent_Alpha" inherits="OptionsSliderTemplate">
399 <Anchors>
400 <Anchor point="TOP" relativeTo="$parent_Gapping" relativePoint="BOTTOM">
401 <Offset>
402 <AbsDimension x="0" y="-18"/>
403 </Offset>
404 </Anchor>
405 </Anchors>
406 <Scripts>
407 <OnValueChanged>
408 AutoBar_Options_Bar_Sliders(1);
409 </OnValueChanged>
410 <OnLoad>
411 this:SetMinMaxValues(1,10);
412 this:SetValueStep(1);
413 getglobal(this:GetName().."High"):SetText(1);
414 getglobal(this:GetName().."Low"):SetText(0.1);
415 </OnLoad>
416 </Scripts>
417 </Slider>
418 <CheckButton name="$parent_DockingMainBar" inherits="AutoBar_Options_CheckBoxTemplate">
419 <Anchors>
420 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Rows">
421 <Offset>
422 <AbsDimension x="0" y="0"/>
423 </Offset>
424 </Anchor>
425 </Anchors>
426 </CheckButton>
427 <Slider name="$parent_DockShiftX" inherits="OptionsSliderTemplate">
428 <Anchors>
429 <Anchor point="TOPLEFT" relativeTo="$parent_DockingMainBar" relativePoint="BOTTOMLEFT">
430 <Offset>
431 <AbsDimension x="10" y="-18"/>
432 </Offset>
433 </Anchor>
434 </Anchors>
435 <Scripts>
436 <OnValueChanged>
437 AutoBar_Options_Bar_Sliders(1);
438 </OnValueChanged>
439 <OnLoad>
440 this:SetMinMaxValues(-50,50);
441 this:SetValueStep(1);
442 getglobal(this:GetName().."High"):SetText(50);
443 getglobal(this:GetName().."Low"):SetText(-50);
444 </OnLoad>
445 </Scripts>
446 </Slider>
447 <Slider name="$parent_DockShiftY" inherits="OptionsSliderTemplate">
448 <Anchors>
449 <Anchor point="TOP" relativeTo="$parent_DockShiftX" relativePoint="BOTTOM">
450 <Offset>
451 <AbsDimension x="0" y="-18"/>
452 </Offset>
453 </Anchor>
454 </Anchors>
455 <Scripts>
456 <OnValueChanged>
457 AutoBar_Options_Bar_Sliders(1);
458 </OnValueChanged>
459 <OnLoad>
460 this:SetMinMaxValues(-50,50);
461 this:SetValueStep(1);
462 getglobal(this:GetName().."High"):SetText(50);
463 getglobal(this:GetName().."Low"):SetText(-50);
464 </OnLoad>
465 </Scripts>
466 </Slider>
467 <Slider name="$parent_ButtonWidth" inherits="OptionsSliderTemplate">
468 <Anchors>
469 <Anchor point="LEFT" relativeTo="$parent_DockingMainBar" relativePoint="RIGHT">
470 <Offset>
471 <AbsDimension x="120" y="0"/>
472 </Offset>
473 </Anchor>
474 </Anchors>
475 <Scripts>
476 <OnValueChanged>
477 AutoBar_Options_Bar_Sliders(1);
478 </OnValueChanged>
479 <OnLoad>
480 this:SetMinMaxValues(9,72);
481 this:SetValueStep(1);
482 getglobal(this:GetName().."High"):SetText(72);
483 getglobal(this:GetName().."Low"):SetText(9);
484 </OnLoad>
485 </Scripts>
486 </Slider>
487 <Slider name="$parent_ButtonHeight" inherits="OptionsSliderTemplate">
488 <Anchors>
489 <Anchor point="TOP" relativeTo="$parent_ButtonWidth" relativePoint="BOTTOM">
490 <Offset>
491 <AbsDimension x="0" y="-18"/>
492 </Offset>
493 </Anchor>
494 </Anchors>
495 <Scripts>
496 <OnValueChanged>
497 AutoBar_Options_Bar_Sliders(1);
498 </OnValueChanged>
499 <OnLoad>
500 this:SetMinMaxValues(9,72);
501 this:SetValueStep(1);
502 getglobal(this:GetName().."High"):SetText(72);
503 getglobal(this:GetName().."Low"):SetText(9);
504 </OnLoad>
505 </Scripts>
506 </Slider>
507 <CheckButton name="$parent_WidthHeightLocked" inherits="AutoBar_Options_CheckBoxTemplate">
508 <Anchors>
509 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_ButtonHeight">
510 <Offset>
511 <AbsDimension x="0" y="-10"/>
512 </Offset>
513 </Anchor>
514 </Anchors>
515 </CheckButton>
516 <CheckButton name="$parent_ReverseButtons" inherits="AutoBar_Options_CheckBoxTemplate">
517 <Anchors>
518 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_ButtonWidth">
519 <Offset>
520 <AbsDimension x="10" y="0"/>
521 </Offset>
522 </Anchor>
523 </Anchors>
524 </CheckButton>
525 <CheckButton name="$parent_HideKeyText" inherits="AutoBar_Options_CheckBoxTemplate">
526 <Anchors>
527 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_ReverseButtons">
528 <Offset>
529 <AbsDimension x="0" y="5"/>
530 </Offset>
531 </Anchor>
532 </Anchors>
533 </CheckButton>
534 <CheckButton name="$parent_HideCount" inherits="AutoBar_Options_CheckBoxTemplate">
535 <Anchors>
536 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_HideKeyText">
537 <Offset>
538 <AbsDimension x="0" y="5"/>
539 </Offset>
540 </Anchor>
541 </Anchors>
542 </CheckButton>
543 <CheckButton name="$parent_ShowEmptyButtons" inherits="AutoBar_Options_CheckBoxTemplate">
544 <Anchors>
545 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_HideCount">
546 <Offset>
547 <AbsDimension x="0" y="5"/>
548 </Offset>
549 </Anchor>
550 </Anchors>
551 </CheckButton>
552 <Button name="$parent_ResetDisplay" inherits="UIPanelButtonTemplate" text="Reset to Default">
553 <Size>
554 <AbsDimension x="125" y="21"/>
555 </Size>
556 <Anchors>
557 <Anchor point="BOTTOMRIGHT">
558 <Offset>
559 <AbsDimension x="-8" y="8"/>
560 </Offset>
561 </Anchor>
562 </Anchors>
563 <Scripts>
564 <OnClick>
565 AutoBar_Config[AutoBar_Player].display = {};
566 AutoBar_Config_OnShow();
567 </OnClick>
568 </Scripts>
569 </Button>
570 </Frames>
571 </Frame>
572 <Frame name="$parent_ConfigButton" toplevel="true" frameStrata="MEDIUM" hidden="true" enableMouse="true">
573 <Size>
574 <AbsDimension x="300" y="400"/>
575 </Size>
576 <Anchors>
577 <Anchor point="CENTER" relativeTo="UIParent"/>
578 </Anchors>
579 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
580 <BackgroundInsets>
581 <AbsInset left="11" right="12" top="12" bottom="11"/>
582 </BackgroundInsets>
583 <TileSize>
584 <AbsValue val="32"/>
585 </TileSize>
586 <EdgeSize>
587 <AbsValue val="32"/>
588 </EdgeSize>
589 </Backdrop>
590 <Layers>
591 <Layer level="ARTWORK">
592 <Texture name="$parentTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
593 <Size>
594 <AbsDimension x="448" y="64"/>
595 </Size>
596 <Anchors>
597 <Anchor point="TOP">
598 <Offset>
599 <AbsDimension x="0" y="12"/>
600 </Offset>
601 </Anchor>
602 </Anchors>
603 </Texture>
604 <FontString name="$parentTitleText" inherits="GameFontNormal" text="AutoBar">
605 <Anchors>
606 <Anchor point="TOP" relativeTo="$parentTitle">
607 <Offset>
608 <AbsDimension x="0" y="-14"/>
609 </Offset>
610 </Anchor>
611 </Anchors>
612 </FontString>
613 </Layer>
614 </Layers>
615 <Scripts>
616 <OnLoad>
617 -- this:SetBackdropBorderColor(0.4,0.4,0.4);
618 this:SetBackdropColor(0.15,0.15,0.15);
619 getglobal(this:GetName().."TitleText"):SetText("Edit Button");
620 </OnLoad>
621 <OnHide>
622 AutoBar_Options_ConfigButton_ChooseCategory:Hide();
623 AutoBar_Config_OnShow();
624 AutoBar_ConfigUpdated();
625 </OnHide>
626 </Scripts>
627 <Frames>
628 <CheckButton name="$parent_Button1" inherits="AutoBar_Config_Button_Template" id="1">
629 <Anchors>
630 <Anchor point="TOPLEFT">
631 <Offset>
632 <AbsDimension x="30" y="-30"/>
633 </Offset>
634 </Anchor>
635 </Anchors>
636 </CheckButton>
637 <CheckButton name="$parent_Button2" inherits="AutoBar_Config_Button_Template" id="2">
638 <Anchors>
639 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button1">
640 <Offset>
641 <AbsDimension x="0" y="-6"/>
642 </Offset>
643 </Anchor>
644 </Anchors>
645 </CheckButton>
646 <CheckButton name="$parent_Button3" inherits="AutoBar_Config_Button_Template" id="3">
647 <Anchors>
648 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button2">
649 <Offset>
650 <AbsDimension x="0" y="-6"/>
651 </Offset>
652 </Anchor>
653 </Anchors>
654 </CheckButton>
655 <CheckButton name="$parent_Button4" inherits="AutoBar_Config_Button_Template" id="4">
656 <Anchors>
657 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button3">
658 <Offset>
659 <AbsDimension x="0" y="-6"/>
660 </Offset>
661 </Anchor>
662 </Anchors>
663 </CheckButton>
664 <CheckButton name="$parent_Button5" inherits="AutoBar_Config_Button_Template" id="5">
665 <Anchors>
666 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button4">
667 <Offset>
668 <AbsDimension x="0" y="-6"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 </CheckButton>
673 <CheckButton name="$parent_Button6" inherits="AutoBar_Config_Button_Template" id="6">
674 <Anchors>
675 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button5">
676 <Offset>
677 <AbsDimension x="0" y="-6"/>
678 </Offset>
679 </Anchor>
680 </Anchors>
681 </CheckButton>
682 <CheckButton name="$parent_Button7" inherits="AutoBar_Config_Button_Template" id="7">
683 <Anchors>
684 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button6">
685 <Offset>
686 <AbsDimension x="0" y="-6"/>
687 </Offset>
688 </Anchor>
689 </Anchors>
690 </CheckButton>
691 <CheckButton name="$parent_Button8" inherits="AutoBar_Config_Button_Template" id="8">
692 <Anchors>
693 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button7">
694 <Offset>
695 <AbsDimension x="0" y="-6"/>
696 </Offset>
697 </Anchor>
698 </Anchors>
699 </CheckButton>
700 <Frame name="$parent_Move1" inherits="AutoBar_MoveArrowsTemplate" id="1">
701 <Anchors>
702 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button1"/>
703 </Anchors>
704 </Frame>
705 <Frame name="$parent_Move2" inherits="AutoBar_MoveArrowsTemplate" id="2">
706 <Anchors>
707 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button2"/>
708 </Anchors>
709 </Frame>
710 <Frame name="$parent_Move3" inherits="AutoBar_MoveArrowsTemplate" id="3">
711 <Anchors>
712 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button3"/>
713 </Anchors>
714 </Frame>
715 <Frame name="$parent_Move4" inherits="AutoBar_MoveArrowsTemplate" id="4">
716 <Anchors>
717 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button4"/>
718 </Anchors>
719 </Frame>
720 <Frame name="$parent_Move5" inherits="AutoBar_MoveArrowsTemplate" id="5">
721 <Anchors>
722 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button5"/>
723 </Anchors>
724 </Frame>
725 <Frame name="$parent_Move6" inherits="AutoBar_MoveArrowsTemplate" id="6">
726 <Anchors>
727 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button6"/>
728 </Anchors>
729 </Frame>
730 <Frame name="$parent_Move7" inherits="AutoBar_MoveArrowsTemplate" id="7">
731 <Anchors>
732 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button7"/>
733 </Anchors>
734 </Frame>
735 <Frame name="$parent_Move8" inherits="AutoBar_MoveArrowsTemplate" id="8">
736 <Anchors>
737 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button8"/>
738 </Anchors>
739 </Frame>
740 <CheckButton name="$parent_Option1" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="1">
741 <Anchors>
742 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move1"/>
743 </Anchors>
744 </CheckButton>
745 <CheckButton name="$parent_Option2" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="2">
746 <Anchors>
747 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move2"/>
748 </Anchors>
749 </CheckButton>
750 <CheckButton name="$parent_Option3" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="3">
751 <Anchors>
752 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move3"/>
753 </Anchors>
754 </CheckButton>
755 <CheckButton name="$parent_Option4" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="4">
756 <Anchors>
757 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move4"/>
758 </Anchors>
759 </CheckButton>
760 <CheckButton name="$parent_Option5" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="5">
761 <Anchors>
762 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move5"/>
763 </Anchors>
764 </CheckButton>
765 <CheckButton name="$parent_Option6" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="6">
766 <Anchors>
767 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move6"/>
768 </Anchors>
769 </CheckButton>
770 <CheckButton name="$parent_Option7" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="7">
771 <Anchors>
772 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move7"/>
773 </Anchors>
774 </CheckButton>
775 <CheckButton name="$parent_Option8" inherits="AutoBar_Options_ConfigButton_OptionTemplate" id="8">
776 <Anchors>
777 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Move8"/>
778 </Anchors>
779 </CheckButton>
780 <Button name="$parent_ConvertButton" inherits="UIPanelButtonTemplate" text="Convert">
781 <Size>
782 <AbsDimension x="200" y="21"/>
783 </Size>
784 <Anchors>
785 <Anchor point="TOPRIGHT">
786 <Offset>
787 <AbsDimension x="-30" y="-20"/>
788 </Offset>
789 </Anchor>
790 </Anchors>
791 <Scripts>
792 <OnClick>
793 AutoBar_Config_Button_ConvertOnClick();
794 </OnClick>
795 </Scripts>
796 </Button>
797 <Button name="$parent_DoneButton" inherits="UIPanelButtonTemplate" text="Done">
798 <Size>
799 <AbsDimension x="131" y="21"/>
800 </Size>
801 <Anchors>
802 <Anchor point="CENTER">
803 <Offset>
804 <AbsDimension x="0" y="-175"/>
805 </Offset>
806 </Anchor>
807 </Anchors>
808 <Scripts>
809 <OnClick>
810 this:GetParent():Hide();
811 </OnClick>
812 </Scripts>
813 </Button>
814 <Frame name="$parent_ChooseCategory" toplevel="true" frameStrata="MEDIUM" hidden="true" enableMouse="true">
815 <Size>
816 <AbsDimension x="300" y="400"/>
817 </Size>
818 <Anchors>
819 <Anchor point="CENTER" relativeTo="UIParent">
820 <Offset>
821 <AbsDimension x="100" y="0"/>
822 </Offset>
823 </Anchor>
824 </Anchors>
825 <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
826 <BackgroundInsets>
827 <AbsInset left="5" right="5" top="5" bottom="5"/>
828 </BackgroundInsets>
829 <TileSize>
830 <AbsValue val="32"/>
831 </TileSize>
832 <EdgeSize>
833 <AbsValue val="32"/>
834 </EdgeSize>
835 </Backdrop>
836 <Scripts>
837 <OnLoad>
838 local idx;
839 for idx = 1, 7, 1 do
840 getglobal(this:GetName().."_Text"..idx):SetPoint("LEFT",this:GetName().."_Button"..idx,"RIGHT",5,0);
841 getglobal(this:GetName().."_Text"..idx):SetWidth(150);
842 end
843 </OnLoad>
844 <OnShow>
845 AutoBar_Config_ButtonChooseCategory_OnShow();
846 </OnShow>
847 <OnHide>
848 this.categoryexplore = nil;
849 AutoBar_Config_Button_Edit();
850 AutoBar_ConfigUpdated();
851 </OnHide>
852 </Scripts>
853 <Layers>
854 <Layer level="BACKGROUND">
855 <FontString name="$parent_Text1" inherits="GameFontNormal" justifyH="LEFT"/>
856 <FontString name="$parent_Text2" inherits="GameFontNormal" justifyH="LEFT"/>
857 <FontString name="$parent_Text3" inherits="GameFontNormal" justifyH="LEFT"/>
858 <FontString name="$parent_Text4" inherits="GameFontNormal" justifyH="LEFT"/>
859 <FontString name="$parent_Text5" inherits="GameFontNormal" justifyH="LEFT"/>
860 <FontString name="$parent_Text6" inherits="GameFontNormal" justifyH="LEFT"/>
861 <FontString name="$parent_Text7" inherits="GameFontNormal" justifyH="LEFT"/>
862 <FontString name="$parent_HintText1" inherits="GameFontNormal" text="(Shift Click to explore Category)">
863 <Anchors>
864 <Anchor point="BOTTOM">
865 <Offset>
866 <AbsDimension x="0" y="40"/>
867 </Offset>
868 </Anchor>
869 </Anchors>
870 </FontString>
871 </Layer>
872 </Layers>
873 <Frames>
874 <Button name="$parent_SingleItemCustom" inherits="UIPanelButtonTemplate" text="Insert Custom Single Item">
875 <Size>
876 <AbsDimension x="200" y="21"/>
877 </Size>
878 <Anchors>
879 <Anchor point="CENTER">
880 <Offset>
881 <AbsDimension x="0" y="175"/>
882 </Offset>
883 </Anchor>
884 </Anchors>
885 <Scripts>
886 <OnClick>
887 AutoBar_Config_Button_InsertCustomItem();
888 </OnClick>
889 </Scripts>
890 </Button>
891 <Button name="$parent_DoneButton" inherits="UIPanelButtonTemplate" text="Done">
892 <Size>
893 <AbsDimension x="131" y="21"/>
894 </Size>
895 <Anchors>
896 <Anchor point="CENTER">
897 <Offset>
898 <AbsDimension x="0" y="-175"/>
899 </Offset>
900 </Anchor>
901 </Anchors>
902 <Scripts>
903 <OnClick>
904 this:GetParent():Hide();
905 </OnClick>
906 </Scripts>
907 </Button>
908 <CheckButton name="$parent_Button1" inherits="AutoBar_Config_Button_Template" id="1">
909 <Anchors>
910 <Anchor point="TOPLEFT">
911 <Offset>
912 <AbsDimension x="30" y="-45"/>
913 </Offset>
914 </Anchor>
915 </Anchors>
916 </CheckButton>
917 <CheckButton name="$parent_Button2" inherits="AutoBar_Config_Button_Template" id="2">
918 <Anchors>
919 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button1">
920 <Offset>
921 <AbsDimension x="0" y="-6"/>
922 </Offset>
923 </Anchor>
924 </Anchors>
925 </CheckButton>
926 <CheckButton name="$parent_Button3" inherits="AutoBar_Config_Button_Template" id="3">
927 <Anchors>
928 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button2">
929 <Offset>
930 <AbsDimension x="0" y="-6"/>
931 </Offset>
932 </Anchor>
933 </Anchors>
934 </CheckButton>
935 <CheckButton name="$parent_Button4" inherits="AutoBar_Config_Button_Template" id="4">
936 <Anchors>
937 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button3">
938 <Offset>
939 <AbsDimension x="0" y="-6"/>
940 </Offset>
941 </Anchor>
942 </Anchors>
943 </CheckButton>
944 <CheckButton name="$parent_Button5" inherits="AutoBar_Config_Button_Template" id="5">
945 <Anchors>
946 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button4">
947 <Offset>
948 <AbsDimension x="0" y="-6"/>
949 </Offset>
950 </Anchor>
951 </Anchors>
952 </CheckButton>
953 <CheckButton name="$parent_Button6" inherits="AutoBar_Config_Button_Template" id="6">
954 <Anchors>
955 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button5">
956 <Offset>
957 <AbsDimension x="0" y="-6"/>
958 </Offset>
959 </Anchor>
960 </Anchors>
961 </CheckButton>
962 <CheckButton name="$parent_Button7" inherits="AutoBar_Config_Button_Template" id="7">
963 <Anchors>
964 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button6">
965 <Offset>
966 <AbsDimension x="0" y="-6"/>
967 </Offset>
968 </Anchor>
969 </Anchors>
970 </CheckButton>
971 <ScrollFrame name="$parent_Scroll" inherits="FauxScrollFrameTemplate">
972 <Size>
973 <AbsDimension x="255" y="355"/>
974 </Size>
975 <Anchors>
976 <Anchor point="TOPRIGHT">
977 <Offset>
978 <AbsDimension x="-35" y="-23"/>
979 </Offset>
980 </Anchor>
981 </Anchors>
982 <Scripts>
983 <OnVerticalScroll>
984 FauxScrollFrame_OnVerticalScroll(36, AutoBar_Config_ButtonChooseCategory_OnScroll);
985 </OnVerticalScroll>
986 </Scripts>
987 <Layers>
988 <Layer level="BACKGROUND">
989 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
990 <Size>
991 <AbsDimension x="31" y="256"/>
992 </Size>
993 <Anchors>
994 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
995 <Offset>
996 <AbsDimension x="-2" y="5"/>
997 </Offset>
998 </Anchor>
999 </Anchors>
1000 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
1001 </Texture>
1002 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
1003 <Size>
1004 <AbsDimension x="31" y="108"/>
1005 </Size>
1006 <Anchors>
1007 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
1008 <Offset>
1009 <AbsDimension x="-2" y="-4"/>
1010 </Offset>
1011 </Anchor>
1012 </Anchors>
1013 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.421875"/>
1014 </Texture>
1015 </Layer>
1016 </Layers>
1017 </ScrollFrame>
1018 </Frames>
1019 </Frame>
1020 </Frames>
1021 </Frame>
1022 </Frames>
1023 </Frame>
1024 </Ui>