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 ..\FrameXML\UI.xsd">
3  
4 <CheckButton name="DAB_BarTabButtonTemplate" inherits="DL_TabButtonTemplate" virtual="true">
5 <Size><AbsDimension x="130" y="20"/></Size>
6 </CheckButton>
7  
8 <Frame name="DAB_BarOptions" hidden="false" parent="DAB_Options" frameStrata="MEDIUM">
9 <Size><AbsDimension x="10" y="10"/></Size>
10 <Anchors>
11 <Anchor point="TOPLEFT" relativeTo="DAB_Options_BarBrowser_OuterBorder" relativePoint="TOPRIGHT">
12 <Offset><AbsDimension x="5" y="-5"/></Offset>
13 </Anchor>
14 <Anchor point="BOTTOMRIGHT"/>
15 </Anchors>
16 <Frames>
17 <CheckButton name="$parent_BarAppearanceTab" inherits="DAB_BarTabButtonTemplate" id="1">
18 <Anchors>
19 <Anchor point="TOPLEFT">
20 <Offset><AbsDimension x="0" y="-22"/></Offset>
21 </Anchor>
22 </Anchors>
23 <Scripts>
24 <OnLoad>
25 DL_Init_TabButton(DAB_TEXT.BarAppearance, "DAB_BAR_OPTIONS", DAB_Select_BarOptions, 1);
26 </OnLoad>
27 </Scripts>
28 </CheckButton>
29 <CheckButton name="$parent_BarControlTab" inherits="DAB_BarTabButtonTemplate" id="2">
30 <Anchors>
31 <Anchor point="TOP" relativeTo="$parent_BarAppearanceTab" relativePoint="BOTTOM">
32 <Offset><AbsDimension x="0" y="-2"/></Offset>
33 </Anchor>
34 </Anchors>
35 <Scripts>
36 <OnLoad>
37 DL_Init_TabButton(DAB_TEXT.BarControl, "DAB_BAR_OPTIONS", DAB_Select_BarOptions);
38 </OnLoad>
39 </Scripts>
40 </CheckButton>
41 <CheckButton name="$parent_ButtonAppearanceTab" inherits="DAB_BarTabButtonTemplate" id="3">
42 <Anchors>
43 <Anchor point="LEFT" relativeTo="$parent_BarAppearanceTab" relativePoint="RIGHT">
44 <Offset><AbsDimension x="2" y="0"/></Offset>
45 </Anchor>
46 </Anchors>
47 <Scripts>
48 <OnLoad>
49 DL_Init_TabButton(DAB_TEXT.ButtonAppearance, "DAB_BAR_OPTIONS", DAB_Select_BarOptions);
50 </OnLoad>
51 </Scripts>
52 </CheckButton>
53 <CheckButton name="$parent_ButtonControlTab" inherits="DAB_BarTabButtonTemplate" id="4">
54 <Anchors>
55 <Anchor point="TOP" relativeTo="$parent_ButtonAppearanceTab" relativePoint="BOTTOM">
56 <Offset><AbsDimension x="0" y="-2"/></Offset>
57 </Anchor>
58 </Anchors>
59 <Scripts>
60 <OnLoad>
61 DL_Init_TabButton(DAB_TEXT.ButtonControl, "DAB_BAR_OPTIONS", DAB_Select_BarOptions);
62 </OnLoad>
63 </Scripts>
64 </CheckButton>
65 <CheckButton name="$parent_LabelTab" inherits="DAB_BarTabButtonTemplate" id="5">
66 <Anchors>
67 <Anchor point="LEFT" relativeTo="$parent_ButtonAppearanceTab" relativePoint="RIGHT">
68 <Offset><AbsDimension x="2" y="0"/></Offset>
69 </Anchor>
70 </Anchors>
71 <Scripts>
72 <OnLoad>
73 DL_Init_TabButton(DAB_TEXT.Label, "DAB_BAR_OPTIONS", DAB_Select_BarOptions);
74 </OnLoad>
75 </Scripts>
76 </CheckButton>
77 <CheckButton name="$parent_ScriptsTab" inherits="DAB_BarTabButtonTemplate" id="6">
78 <Anchors>
79 <Anchor point="TOP" relativeTo="$parent_LabelTab" relativePoint="BOTTOM">
80 <Offset><AbsDimension x="0" y="-2"/></Offset>
81 </Anchor>
82 </Anchors>
83 <Scripts>
84 <OnLoad>
85 DL_Init_TabButton(DAB_TEXT.Scripts, "DAB_BAR_OPTIONS", DAB_Select_BarOptions);
86 </OnLoad>
87 </Scripts>
88 </CheckButton>
89 </Frames>
90 <Scripts>
91 <OnLoad>
92 this:EnableMouseWheel(1);
93 </OnLoad>
94 <OnMouseWheel>
95 DAB_BarOptions_OnMouseWheel(arg1);
96 </OnMouseWheel>
97 </Scripts>
98 </Frame>
99  
100 <Frame name="DAB_BarOptions_BarAppearance" hidden="false" parent="DAB_BarOptions" frameStrata="MEDIUM">
101 <Size><AbsDimension x="10" y="10"/></Size>
102 <Anchors>
103 <Anchor point="TOPLEFT">
104 <Offset><AbsDimension x="0" y="-70"/></Offset>
105 </Anchor>
106 </Anchors>
107 <Frames>
108 <CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate">
109 <Anchors>
110 <Anchor point="TOPLEFT"/>
111 </Anchors>
112 <Scripts>
113 <OnLoad>
114 this.index = "hide";
115 DL_Set_Label(DAB_TEXT.Hide);
116 </OnLoad>
117 </Scripts>
118 </CheckButton>
119 <CheckButton name="$parent_HideOnClick" inherits="DAB_CheckBoxTemplate">
120 <Anchors>
121 <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT">
122 <Offset><AbsDimension x="0" y="3"/></Offset>
123 </Anchor>
124 </Anchors>
125 <Scripts>
126 <OnLoad>
127 this.index = "hideonclick";
128 this.settingType = 0;
129 DL_Set_Label(DAB_TEXT.HideOnClick);
130 </OnLoad>
131 </Scripts>
132 </CheckButton>
133 <CheckButton name="$parent_HideEmpty" inherits="DAB_CheckBoxTemplate">
134 <Anchors>
135 <Anchor point="TOPLEFT" relativeTo="$parent_HideOnClick" relativePoint="BOTTOMLEFT">
136 <Offset><AbsDimension x="0" y="3"/></Offset>
137 </Anchor>
138 </Anchors>
139 <Scripts>
140 <OnLoad>
141 this.index = "hideEmpty";
142 DL_Set_Label(DAB_TEXT.HideEmpty);
143 </OnLoad>
144 </Scripts>
145 </CheckButton>
146 <CheckButton name="$parent_DisableTooltips" inherits="DAB_CheckBoxTemplate">
147 <Anchors>
148 <Anchor point="TOPLEFT" relativeTo="$parent_HideEmpty" relativePoint="BOTTOMLEFT">
149 <Offset><AbsDimension x="0" y="3"/></Offset>
150 </Anchor>
151 </Anchors>
152 <Scripts>
153 <OnLoad>
154 this.index = "disableTooltips";
155 this.settingType = 0;
156 DL_Set_Label(DAB_TEXT.DisableTooltip);
157 </OnLoad>
158 </Scripts>
159 </CheckButton>
160 <CheckButton name="$parent_Collapse" inherits="DAB_CheckBoxTemplate">
161 <Anchors>
162 <Anchor point="TOPLEFT" relativeTo="$parent_DisableTooltips" relativePoint="BOTTOMLEFT">
163 <Offset><AbsDimension x="0" y="3"/></Offset>
164 </Anchor>
165 </Anchors>
166 <Scripts>
167 <OnLoad>
168 this.index = "collapse";
169 DL_Set_Label(DAB_TEXT.CollapseHidden);
170 </OnLoad>
171 </Scripts>
172 </CheckButton>
173 <CheckButton name="$parent_CooldownCount" inherits="DAB_CheckBoxTemplate">
174 <Anchors>
175 <Anchor point="TOPLEFT">
176 <Offset><AbsDimension x="190" y="0"/></Offset>
177 </Anchor>
178 </Anchors>
179 <Scripts>
180 <OnLoad>
181 this.index = "cooldownCount";
182 this.settingType = 0;
183 DL_Set_Label(DAB_TEXT.ShowCooldownCount);
184 </OnLoad>
185 </Scripts>
186 </CheckButton>
187 <CheckButton name="$parent_HideGlobalCooldown" inherits="DAB_CheckBoxTemplate">
188 <Anchors>
189 <Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT">
190 <Offset><AbsDimension x="20" y="3"/></Offset>
191 </Anchor>
192 </Anchors>
193 <Scripts>
194 <OnLoad>
195 this.index = "hideGlobalCD";
196 this.settingType = 0;
197 DL_Set_Label(DAB_TEXT.HideGlobalCooldownCount);
198 </OnLoad>
199 </Scripts>
200 </CheckButton>
201 <CheckButton name="$parent_AutoAttack" inherits="DAB_CheckBoxTemplate">
202 <Anchors>
203 <Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT">
204 <Offset><AbsDimension x="0" y="-19"/></Offset>
205 </Anchor>
206 </Anchors>
207 <Scripts>
208 <OnLoad>
209 this.index = "autoAttack";
210 this.settingType = 0;
211 DL_Set_Label(DAB_TEXT.AutoAttack);
212 </OnLoad>
213 </Scripts>
214 </CheckButton>
215 <CheckButton name="$parent_PetAutoAttack" inherits="DAB_CheckBoxTemplate">
216 <Anchors>
217 <Anchor point="TOPLEFT" relativeTo="$parent_AutoAttack" relativePoint="BOTTOMLEFT">
218 <Offset><AbsDimension x="0" y="3"/></Offset>
219 </Anchor>
220 </Anchors>
221 <Scripts>
222 <OnLoad>
223 this.index = "petAutoAttack";
224 this.settingType = 0;
225 DL_Set_Label(DAB_TEXT.PetAutoAttack);
226 </OnLoad>
227 </Scripts>
228 </CheckButton>
229 <CheckButton name="$parent_LockButtons" inherits="DAB_CheckBoxTemplate">
230 <Anchors>
231 <Anchor point="TOPLEFT" relativeTo="$parent_PetAutoAttack" relativePoint="BOTTOMLEFT">
232 <Offset><AbsDimension x="0" y="3"/></Offset>
233 </Anchor>
234 </Anchors>
235 <Scripts>
236 <OnLoad>
237 this.index = "buttonsLocked";
238 this.settingType = 0;
239 DL_Set_Label(DAB_TEXT.LockButtons);
240 </OnLoad>
241 </Scripts>
242 </CheckButton>
243 <CheckButton name="$parent_DisableMousewheel" inherits="DAB_CheckBoxTemplate">
244 <Anchors>
245 <Anchor point="TOPLEFT" relativeTo="$parent_LockButtons" relativePoint="BOTTOMLEFT">
246 <Offset><AbsDimension x="0" y="3"/></Offset>
247 </Anchor>
248 </Anchors>
249 <Scripts>
250 <OnLoad>
251 this.index = "disableMW";
252 this.settingType = 0;
253 DL_Set_Label(DAB_TEXT.DisableMousewheel);
254 </OnLoad>
255 </Scripts>
256 </CheckButton>
257 <EditBox name="$parent_SkipPages" inherits="DAB_EditBoxTemplate">
258 <Size><AbsDimension x="120" y="24"/></Size>
259 <Scripts>
260 <OnLoad>
261 this.index = "skipPages";
262 this.settingType = 0;
263 DL_Set_Label(DAB_TEXT.SkipPages);
264 DL_Set_Anchor("_DisableMousewheel", 0, 0);
265 </OnLoad>
266 </Scripts>
267 </EditBox>
268  
269 <Slider name="$parent_Size" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1">
270 <Anchors>
271 <Anchor point="TOPLEFT" relativeTo="$parent_Collapse" relativePoint="BOTTOMLEFT">
272 <Offset><AbsDimension x="0" y="-15"/></Offset>
273 </Anchor>
274 </Anchors>
275 <Scripts>
276 <OnLoad>
277 this.index = "size";
278 this.minlock = true;
279 this.settingType = "ButtonSize";
280 DL_Set_Label(DAB_TEXT.ButtonSize);
281 </OnLoad>
282 </Scripts>
283 </Slider>
284 <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
285 <Anchors>
286 <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
287 <Offset><AbsDimension x="0" y="-20"/></Offset>
288 </Anchor>
289 </Anchors>
290 <Scripts>
291 <OnLoad>
292 this.index = "alpha";
293 this.settingType = "ButtonAlpha";
294 this.minlock = true;
295 this.maxlock = true;
296 this.scale = 100;
297 DL_Set_Label(DAB_TEXT.ButtonAlpha);
298 </OnLoad>
299 </Scripts>
300 </Slider>
301 <Slider name="$parent_Rows" inherits="DAB_SliderTemplate" minValue="1" maxValue="12" valueStep="1">
302 <Anchors>
303 <Anchor point="LEFT" relativeTo="$parent_Alpha" relativePoint="RIGHT">
304 <Offset><AbsDimension x="70" y="0"/></Offset>
305 </Anchor>
306 </Anchors>
307 <Scripts>
308 <OnLoad>
309 this.index = "rows";
310 this.minlock = true;
311 DL_Set_Label(DAB_TEXT.Rows);
312 </OnLoad>
313 </Scripts>
314 </Slider>
315 <Slider name="$parent_HSpacing" inherits="DAB_SliderTemplate" minValue="-20" maxValue="100" valueStep=".5">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT">
318 <Offset><AbsDimension x="0" y="-20"/></Offset>
319 </Anchor>
320 </Anchors>
321 <Scripts>
322 <OnLoad>
323 this.index = "hspacing";
324 DL_Set_Label(DAB_TEXT.SpacingH);
325 </OnLoad>
326 </Scripts>
327 </Slider>
328 <Slider name="$parent_VSpacing" inherits="DAB_SliderTemplate" minValue="-20" maxValue="100" valueStep=".5">
329 <Anchors>
330 <Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT">
331 <Offset><AbsDimension x="70" y="0"/></Offset>
332 </Anchor>
333 </Anchors>
334 <Scripts>
335 <OnLoad>
336 this.index = "vspacing";
337 DL_Set_Label(DAB_TEXT.SpacingV);
338 </OnLoad>
339 </Scripts>
340 </Slider>
341  
342 <Frame name="$parent_AnchorFrame" inherits="DiscordLib_EditMenuControlTemplate">
343 <Size><AbsDimension x="125" y="22"/></Size>
344 <Scripts>
345 <OnLoad>
346 this:SetBackdropColor(0.0, 0.0, 0.0);
347 this.menu = "DAB_ScrollMenu";
348 this.table = "DL_ANCHOR_FRAMES";
349 this.editFunc = DAB_AnchorFrameEditBox_OnEnterPressed;
350 this.index = "Anchor";
351 this.subindex = "frame";
352 this.settingType = "Location";
353 DL_Set_Label(DAB_TEXT.AnchorFrame);
354 DL_Set_Anchor("_HSpacing", 2, -10);
355 </OnLoad>
356 </Scripts>
357 </Frame>
358 <Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate">
359 <Size><AbsDimension x="125" y="22"/></Size>
360 <Scripts>
361 <OnLoad>
362 this:SetBackdropColor(0.0, 0.0, 0.0);
363 this.menu = "DAB_DropMenu";
364 this.table = "DL_ANCHORS";
365 this.index = "Anchor";
366 this.subindex = "point";
367 this.settingType = "Location";
368 DL_Set_Label(DAB_TEXT.AnchorPoint);
369 DL_Set_Anchor("_HSpacing", 0, -32);
370 </OnLoad>
371 </Scripts>
372 </Button>
373 <Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate">
374 <Size><AbsDimension x="125" y="22"/></Size>
375 <Scripts>
376 <OnLoad>
377 this:SetBackdropColor(0.0, 0.0, 0.0);
378 this.menu = "DAB_DropMenu";
379 this.table = "DL_ANCHORS";
380 this.index = "Anchor";
381 this.subindex = "to";
382 this.settingType = "Location";
383 DL_Set_Label(DAB_TEXT.AnchorTo);
384 DL_Set_Anchor("_HSpacing", 0, -54);
385 </OnLoad>
386 </Scripts>
387 </Button>
388 <Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1">
389 <Anchors>
390 <Anchor point="TOPLEFT">
391 <Offset><AbsDimension x="299" y="-230"/></Offset>
392 </Anchor>
393 </Anchors>
394 <Scripts>
395 <OnLoad>
396 DL_NudgeButton_OnLoad();
397 this.updateFrame = "DAB_BarOptions_BarAppearance_YOffset";
398 </OnLoad>
399 </Scripts>
400 </Button>
401 <Button name="$parent_NudgeDown" inherits="DAB_NudgeTemplate" id="2">
402 <Anchors>
403 <Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM">
404 <Offset><AbsDimension x="0" y="0"/></Offset>
405 </Anchor>
406 </Anchors>
407 <Scripts>
408 <OnLoad>
409 DL_NudgeButton_OnLoad();
410 this.updateFrame = "DAB_BarOptions_BarAppearance_YOffset";
411 </OnLoad>
412 </Scripts>
413 </Button>
414 <Button name="$parent_NudgeLeft" inherits="DAB_NudgeTemplate" id="3">
415 <Anchors>
416 <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT">
417 <Offset><AbsDimension x="0" y="0"/></Offset>
418 </Anchor>
419 </Anchors>
420 <Scripts>
421 <OnLoad>
422 DL_NudgeButton_OnLoad();
423 this.updateFrame = "DAB_BarOptions_BarAppearance_XOffset";
424 </OnLoad>
425 </Scripts>
426 </Button>
427 <Button name="$parent_NudgeRight" inherits="DAB_NudgeTemplate" id="4">
428 <Anchors>
429 <Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT">
430 <Offset><AbsDimension x="0" y="0"/></Offset>
431 </Anchor>
432 </Anchors>
433 <Scripts>
434 <OnLoad>
435 DL_NudgeButton_OnLoad();
436 this.updateFrame = "DAB_BarOptions_BarAppearance_XOffset";
437 </OnLoad>
438 </Scripts>
439 </Button>
440 <EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate">
441 <Size><AbsDimension x="70" y="24"/></Size>
442 <Anchors>
443 <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeDown" relativePoint="BOTTOM">
444 <Offset><AbsDimension x="0" y="-5"/></Offset>
445 </Anchor>
446 </Anchors>
447 <Scripts>
448 <OnLoad>
449 this.index = "Anchor";
450 this.subindex = "x";
451 this.number = true;
452 this.settingType = "Location";
453 DL_Set_Label("X:");
454 </OnLoad>
455 </Scripts>
456 </EditBox>
457 <EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate">
458 <Size><AbsDimension x="70" y="24"/></Size>
459 <Scripts>
460 <OnLoad>
461 this.index = "Anchor";
462 this.subindex = "y";
463 this.number = true;
464 DL_Set_Label("Y:");
465 this.settingType = "Location";
466 DL_Set_Anchor("_NudgeDown", 0, -5, "TOPLEFT", "BOTTOM");
467 </OnLoad>
468 </Scripts>
469 </EditBox>
470  
471 <Button name="$parent_PresetBackdrops" inherits="DiscordLib_MenuControlTemplate">
472 <Size><AbsDimension x="125" y="22"/></Size>
473 <Scripts>
474 <OnLoad>
475 this:SetBackdropColor(0.0, 0.0, 0.0);
476 this.menu = "DAB_DropMenu";
477 this.table = "DL_BACKDROPS";
478 this.initFunc = DAB_Load_PresetBackdrop;
479 DL_Set_Label(DAB_TEXT.PresetBackdrops);
480 DL_Set_Anchor("", 225, -300, "TOPLEFT", "TOPLEFT", 1);
481 </OnLoad>
482 </Scripts>
483 </Button>
484 <CheckButton name="$parent_HideBackdrop" inherits="DAB_CheckBoxTemplate">
485 <Anchors>
486 <Anchor point="TOPLEFT">
487 <Offset><AbsDimension x="0" y="-320"/></Offset>
488 </Anchor>
489 </Anchors>
490 <Scripts>
491 <OnLoad>
492 this.index = "Background";
493 this.subindex = "hide";
494 this.settingType = "Backdrop";
495 DL_Set_Label(DAB_TEXT.HideBackdrop);
496 </OnLoad>
497 </Scripts>
498 </CheckButton>
499 <Button name="$parent_BGColor" inherits="DAB_ColorPickerTemplate">
500 <Anchors>
501 <Anchor point="TOPLEFT" relativeTo="$parent_HideBackdrop" relativePoint="BOTTOMLEFT">
502 <Offset><AbsDimension x="0" y="4"/></Offset>
503 </Anchor>
504 </Anchors>
505 <Scripts>
506 <OnLoad>
507 this.index = "Background"
508 this.subindex = "color";
509 this.settingType = "BGColor";
510 DL_Set_Label(DAB_TEXT.BackgroundColor);
511 </OnLoad>
512 </Scripts>
513 </Button>
514 <Button name="$parent_BorderColor" inherits="DAB_ColorPickerTemplate">
515 <Anchors>
516 <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT">
517 <Offset><AbsDimension x="0" y="4"/></Offset>
518 </Anchor>
519 </Anchors>
520 <Scripts>
521 <OnLoad>
522 this.index = "Background"
523 this.subindex = "bcolor";
524 this.settingType = "BorderColor";
525 DL_Set_Label(DAB_TEXT.BorderColor);
526 </OnLoad>
527 </Scripts>
528 </Button>
529 <Slider name="$parent_BGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
530 <Anchors>
531 <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT">
532 <Offset><AbsDimension x="0" y="-20"/></Offset>
533 </Anchor>
534 </Anchors>
535 <Scripts>
536 <OnLoad>
537 this.index = "Background";
538 this.subindex = "alpha";
539 this.settingType = "BGAlpha";
540 this.minlock = true;
541 this.maxlock = true;
542 this.scale = 100;
543 DL_Set_Label(DAB_TEXT.BackgroundAlpha);
544 </OnLoad>
545 </Scripts>
546 </Slider>
547 <Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
548 <Anchors>
549 <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT">
550 <Offset><AbsDimension x="0" y="-20"/></Offset>
551 </Anchor>
552 </Anchors>
553 <Scripts>
554 <OnLoad>
555 this.index = "Background";
556 this.subindex = "balpha";
557 this.settingType = "BorderAlpha";
558 this.minlock = true;
559 this.maxlock = true;
560 this.scale = 100;
561 DL_Set_Label(DAB_TEXT.BorderAlpha);
562 </OnLoad>
563 </Scripts>
564 </Slider>
565 <Frame name="$parent_BGTexture" inherits="DiscordLib_EditMenuControlTemplate">
566 <Size><AbsDimension x="225" y="22"/></Size>
567 <Scripts>
568 <OnLoad>
569 this:SetBackdropColor(0.0, 0.0, 0.0);
570 this.menu = "DAB_ScrollMenu";
571 this.table = "DL_TEXTURES_LIST";
572 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
573 this.index = "Background";
574 this.subindex = "texture";
575 this.settingType = "Backdrop";
576 DL_Set_Label(DAB_TEXT.BackgroundTexture);
577 DL_Set_Anchor("_BorderAlpha", 0, -5);
578 </OnLoad>
579 </Scripts>
580 </Frame>
581 <Frame name="$parent_BorderTexture" inherits="DiscordLib_EditMenuControlTemplate">
582 <Size><AbsDimension x="225" y="22"/></Size>
583 <Scripts>
584 <OnLoad>
585 this:SetBackdropColor(0.0, 0.0, 0.0);
586 this.menu = "DAB_ScrollMenu";
587 this.table = "DL_TEXTURES_LIST";
588 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
589 this.index = "Background";
590 this.subindex = "btexture";
591 this.settingType = "Backdrop";
592 DL_Set_Label(DAB_TEXT.BorderTexture);
593 DL_Set_Anchor("_BorderAlpha", 0, -28);
594 </OnLoad>
595 </Scripts>
596 </Frame>
597 <CheckButton name="$parent_TileOpt" inherits="DAB_CheckBoxTemplate">
598 <Anchors>
599 <Anchor point="LEFT" relativeTo="$parent_HideBackdrop" relativePoint="RIGHT">
600 <Offset><AbsDimension x="160" y="0"/></Offset>
601 </Anchor>
602 </Anchors>
603 <Scripts>
604 <OnLoad>
605 this.index = "Background";
606 this.subindex = "tile";
607 this.settingType = "Backdrop";
608 DL_Set_Label(DAB_TEXT.Tile);
609 </OnLoad>
610 </Scripts>
611 </CheckButton>
612 <EditBox name="$parent_TileSize" inherits="DAB_EditBoxTemplate">
613 <Size><AbsDimension x="50" y="24"/></Size>
614 <Scripts>
615 <OnLoad>
616 this.index = "Background";
617 this.subindex = "tileSize";
618 this.number = true;
619 DL_Set_Label(DAB_TEXT.TileSize);
620 this.settingType = "Backdrop";
621 DL_Set_Anchor("_TileOpt", 0, 0);
622 </OnLoad>
623 </Scripts>
624 </EditBox>
625 <EditBox name="$parent_EdgeSize" inherits="DAB_EditBoxTemplate">
626 <Size><AbsDimension x="50" y="24"/></Size>
627 <Scripts>
628 <OnLoad>
629 this.index = "Background";
630 this.subindex = "edgeSize";
631 this.number = true;
632 DL_Set_Label(DAB_TEXT.EdgeSize);
633 this.settingType = "Backdrop";
634 DL_Set_Anchor("_TileSize", 0, 0, "LEFT", "RIGHT");
635 </OnLoad>
636 </Scripts>
637 </EditBox>
638 <EditBox name="$parent_InsetLeft" inherits="DAB_EditBoxTemplate">
639 <Size><AbsDimension x="50" y="24"/></Size>
640 <Scripts>
641 <OnLoad>
642 this.index = "Background";
643 this.subindex = "left";
644 this.number = true;
645 DL_Set_Label(DAB_TEXT.Left);
646 this.settingType = "Backdrop";
647 DL_Set_Anchor("_TileOpt", 2, -33);
648 </OnLoad>
649 </Scripts>
650 </EditBox>
651 <EditBox name="$parent_InsetRight" inherits="DAB_EditBoxTemplate">
652 <Size><AbsDimension x="50" y="24"/></Size>
653 <Scripts>
654 <OnLoad>
655 this.index = "Background";
656 this.subindex = "right";
657 this.number = true;
658 DL_Set_Label(DAB_TEXT.Right);
659 this.settingType = "Backdrop";
660 DL_Set_Anchor("_TileOpt", 1, -52);
661 </OnLoad>
662 </Scripts>
663 </EditBox>
664 <EditBox name="$parent_InsetTop" inherits="DAB_EditBoxTemplate">
665 <Size><AbsDimension x="50" y="24"/></Size>
666 <Scripts>
667 <OnLoad>
668 this.index = "Background";
669 this.subindex = "top";
670 this.number = true;
671 DL_Set_Label(DAB_TEXT.Top);
672 this.settingType = "Backdrop";
673 DL_Set_Anchor("_TileOpt", 100, -33);
674 </OnLoad>
675 </Scripts>
676 </EditBox>
677 <EditBox name="$parent_InsetBottom" inherits="DAB_EditBoxTemplate">
678 <Size><AbsDimension x="50" y="24"/></Size>
679 <Scripts>
680 <OnLoad>
681 this.index = "Background";
682 this.subindex = "bottom";
683 this.number = true;
684 DL_Set_Label(DAB_TEXT.Bottom);
685 this.settingType = "Backdrop";
686 DL_Set_Anchor("_TileOpt", 100, -52);
687 </OnLoad>
688 </Scripts>
689 </EditBox>
690 <EditBox name="$parent_PadLeft" inherits="DAB_EditBoxTemplate">
691 <Size><AbsDimension x="50" y="24"/></Size>
692 <Scripts>
693 <OnLoad>
694 this.index = "Background";
695 this.subindex = "leftpadding";
696 this.number = true;
697 DL_Set_Label(DAB_TEXT.Left);
698 this.settingType = "BackdropPadding";
699 DL_Set_Anchor("_TileOpt", 2, -87);
700 </OnLoad>
701 </Scripts>
702 </EditBox>
703 <EditBox name="$parent_PadRight" inherits="DAB_EditBoxTemplate">
704 <Size><AbsDimension x="50" y="24"/></Size>
705 <Scripts>
706 <OnLoad>
707 this.index = "Background";
708 this.subindex = "rightpadding";
709 this.number = true;
710 DL_Set_Label(DAB_TEXT.Right);
711 this.settingType = "BackdropPadding";
712 DL_Set_Anchor("_TileOpt", 1, -106);
713 </OnLoad>
714 </Scripts>
715 </EditBox>
716 <EditBox name="$parent_PadTop" inherits="DAB_EditBoxTemplate">
717 <Size><AbsDimension x="50" y="24"/></Size>
718 <Scripts>
719 <OnLoad>
720 this.index = "Background";
721 this.subindex = "toppadding";
722 this.number = true;
723 DL_Set_Label(DAB_TEXT.Top);
724 this.settingType = "BackdropPadding";
725 DL_Set_Anchor("_TileOpt", 100, -87);
726 </OnLoad>
727 </Scripts>
728 </EditBox>
729 <EditBox name="$parent_PadBottom" inherits="DAB_EditBoxTemplate">
730 <Size><AbsDimension x="50" y="24"/></Size>
731 <Scripts>
732 <OnLoad>
733 this.index = "Background";
734 this.subindex = "bottompadding";
735 this.number = true;
736 DL_Set_Label(DAB_TEXT.Bottom);
737 this.settingType = "BackdropPadding";
738 DL_Set_Anchor("_TileOpt", 100, -106);
739 </OnLoad>
740 </Scripts>
741 </EditBox>
742 </Frames>
743 <Layers>
744 <Layer level="OVERLAY">
745 <FontString name="$parent_InsetsLabel" inherits="GameFontNormal">
746 <Anchors>
747 <Anchor point="TOPLEFT">
748 <Offset><AbsDimension x="186" y="-367"/></Offset>
749 </Anchor>
750 </Anchors>
751 </FontString>
752 <FontString name="$parent_PaddingLabel" inherits="GameFontNormal">
753 <Anchors>
754 <Anchor point="TOPLEFT">
755 <Offset><AbsDimension x="186" y="-418"/></Offset>
756 </Anchor>
757 </Anchors>
758 </FontString>
759 </Layer>
760 </Layers>
761 </Frame>
762  
763 <Frame name="DAB_BarOptions_ButtonAppearance" hidden="true" parent="DAB_BarOptions" frameStrata="MEDIUM">
764 <Size><AbsDimension x="10" y="10"/></Size>
765 <Anchors>
766 <Anchor point="TOPLEFT">
767 <Offset><AbsDimension x="0" y="-70"/></Offset>
768 </Anchor>
769 </Anchors>
770 <Frames>
771 <CheckButton name="$parent_DisableMouse" inherits="DAB_CheckBoxTemplate">
772 <Anchors>
773 <Anchor point="TOPLEFT"/>
774 </Anchors>
775 <Scripts>
776 <OnLoad>
777 this.index = "disableMouse";
778 DL_Set_Label(DAB_TEXT.DisableMouseOnBar);
779 </OnLoad>
780 </Scripts>
781 </CheckButton>
782 <CheckButton name="$parent_ExpandHidden" inherits="DAB_CheckBoxTemplate">
783 <Anchors>
784 <Anchor point="TOPLEFT" relativeTo="$parent_DisableMouse" relativePoint="BOTTOMLEFT">
785 <Offset><AbsDimension x="0" y="4"/></Offset>
786 </Anchor>
787 </Anchors>
788 <Scripts>
789 <OnLoad>
790 this.index = "expandHidden";
791 this.settingType = 0;
792 DL_Set_Label(DAB_TEXT.ExpandHidden);
793 </OnLoad>
794 </Scripts>
795 </CheckButton>
796 <Frame name="$parent_CBGroup" inherits="DiscordLib_EditMenuControlTemplate">
797 <Size><AbsDimension x="50" y="22"/></Size>
798 <Scripts>
799 <OnLoad>
800 this:SetBackdropColor(0.0, 0.0, 0.0);
801 this.menu = "DAB_ScrollMenu";
802 this.table = "DAB_GROUPS";
803 this.editFunc = DAB_GroupEditBox_OnEnterPressed;
804 this.index = "cbgroup";
805 this.settingType = 0;
806 DL_Set_Label(DAB_TEXT.ControlBoxGroup);
807 DL_Set_Anchor("", 0, -35);
808 </OnLoad>
809 </Scripts>
810 </Frame>
811 <Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate">
812 <Size><AbsDimension x="50" y="22"/></Size>
813 <Scripts>
814 <OnLoad>
815 this:SetBackdropColor(0.0, 0.0, 0.0);
816 this.menu = "DAB_DropMenu";
817 this.table = "DAB_NUMBERS";
818 this.index = "rightClick";
819 this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} };
820 this.settingType = 0;
821 DL_Set_Label(DAB_TEXT.RightClickBar);
822 DL_Set_Anchor("", 0, -60);
823 </OnLoad>
824 </Scripts>
825 </Button>
826 <Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate">
827 <Size><AbsDimension x="50" y="22"/></Size>
828 <Scripts>
829 <OnLoad>
830 this:SetBackdropColor(0.0, 0.0, 0.0);
831 this.menu = "DAB_DropMenu";
832 this.table = "DAB_NUMBERS";
833 this.index = "middleClick";
834 this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} };
835 this.settingType = 0;
836 DL_Set_Label(DAB_TEXT.MiddleClickBar);
837 DL_Set_Anchor("", 170, -60);
838 </OnLoad>
839 </Scripts>
840 </Button>
841 <Frame name="$parent_Target" inherits="DiscordLib_EditMenuControlTemplate">
842 <Size><AbsDimension x="125" y="22"/></Size>
843 <Scripts>
844 <OnLoad>
845 this:SetBackdropColor(0.0, 0.0, 0.0);
846 this.menu = "DAB_ScrollMenu";
847 this.table = "DL_UNITS_LIST";
848 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
849 this.index = "target";
850 this.settingType = 0;
851 DL_Set_Label(DAB_TEXT.DefaultTarget);
852 DL_Set_Anchor("", 0, -85);
853 </OnLoad>
854 </Scripts>
855 </Frame>
856 <CheckButton name="$parent_ForceTarget" inherits="DAB_CheckBoxTemplate">
857 <Anchors>
858 <Anchor point="LEFT" relativeTo="$parent_Target" relativePoint="RIGHT">
859 <Offset><AbsDimension x="20" y="0"/></Offset>
860 </Anchor>
861 </Anchors>
862 <Scripts>
863 <OnLoad>
864 this.index = "forceTarget";
865 this.settingType = 0;
866 DL_Set_Label(DAB_TEXT.Force);
867 </OnLoad>
868 </Scripts>
869 </CheckButton>
870 <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate">
871 <Size><AbsDimension x="150" y="22"/></Size>
872 <Scripts>
873 <OnLoad>
874 this:SetBackdropColor(0.0, 0.0, 0.0);
875 this.menu = "DAB_DropMenu";
876 this.table = "DL_FRAMESTRATAS";
877 this.index = "frameStrata";
878 DL_Set_Label(DAB_TEXT.FrameStrata);
879 DL_Set_Anchor("", 0, -110);
880 </OnLoad>
881 </Scripts>
882 </Button>
883 <Button name="$parent_RangeColor" inherits="DAB_ColorPickerTemplate">
884 <Anchors>
885 <Anchor point="TOPLEFT">
886 <Offset><AbsDimension x="0" y="-155"/></Offset>
887 </Anchor>
888 </Anchors>
889 <Scripts>
890 <OnLoad>
891 this.index = "rangecolor";
892 this.settingType = 0;
893 DL_Set_Label(DAB_TEXT.OutOfRange);
894 </OnLoad>
895 </Scripts>
896 </Button>
897 <Button name="$parent_RangeRecolor" inherits="DiscordLib_MenuControlTemplate">
898 <Size><AbsDimension x="125" y="22"/></Size>
899 <Scripts>
900 <OnLoad>
901 this:SetBackdropColor(0.0, 0.0, 0.0);
902 this.menu = "DAB_DropMenu";
903 this.table = "DAB_RECOLOR";
904 this.index = "rangerecolor";
905 this.settingType = 0;
906 DL_Set_Label(DAB_TEXT.Recolor);
907 DL_Set_Anchor("_RangeColor", 150, 0, "LEFT", "RIGHT");
908 </OnLoad>
909 </Scripts>
910 </Button>
911 <Button name="$parent_ManaColor" inherits="DAB_ColorPickerTemplate">
912 <Anchors>
913 <Anchor point="TOPLEFT" relativeTo="$parent_RangeColor" relativePoint="BOTTOMLEFT">
914 <Offset><AbsDimension x="0" y="4"/></Offset>
915 </Anchor>
916 </Anchors>
917 <Scripts>
918 <OnLoad>
919 this.index = "manacolor";
920 this.settingType = 0;
921 DL_Set_Label(DAB_TEXT.NotEnoughMana);
922 </OnLoad>
923 </Scripts>
924 </Button>
925 <Button name="$parent_ManaRecolor" inherits="DiscordLib_MenuControlTemplate">
926 <Size><AbsDimension x="125" y="22"/></Size>
927 <Scripts>
928 <OnLoad>
929 this:SetBackdropColor(0.0, 0.0, 0.0);
930 this.menu = "DAB_DropMenu";
931 this.table = "DAB_RECOLOR";
932 this.index = "manarecolor";
933 this.settingType = 0;
934 DL_Set_Label(DAB_TEXT.Recolor);
935 DL_Set_Anchor("_ManaColor", 150, 0, "LEFT", "RIGHT");
936 </OnLoad>
937 </Scripts>
938 </Button>
939 <Button name="$parent_UnusableColor" inherits="DAB_ColorPickerTemplate">
940 <Anchors>
941 <Anchor point="TOPLEFT" relativeTo="$parent_ManaColor" relativePoint="BOTTOMLEFT">
942 <Offset><AbsDimension x="0" y="4"/></Offset>
943 </Anchor>
944 </Anchors>
945 <Scripts>
946 <OnLoad>
947 this.index = "unusablecolor";
948 this.settingType = 0;
949 DL_Set_Label(DAB_TEXT.ActionUnusable);
950 </OnLoad>
951 </Scripts>
952 </Button>
953 <Button name="$parent_UnusableRecolor" inherits="DiscordLib_MenuControlTemplate">
954 <Size><AbsDimension x="125" y="22"/></Size>
955 <Scripts>
956 <OnLoad>
957 this:SetBackdropColor(0.0, 0.0, 0.0);
958 this.menu = "DAB_DropMenu";
959 this.table = "DAB_RECOLOR";
960 this.index = "unusablerecolor";
961 this.settingType = 0;
962 DL_Set_Label(DAB_TEXT.Recolor);
963 DL_Set_Anchor("_UnusableColor", 150, 0, "LEFT", "RIGHT");
964 </OnLoad>
965 </Scripts>
966 </Button>
967 <CheckButton name="$parent_TrimEdges" inherits="DAB_CheckBoxTemplate">
968 <Anchors>
969 <Anchor point="TOPLEFT">
970 <Offset><AbsDimension x="0" y="-235"/></Offset>
971 </Anchor>
972 </Anchors>
973 <Scripts>
974 <OnLoad>
975 this.index = "trimEdges";
976 this.settingType = "ButtonTextures";
977 DL_Set_Label(DAB_TEXT.TrimEdges);
978 </OnLoad>
979 </Scripts>
980 </CheckButton>
981 <Button name="$parent_ButtonBGColor" inherits="DAB_ColorPickerTemplate">
982 <Anchors>
983 <Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT">
984 <Offset><AbsDimension x="0" y="3"/></Offset>
985 </Anchor>
986 </Anchors>
987 <Scripts>
988 <OnLoad>
989 this.index = "buttonbgcolor"
990 this.settingType = "ButtonTextures";
991 </OnLoad>
992 </Scripts>
993 </Button>
994 <Frame name="$parent_ButtonBG" inherits="DiscordLib_EditMenuControlTemplate">
995 <Size><AbsDimension x="200" y="22"/></Size>
996 <Scripts>
997 <OnLoad>
998 this:SetBackdropColor(0.0, 0.0, 0.0);
999 this.menu = "DAB_ScrollMenu";
1000 this.table = "DL_TEXTURES_LIST";
1001 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
1002 this.index = "buttonbg";
1003 this.settingType = "ButtonTextures";
1004 DL_Set_Label(DAB_TEXT.ButtonBackground);
1005 DL_Set_Anchor("_ButtonBGColor", 3, 0, "LEFT", "RIGHT");
1006 </OnLoad>
1007 </Scripts>
1008 </Frame>
1009 <Button name="$parent_CheckedColor" inherits="DAB_ColorPickerTemplate">
1010 <Anchors>
1011 <Anchor point="TOPLEFT" relativeTo="$parent_ButtonBGColor" relativePoint="BOTTOMLEFT">
1012 <Offset><AbsDimension x="0" y="4"/></Offset>
1013 </Anchor>
1014 </Anchors>
1015 <Scripts>
1016 <OnLoad>
1017 this.index = "checkedcolor"
1018 this.settingType = "ButtonTextures";
1019 </OnLoad>
1020 </Scripts>
1021 </Button>
1022 <Frame name="$parent_Checked" inherits="DiscordLib_EditMenuControlTemplate">
1023 <Size><AbsDimension x="200" y="22"/></Size>
1024 <Scripts>
1025 <OnLoad>
1026 this:SetBackdropColor(0.0, 0.0, 0.0);
1027 this.menu = "DAB_ScrollMenu";
1028 this.table = "DL_TEXTURES_LIST";
1029 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
1030 this.index = "checked";
1031 this.settingType = "ButtonTextures";
1032 DL_Set_Label(DAB_TEXT.Checked);
1033 DL_Set_Anchor("_CheckedColor", 3, 0, "LEFT", "RIGHT");
1034 </OnLoad>
1035 </Scripts>
1036 </Frame>
1037 <Button name="$parent_HighlightColor" inherits="DAB_ColorPickerTemplate">
1038 <Anchors>
1039 <Anchor point="TOPLEFT" relativeTo="$parent_CheckedColor" relativePoint="BOTTOMLEFT">
1040 <Offset><AbsDimension x="0" y="4"/></Offset>
1041 </Anchor>
1042 </Anchors>
1043 <Scripts>
1044 <OnLoad>
1045 this.index = "highlightcolor"
1046 this.settingType = "ButtonTextures";
1047 </OnLoad>
1048 </Scripts>
1049 </Button>
1050 <Frame name="$parent_Highlight" inherits="DiscordLib_EditMenuControlTemplate">
1051 <Size><AbsDimension x="200" y="22"/></Size>
1052 <Scripts>
1053 <OnLoad>
1054 this:SetBackdropColor(0.0, 0.0, 0.0);
1055 this.menu = "DAB_ScrollMenu";
1056 this.table = "DL_TEXTURES_LIST";
1057 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
1058 this.index = "highlight";
1059 this.settingType = "ButtonTextures";
1060 DL_Set_Label(DAB_TEXT.Highlight);
1061 DL_Set_Anchor("_HighlightColor", 3, 0, "LEFT", "RIGHT");
1062 </OnLoad>
1063 </Scripts>
1064 </Frame>
1065 <Button name="$parent_EquippedColor" inherits="DAB_ColorPickerTemplate">
1066 <Anchors>
1067 <Anchor point="TOPLEFT" relativeTo="$parent_HighlightColor" relativePoint="BOTTOMLEFT">
1068 <Offset><AbsDimension x="0" y="4"/></Offset>
1069 </Anchor>
1070 </Anchors>
1071 <Scripts>
1072 <OnLoad>
1073 this.index = "ButtonBorder";
1074 this.subindex = "ecolor";
1075 this.settingType = "ButtonTextures";
1076 </OnLoad>
1077 </Scripts>
1078 </Button>
1079 <Frame name="$parent_Equipped" inherits="DiscordLib_EditMenuControlTemplate">
1080 <Size><AbsDimension x="200" y="22"/></Size>
1081 <Scripts>
1082 <OnLoad>
1083 this:SetBackdropColor(0.0, 0.0, 0.0);
1084 this.menu = "DAB_ScrollMenu";
1085 this.table = "DL_TEXTURES_LIST";
1086 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
1087 this.index = "ButtonBorder";
1088 this.subindex = "etexture";
1089 this.settingType = "ButtonTextures";
1090 DL_Set_Label(DAB_TEXT.Equipped);
1091 DL_Set_Anchor("_EquippedColor", 3, 0, "LEFT", "RIGHT");
1092 </OnLoad>
1093 </Scripts>
1094 </Frame>
1095 <Button name="$parent_BorderColor" inherits="DAB_ColorPickerTemplate">
1096 <Anchors>
1097 <Anchor point="TOPLEFT" relativeTo="$parent_EquippedColor" relativePoint="BOTTOMLEFT">
1098 <Offset><AbsDimension x="0" y="4"/></Offset>
1099 </Anchor>
1100 </Anchors>
1101 <Scripts>
1102 <OnLoad>
1103 this.index = "ButtonBorder";
1104 this.subindex = "color";
1105 this.settingType = "ButtonTextures";
1106 </OnLoad>
1107 </Scripts>
1108 </Button>
1109 <Frame name="$parent_Border" inherits="DiscordLib_EditMenuControlTemplate">
1110 <Size><AbsDimension x="200" y="22"/></Size>
1111 <Scripts>
1112 <OnLoad>
1113 this:SetBackdropColor(0.0, 0.0, 0.0);
1114 this.menu = "DAB_ScrollMenu";
1115 this.table = "DL_TEXTURES_LIST";
1116 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
1117 this.index = "ButtonBorder";
1118 this.subindex = "texture";
1119 this.settingType = "ButtonTextures";
1120 DL_Set_Label(DAB_TEXT.Border);
1121 DL_Set_Anchor("_BorderColor", 3, 0, "LEFT", "RIGHT");
1122 </OnLoad>
1123 </Scripts>
1124 </Frame>
1125 <Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
1126 <Anchors>
1127 <Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT">
1128 <Offset><AbsDimension x="0" y="-125"/></Offset>
1129 </Anchor>
1130 </Anchors>
1131 <Scripts>
1132 <OnLoad>
1133 this.index = "ButtonBorder";
1134 this.subindex = "alpha";
1135 this.settingType = "ButtonTextures";
1136 this.minlock = true;
1137 this.maxlock = true;
1138 this.scale = 100;
1139 DL_Set_Label(DAB_TEXT.ButtonBorderAlpha);
1140 </OnLoad>
1141 </Scripts>
1142 </Slider>
1143 <EditBox name="$parent_PadLeft" inherits="DAB_EditBoxTemplate">
1144 <Size><AbsDimension x="50" y="24"/></Size>
1145 <Scripts>
1146 <OnLoad>
1147 this.index = "ButtonBorder";
1148 this.subindex = "leftpadding";
1149 this.number = true;
1150 DL_Set_Label(DAB_TEXT.Left);
1151 this.settingType = "ButtonTextures";
1152 DL_Set_Anchor("_BorderAlpha", 70, 0, "TOPLEFT", "TOPRIGHT");
1153 </OnLoad>
1154 </Scripts>
1155 </EditBox>
1156 <EditBox name="$parent_PadRight" inherits="DAB_EditBoxTemplate">
1157 <Size><AbsDimension x="50" y="24"/></Size>
1158 <Scripts>
1159 <OnLoad>
1160 this.index = "ButtonBorder";
1161 this.subindex = "rightpadding";
1162 this.number = true;
1163 DL_Set_Label(DAB_TEXT.Right);
1164 this.settingType = "ButtonTextures";
1165 DL_Set_Anchor("_BorderAlpha", 70, -23, "TOPLEFT", "TOPRIGHT");
1166 </OnLoad>
1167 </Scripts>
1168 </EditBox>
1169 <EditBox name="$parent_PadTop" inherits="DAB_EditBoxTemplate">
1170 <Size><AbsDimension x="50" y="24"/></Size>
1171 <Scripts>
1172 <OnLoad>
1173 this.index = "ButtonBorder";
1174 this.subindex = "toppadding";
1175 this.number = true;
1176 DL_Set_Label(DAB_TEXT.Top);
1177 this.settingType = "ButtonTextures";
1178 DL_Set_Anchor("_BorderAlpha", 165, 0, "TOPLEFT", "TOPRIGHT");
1179 </OnLoad>
1180 </Scripts>
1181 </EditBox>
1182 <EditBox name="$parent_PadBottom" inherits="DAB_EditBoxTemplate">
1183 <Size><AbsDimension x="50" y="24"/></Size>
1184 <Scripts>
1185 <OnLoad>
1186 this.index = "ButtonBorder";
1187 this.subindex = "bottompadding";
1188 this.number = true;
1189 DL_Set_Label(DAB_TEXT.Bottom);
1190 this.settingType = "ButtonTextures";
1191 DL_Set_Anchor("_BorderAlpha", 165, -23, "TOPLEFT", "TOPRIGHT");
1192 </OnLoad>
1193 </Scripts>
1194 </EditBox>
1195 <CheckButton name="$parent_KBHide" inherits="DAB_CheckBoxTemplate">
1196 <Anchors>
1197 <Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT">
1198 <Offset><AbsDimension x="0" y="-25"/></Offset>
1199 </Anchor>
1200 </Anchors>
1201 <Scripts>
1202 <OnLoad>
1203 this.index = "Keybinding";
1204 this.subindex = "hide";
1205 this.settingType = "ButtonText";
1206 </OnLoad>
1207 </Scripts>
1208 </CheckButton>
1209 <Button name="$parent_KBColor" inherits="DAB_ColorPickerTemplate">
1210 <Anchors>
1211 <Anchor point="LEFT" relativeTo="$parent_KBHide" relativePoint="RIGHT"/>
1212 </Anchors>
1213 <Scripts>
1214 <OnLoad>
1215 this.index = "Keybinding";
1216 this.subindex = "color";
1217 this.settingType = "ButtonText";
1218 </OnLoad>
1219 </Scripts>
1220 </Button>
1221 <EditBox name="$parent_KBSize" inherits="DAB_EditBoxTemplate">
1222 <Size><AbsDimension x="40" y="24"/></Size>
1223 <Anchors>
1224 <Anchor point="LEFT" relativeTo="$parent_KBColor" relativePoint="RIGHT">
1225 <Offset><AbsDimension x="3" y="0"/></Offset>
1226 </Anchor>
1227 </Anchors>
1228 <Scripts>
1229 <OnLoad>
1230 this.index = "Keybinding";
1231 this.subindex = "size";
1232 this.number = true;
1233 this.settingType = "ButtonText";
1234 </OnLoad>
1235 </Scripts>
1236 </EditBox>
1237 <Frame name="$parent_KBFont" inherits="DiscordLib_EditMenuControlTemplate">
1238 <Size><AbsDimension x="150" y="22"/></Size>
1239 <Scripts>
1240 <OnLoad>
1241 this:SetBackdropColor(0.0, 0.0, 0.0);
1242 this.menu = "DAB_ScrollMenu";
1243 this.table = "DL_FONTS_LIST";
1244 this.editFunc = DAB_FontEditBox_OnEnterPressed;
1245 this.index = "Keybinding";
1246 this.subindex = "font";
1247 this.settingType = "ButtonText";
1248 DL_Set_Label(DAB_TEXT.Keybinding);
1249 DL_Set_Anchor("_KBSize", -3, 0, "LEFT", "RIGHT");
1250 </OnLoad>
1251 </Scripts>
1252 </Frame>
1253 <Button name="$parent_CCColor" inherits="DAB_ColorPickerTemplate">
1254 <Anchors>
1255 <Anchor point="TOPLEFT" relativeTo="$parent_KBColor" relativePoint="BOTTOMLEFT">
1256 <Offset><AbsDimension x="0" y="4"/></Offset>
1257 </Anchor>
1258 </Anchors>
1259 <Scripts>
1260 <OnLoad>
1261 this.index = "Cooldown";
1262 this.subindex = "color";
1263 this.settingType = "ButtonText";
1264 </OnLoad>
1265 </Scripts>
1266 </Button>
1267 <CheckButton name="$parent_CCHide" inherits="DAB_CheckBoxTemplate">
1268 <Anchors>
1269 <Anchor point="RIGHT" relativeTo="$parent_CCColor" relativePoint="LEFT"/>
1270 </Anchors>
1271 <Scripts>
1272 <OnLoad>
1273 this.index = "Cooldown";
1274 this.subindex = "hide";
1275 this.settingType = "ButtonText";
1276 </OnLoad>
1277 </Scripts>
1278 </CheckButton>
1279 <EditBox name="$parent_CCSize" inherits="DAB_EditBoxTemplate">
1280 <Size><AbsDimension x="40" y="24"/></Size>
1281 <Anchors>
1282 <Anchor point="LEFT" relativeTo="$parent_CCColor" relativePoint="RIGHT">
1283 <Offset><AbsDimension x="3" y="0"/></Offset>
1284 </Anchor>
1285 </Anchors>
1286 <Scripts>
1287 <OnLoad>
1288 this.index = "Cooldown";
1289 this.subindex = "size";
1290 this.number = true;
1291 this.settingType = "ButtonText";
1292 </OnLoad>
1293 </Scripts>
1294 </EditBox>
1295 <Frame name="$parent_CCFont" inherits="DiscordLib_EditMenuControlTemplate">
1296 <Size><AbsDimension x="150" y="22"/></Size>
1297 <Scripts>
1298 <OnLoad>
1299 this:SetBackdropColor(0.0, 0.0, 0.0);
1300 this.menu = "DAB_ScrollMenu";
1301 this.table = "DL_FONTS_LIST";
1302 this.editFunc = DAB_FontEditBox_OnEnterPressed;
1303 this.index = "Cooldown";
1304 this.subindex = "font";
1305 this.settingType = "ButtonText";
1306 DL_Set_Label(DAB_TEXT.CooldownCount);
1307 DL_Set_Anchor("_CCSize", -3, 0, "LEFT", "RIGHT");
1308 </OnLoad>
1309 </Scripts>
1310 </Frame>
1311 <Button name="$parent_CntColor" inherits="DAB_ColorPickerTemplate">
1312 <Anchors>
1313 <Anchor point="TOPLEFT" relativeTo="$parent_CCColor" relativePoint="BOTTOMLEFT">
1314 <Offset><AbsDimension x="0" y="4"/></Offset>
1315 </Anchor>
1316 </Anchors>
1317 <Scripts>
1318 <OnLoad>
1319 this.index = "Count";
1320 this.subindex = "color";
1321 this.settingType = "ButtonText";
1322 </OnLoad>
1323 </Scripts>
1324 </Button>
1325 <CheckButton name="$parent_CntHide" inherits="DAB_CheckBoxTemplate">
1326 <Anchors>
1327 <Anchor point="RIGHT" relativeTo="$parent_CntColor" relativePoint="LEFT"/>
1328 </Anchors>
1329 <Scripts>
1330 <OnLoad>
1331 this.index = "Count";
1332 this.subindex = "hide";
1333 this.settingType = "ButtonText";
1334 </OnLoad>
1335 </Scripts>
1336 </CheckButton>
1337 <EditBox name="$parent_CntSize" inherits="DAB_EditBoxTemplate">
1338 <Size><AbsDimension x="40" y="24"/></Size>
1339 <Anchors>
1340 <Anchor point="LEFT" relativeTo="$parent_CntColor" relativePoint="RIGHT">
1341 <Offset><AbsDimension x="3" y="0"/></Offset>
1342 </Anchor>
1343 </Anchors>
1344 <Scripts>
1345 <OnLoad>
1346 this.index = "Count";
1347 this.subindex = "size";
1348 this.number = true;
1349 this.settingType = "ButtonText";
1350 </OnLoad>
1351 </Scripts>
1352 </EditBox>
1353 <Frame name="$parent_CntFont" inherits="DiscordLib_EditMenuControlTemplate">
1354 <Size><AbsDimension x="150" y="22"/></Size>
1355 <Scripts>
1356 <OnLoad>
1357 this:SetBackdropColor(0.0, 0.0, 0.0);
1358 this.menu = "DAB_ScrollMenu";
1359 this.table = "DL_FONTS_LIST";
1360 this.editFunc = DAB_FontEditBox_OnEnterPressed;
1361 this.index = "Count";
1362 this.subindex = "font";
1363 this.settingType = "ButtonText";
1364 DL_Set_Label(DAB_TEXT.Count);
1365 DL_Set_Anchor("_CntSize", -3, 0, "LEFT", "RIGHT");
1366 </OnLoad>
1367 </Scripts>
1368 </Frame>
1369 <Button name="$parent_MNColor" inherits="DAB_ColorPickerTemplate">
1370 <Anchors>
1371 <Anchor point="TOPLEFT" relativeTo="$parent_CntColor" relativePoint="BOTTOMLEFT">
1372 <Offset><AbsDimension x="0" y="4"/></Offset>
1373 </Anchor>
1374 </Anchors>
1375 <Scripts>
1376 <OnLoad>
1377 this.index = "Macro";
1378 this.subindex = "color";
1379 this.settingType = "ButtonText";
1380 </OnLoad>
1381 </Scripts>
1382 </Button>
1383 <CheckButton name="$parent_MNHide" inherits="DAB_CheckBoxTemplate">
1384 <Anchors>
1385 <Anchor point="RIGHT" relativeTo="$parent_MNColor" relativePoint="LEFT"/>
1386 </Anchors>
1387 <Scripts>
1388 <OnLoad>
1389 this.index = "Macro";
1390 this.subindex = "hide";
1391 this.settingType = "ButtonText";
1392 </OnLoad>
1393 </Scripts>
1394 </CheckButton>
1395 <EditBox name="$parent_MNSize" inherits="DAB_EditBoxTemplate">
1396 <Size><AbsDimension x="40" y="24"/></Size>
1397 <Anchors>
1398 <Anchor point="LEFT" relativeTo="$parent_MNColor" relativePoint="RIGHT">
1399 <Offset><AbsDimension x="3" y="0"/></Offset>
1400 </Anchor>
1401 </Anchors>
1402 <Scripts>
1403 <OnLoad>
1404 this.index = "Macro";
1405 this.subindex = "size";
1406 this.number = true;
1407 this.settingType = "ButtonText";
1408 </OnLoad>
1409 </Scripts>
1410 </EditBox>
1411 <Frame name="$parent_MNFont" inherits="DiscordLib_EditMenuControlTemplate">
1412 <Size><AbsDimension x="150" y="22"/></Size>
1413 <Scripts>
1414 <OnLoad>
1415 this:SetBackdropColor(0.0, 0.0, 0.0);
1416 this.menu = "DAB_ScrollMenu";
1417 this.table = "DL_FONTS_LIST";
1418 this.editFunc = DAB_FontEditBox_OnEnterPressed;
1419 this.index = "Macro";
1420 this.subindex = "font";
1421 this.settingType = "ButtonText";
1422 DL_Set_Label(DAB_TEXT.MacroName);
1423 DL_Set_Anchor("_MNSize", -3, 0, "LEFT", "RIGHT");
1424 </OnLoad>
1425 </Scripts>
1426 </Frame>
1427 </Frames>
1428 <Layers>
1429 <Layer level="OVERLAY">
1430 <FontString name="$parent_PaddingLabel" inherits="GameFontNormal">
1431 <Anchors>
1432 <Anchor point="TOPLEFT">
1433 <Offset><AbsDimension x="199" y="-372"/></Offset>
1434 </Anchor>
1435 </Anchors>
1436 </FontString>
1437 <FontString name="$parent_TextLabel" inherits="GameFontNormal">
1438 <Anchors>
1439 <Anchor point="TOPLEFT">
1440 <Offset><AbsDimension x="0" y="-417"/></Offset>
1441 </Anchor>
1442 </Anchors>
1443 </FontString>
1444 <FontString name="$parent_ColorLabel" inherits="GameFontNormal">
1445 <Anchors>
1446 <Anchor point="TOPLEFT">
1447 <Offset><AbsDimension x="0" y="-142"/></Offset>
1448 </Anchor>
1449 </Anchors>
1450 </FontString>
1451 <FontString name="$parent_TextureLabel" inherits="GameFontNormal">
1452 <Anchors>
1453 <Anchor point="TOPLEFT">
1454 <Offset><AbsDimension x="0" y="-225"/></Offset>
1455 </Anchor>
1456 </Anchors>
1457 </FontString>
1458 </Layer>
1459 </Layers>
1460 </Frame>
1461  
1462 <Frame name="DAB_BarOptions_BarControl" hidden="true" parent="DAB_BarOptions" frameStrata="MEDIUM">
1463 <Size><AbsDimension x="10" y="10"/></Size>
1464 <Anchors>
1465 <Anchor point="TOPLEFT">
1466 <Offset><AbsDimension x="0" y="-70"/></Offset>
1467 </Anchor>
1468 </Anchors>
1469 <Frames>
1470 <ScrollFrame name="$parent_ConditionMenu" inherits="DL_ScrollFrameTemplate">
1471 <Size><AbsDimension x="370" y="210"/></Size>
1472 <Anchors>
1473 <Anchor point="TOPLEFT">
1474 <Offset><AbsDimension x="0" y="-30"/></Offset>
1475 </Anchor>
1476 </Anchors>
1477 <Scripts>
1478 <OnLoad>
1479 getglobal(this:GetName().."_OuterBorder_Header"):SetText(DAB_TEXT.Conditions);
1480 this.responsemenu = "DAB_BAR_RESPONSES";
1481 </OnLoad>
1482 <OnVerticalScroll>
1483 FauxScrollFrame_OnVerticalScroll(40, DAB_ConditionMenu_Update);
1484 </OnVerticalScroll>
1485 </Scripts>
1486 </ScrollFrame>
1487 <CheckButton name="$parent_ConditionMenu_Button1" inherits="DAB_ConditionButtonTemplate" id="1">
1488 <Anchors>
1489 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu">
1490 <Offset><AbsDimension x="5" y="-5"/></Offset>
1491 </Anchor>
1492 </Anchors>
1493 </CheckButton>
1494 <CheckButton name="$parent_ConditionMenu_Button2" inherits="DAB_ConditionButtonTemplate" id="2"/>
1495 <CheckButton name="$parent_ConditionMenu_Button3" inherits="DAB_ConditionButtonTemplate" id="3"/>
1496 <CheckButton name="$parent_ConditionMenu_Button4" inherits="DAB_ConditionButtonTemplate" id="4"/>
1497 <CheckButton name="$parent_ConditionMenu_Button5" inherits="DAB_ConditionButtonTemplate" id="5"/>
1498  
1499 <Button inherits="DAB_MainMenuButton" text="DL_COPYTEXT" frameStrata="DIALOG">
1500 <Size><AbsDimension x="100" y="22"/></Size>
1501 <Anchors>
1502 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPLEFT">
1503 <Offset><AbsDimension x="0" y="26"/></Offset>
1504 </Anchor>
1505 </Anchors>
1506 <Scripts>
1507 <OnClick>
1508 DAB_Copy_ControlSettings();
1509 </OnClick>
1510 </Scripts>
1511 </Button>
1512 <Button inherits="DAB_MainMenuButton" text="DL_PASTETEXT" frameStrata="DIALOG">
1513 <Size><AbsDimension x="100" y="22"/></Size>
1514 <Anchors>
1515 <Anchor point="TOPRIGHT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT">
1516 <Offset><AbsDimension x="27" y="26"/></Offset>
1517 </Anchor>
1518 </Anchors>
1519 <Scripts>
1520 <OnClick>
1521 DAB_Paste_ControlSettings();
1522 </OnClick>
1523 </Scripts>
1524 </Button>
1525  
1526 <Button name="$parent_Condition" inherits="DiscordLib_MenuControlTemplate">
1527 <Size><AbsDimension x="200" y="22"/></Size>
1528 <Scripts>
1529 <OnLoad>
1530 this:SetBackdropColor(0.0, 0.0, 0.0);
1531 this.menu = "DAB_ScrollMenu";
1532 this.table = "DL_CONDITIONS_MENU";
1533 this.initFunc = DAB_Select_Condition;
1534 DL_Set_Label(DAB_TEXT.ChooseCondition);
1535 DL_Set_Anchor("_ConditionMenu", 0, -10);
1536 </OnLoad>
1537 </Scripts>
1538 </Button>
1539 <Button name="$parent_ActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1540 <Size><AbsDimension x="200" y="22"/></Size>
1541 <Scripts>
1542 <OnLoad>
1543 this:SetBackdropColor(0.0, 0.0, 0.0);
1544 this.menu = "DAB_ScrollMenu";
1545 this.table = "DAB_ACTIONS";
1546 this.index = "CONDITION";
1547 this.subindex = "action";
1548 this.settingType = 0;
1549 DL_Set_Label(DAB_TEXT.Action);
1550 DL_Set_Anchor("_ConditionMenu", 0, -50);
1551 </OnLoad>
1552 </Scripts>
1553 </Button>
1554 <CheckButton name="$parent_IgnoreGlobal" inherits="DAB_CheckBoxTemplate" hidden="true">
1555 <Anchors>
1556 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
1557 <Offset><AbsDimension x="0" y="-77"/></Offset>
1558 </Anchor>
1559 </Anchors>
1560 <Scripts>
1561 <OnLoad>
1562 this.index = "CONDITION";
1563 this.subindex = "ignoreGlobal";
1564 this.settingType = 0;
1565 DL_Set_Label(DAB_TEXT.IgnoreGlobal);
1566 </OnLoad>
1567 </Scripts>
1568 </CheckButton>
1569 <Frame name="$parent_Unit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
1570 <Size><AbsDimension x="125" y="22"/></Size>
1571 <Scripts>
1572 <OnLoad>
1573 this:SetBackdropColor(0.0, 0.0, 0.0);
1574 this.menu = "DAB_ScrollMenu";
1575 this.table = "DL_UNITS_LIST";
1576 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
1577 this.index = "CONDITION";
1578 this.subindex = "unit";
1579 this.settingType = 0;
1580 DL_Set_Label(DAB_TEXT.Unit);
1581 DL_Set_Anchor("_ConditionMenu", 0, -50);
1582 </OnLoad>
1583 </Scripts>
1584 </Frame>
1585 <Frame name="$parent_Unit2" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
1586 <Size><AbsDimension x="125" y="22"/></Size>
1587 <Scripts>
1588 <OnLoad>
1589 this:SetBackdropColor(0.0, 0.0, 0.0);
1590 this.menu = "DAB_ScrollMenu";
1591 this.table = "DL_UNITS_LIST";
1592 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
1593 this.index = "CONDITION";
1594 this.subindex = "unit2";
1595 this.settingType = 0;
1596 DL_Set_Label(DAB_TEXT.Unit);
1597 DL_Set_Anchor("_ConditionMenu", 0, -75);
1598 </OnLoad>
1599 </Scripts>
1600 </Frame>
1601 <EditBox name="$parent_Buff" inherits="DAB_EditBoxTemplate" hidden="true">
1602 <Size><AbsDimension x="200" y="24"/></Size>
1603 <Scripts>
1604 <OnLoad>
1605 this.index = "CONDITION";
1606 this.subindex = "buff";
1607 this.settingType = 0;
1608 DL_Set_Label(DAB_TEXT.BuffName);
1609 DL_Set_Anchor("_ConditionMenu", 0, -75);
1610 </OnLoad>
1611 </Scripts>
1612 </EditBox>
1613 <EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate" hidden="true">
1614 <Size><AbsDimension x="200" y="24"/></Size>
1615 <Scripts>
1616 <OnLoad>
1617 this.index = "CONDITION";
1618 this.subindex = "text";
1619 this.settingType = 0;
1620 DL_Set_Label(DAB_TEXT.Text);
1621 DL_Set_Anchor("_ConditionMenu", 0, -75);
1622 </OnLoad>
1623 </Scripts>
1624 </EditBox>
1625 <Button name="$parent_Comparison" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1626 <Size><AbsDimension x="50" y="22"/></Size>
1627 <Scripts>
1628 <OnLoad>
1629 this:SetBackdropColor(0.0, 0.0, 0.0);
1630 this.menu = "DAB_DropMenu";
1631 this.table = "DL_COMPARE_MENU";
1632 this.index = "CONDITION";
1633 this.subindex = "compare";
1634 this.settingType = 0;
1635 DL_Set_Label(DAB_TEXT.Comparison);
1636 </OnLoad>
1637 </Scripts>
1638 </Button>
1639 <EditBox name="$parent_Number" inherits="DAB_EditBoxTemplate" hidden="true">
1640 <Size><AbsDimension x="100" y="24"/></Size>
1641 <Scripts>
1642 <OnLoad>
1643 this.index = "CONDITION";
1644 this.subindex = "number";
1645 this.number = true;
1646 this.settingType = 0;
1647 DL_Set_Label(DAB_TEXT.Number);
1648 </OnLoad>
1649 </Scripts>
1650 </EditBox>
1651 <Button name="$parent_Forms" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1652 <Size><AbsDimension x="200" y="22"/></Size>
1653 <Scripts>
1654 <OnLoad>
1655 this:SetBackdropColor(0.0, 0.0, 0.0);
1656 this.menu = "DAB_DropMenu";
1657 this.table = "DL_FORMS";
1658 this.index = "CONDITION";
1659 this.subindex = "form";
1660 this.settingType = 0;
1661 DL_Set_Label(DAB_TEXT.Form);
1662 DL_Set_Anchor("_ConditionMenu", 0, -50);
1663 </OnLoad>
1664 </Scripts>
1665 </Button>
1666 <Button name="$parent_Targets" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1667 <Size><AbsDimension x="200" y="22"/></Size>
1668 <Scripts>
1669 <OnLoad>
1670 this:SetBackdropColor(0.0, 0.0, 0.0);
1671 this.menu = "DAB_DropMenu";
1672 this.table = "DL_TARGET_PARAMS";
1673 this.index = "CONDITION";
1674 this.subindex = "target";
1675 this.settingType = 0;
1676 DL_Set_Label(DAB_TEXT.Type);
1677 DL_Set_Anchor("_ConditionMenu", 0, -50);
1678 </OnLoad>
1679 </Scripts>
1680 </Button>
1681 <Button name="$parent_Bars" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1682 <Size><AbsDimension x="200" y="22"/></Size>
1683 <Scripts>
1684 <OnLoad>
1685 this:SetBackdropColor(0.0, 0.0, 0.0);
1686 this.menu = "DAB_DropMenu";
1687 this.table = "DAB_NUMBERS";
1688 this.index = "CONDITION";
1689 this.subindex = "bar";
1690 this.settingType = 0;
1691 DL_Set_Label(DAB_TEXT.Bar);
1692 DL_Set_Anchor("_ConditionMenu", 0, -50);
1693 </OnLoad>
1694 </Scripts>
1695 </Button>
1696  
1697 <Button name="$parent_Response" inherits="DiscordLib_MenuControlTemplate">
1698 <Size><AbsDimension x="200" y="22"/></Size>
1699 <Scripts>
1700 <OnLoad>
1701 this:SetBackdropColor(0.0, 0.0, 0.0);
1702 this.menu = "DAB_ScrollMenu";
1703 this.table = "DAB_BAR_RESPONSES";
1704 this.initFunc = DAB_Select_Response;
1705 DL_Set_Label(DAB_TEXT.ChooseResponse);
1706 DL_Set_Anchor("_ConditionMenu", 0, -130);
1707 </OnLoad>
1708 </Scripts>
1709 </Button>
1710 <Button name="$parent_Page" inherits="DiscordLib_MenuControlTemplate">
1711 <Size><AbsDimension x="60" y="22"/></Size>
1712 <Scripts>
1713 <OnLoad>
1714 this:SetBackdropColor(0.0, 0.0, 0.0);
1715 this.menu = "DAB_ScrollMenu";
1716 this.table = "DAB_BAR_PAGES";
1717 this.index = "CONDITION";
1718 this.subindex = "page";
1719 DL_Set_Label(DAB_TEXT.Page);
1720 DL_Set_Anchor("_ConditionMenu", 0, -170);
1721 </OnLoad>
1722 </Scripts>
1723 </Button>
1724 <Button name="$parent_Page2" inherits="DiscordLib_MenuControlTemplate">
1725 <Size><AbsDimension x="60" y="22"/></Size>
1726 <Scripts>
1727 <OnLoad>
1728 this:SetBackdropColor(0.0, 0.0, 0.0);
1729 this.menu = "DAB_ScrollMenu";
1730 this.table = "DAB_BAR_PAGES";
1731 this.index = "CONDITION";
1732 this.subindex = "page2";
1733 DL_Set_Label(DAB_TEXT.Page2);
1734 DL_Set_Anchor("_ConditionMenu", 0, -195);
1735 </OnLoad>
1736 </Scripts>
1737 </Button>
1738 <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1" hidden="true">
1739 <Anchors>
1740 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
1741 <Offset><AbsDimension x="0" y="-190"/></Offset>
1742 </Anchor>
1743 </Anchors>
1744 <Scripts>
1745 <OnLoad>
1746 this.index = "CONDITION";
1747 this.subindex = "alpha";
1748 this.settingType = 0;
1749 this.minlock = true;
1750 this.maxlock = true;
1751 this.scale = 100;
1752 DL_Set_Label(DAB_TEXT.Alpha);
1753 </OnLoad>
1754 </Scripts>
1755 </Slider>
1756 <Slider name="$parent_Amount" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1" hidden="true">
1757 <Anchors>
1758 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
1759 <Offset><AbsDimension x="0" y="-190"/></Offset>
1760 </Anchor>
1761 </Anchors>
1762 <Scripts>
1763 <OnLoad>
1764 this.index = "CONDITION";
1765 this.subindex = "amount";
1766 this.settingType = 0;
1767 this.minlock = true;
1768 DL_Set_Label(DAB_TEXT.Amount);
1769 </OnLoad>
1770 </Scripts>
1771 </Slider>
1772 <Button name="$parent_Color" inherits="DAB_ColorPickerTemplate">
1773 <Anchors>
1774 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
1775 <Offset><AbsDimension x="0" y="-170"/></Offset>
1776 </Anchor>
1777 </Anchors>
1778 <Scripts>
1779 <OnLoad>
1780 this.index = "CONDITION"
1781 this.subindex = "color";
1782 this.settingType = 0;
1783 DL_Set_Label(DAB_TEXT.Color);
1784 </OnLoad>
1785 </Scripts>
1786 </Button>
1787 <EditBox name="$parent_ResponseText" inherits="DAB_EditBoxTemplate" hidden="true">
1788 <Size><AbsDimension x="200" y="24"/></Size>
1789 <Scripts>
1790 <OnLoad>
1791 this.index = "CONDITION";
1792 this.subindex = "rtext";
1793 this.settingType = 0;
1794 DL_Set_Label(DAB_TEXT.Text);
1795 DL_Set_Anchor("_ConditionMenu", 0, -195);
1796 </OnLoad>
1797 </Scripts>
1798 </EditBox>
1799 <EditBox name="$parent_ResponseNumber" inherits="DAB_EditBoxTemplate" hidden="true">
1800 <Size><AbsDimension x="100" y="24"/></Size>
1801 <Scripts>
1802 <OnLoad>
1803 this.index = "CONDITION";
1804 this.subindex = "rnumber";
1805 this.number = true;
1806 this.settingType = 0;
1807 DL_Set_Label(DAB_TEXT.Number);
1808 DL_Set_Anchor("_ConditionMenu", 0, -170);
1809 </OnLoad>
1810 </Scripts>
1811 </EditBox>
1812 <Button name="$parent_ResponseActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
1813 <Size><AbsDimension x="200" y="22"/></Size>
1814 <Scripts>
1815 <OnLoad>
1816 this:SetBackdropColor(0.0, 0.0, 0.0);
1817 this.menu = "DAB_ScrollMenu";
1818 this.table = "DAB_ACTIONS";
1819 this.index = "CONDITION";
1820 this.subindex = "raction";
1821 this.settingType = 0;
1822 DL_Set_Label(DAB_TEXT.Action);
1823 DL_Set_Anchor("_ConditionMenu", 0, -160);
1824 </OnLoad>
1825 </Scripts>
1826 </Button>
1827 <Frame name="$parent_ResponseUnit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
1828 <Size><AbsDimension x="125" y="22"/></Size>
1829 <Scripts>
1830 <OnLoad>
1831 this:SetBackdropColor(0.0, 0.0, 0.0);
1832 this.menu = "DAB_ScrollMenu";
1833 this.table = "DL_UNITS_LIST";
1834 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
1835 this.index = "CONDITION";
1836 this.subindex = "runit";
1837 this.settingType = 0;
1838 DL_Set_Label(DAB_TEXT.Unit);
1839 DL_Set_Anchor("_ConditionMenu", 0, -185);
1840 </OnLoad>
1841 </Scripts>
1842 </Frame>
1843 <EditBox name="$parent_ResponseX" inherits="DAB_EditBoxTemplate" hidden="true">
1844 <Size><AbsDimension x="100" y="24"/></Size>
1845 <Scripts>
1846 <OnLoad>
1847 this.index = "CONDITION";
1848 this.subindex = "rx";
1849 this.number = true;
1850 this.settingType = 0;
1851 DL_Set_Label("X:");
1852 DL_Set_Anchor("_ConditionMenu", 0, -170);
1853 </OnLoad>
1854 </Scripts>
1855 </EditBox>
1856 <EditBox name="$parent_ResponseY" inherits="DAB_EditBoxTemplate" hidden="true">
1857 <Size><AbsDimension x="100" y="24"/></Size>
1858 <Scripts>
1859 <OnLoad>
1860 this.index = "CONDITION";
1861 this.subindex = "ry";
1862 this.number = true;
1863 this.settingType = 0;
1864 DL_Set_Label("Y:");
1865 DL_Set_Anchor("_ConditionMenu", 0, -195);
1866 </OnLoad>
1867 </Scripts>
1868 </EditBox>
1869  
1870 <EditBox name="$parent_Overrides" inherits="DAB_EditBoxTemplate">
1871 <Size><AbsDimension x="230" y="24"/></Size>
1872 <Scripts>
1873 <OnLoad>
1874 this.index = "CONDITION";
1875 this.subindex = "overrides";
1876 this.settingType = 0;
1877 DL_Set_Label(DAB_TEXT.Overrides);
1878 DL_Set_Anchor("_ConditionMenu", 0, -225);
1879 </OnLoad>
1880 </Scripts>
1881 </EditBox>
1882 <Button name="$parent_AddCondition" inherits="DAB_MainMenuButton">
1883 <Anchors>
1884 <Anchor point="BOTTOM" relativeTo="DAB_BarOptions" relativePoint="BOTTOM">
1885 <Offset><AbsDimension x="0" y="15"/></Offset>
1886 </Anchor>
1887 </Anchors>
1888 <Scripts>
1889 <OnLoad>
1890 this:SetText(DAB_TEXT.AddCondition);
1891 </OnLoad>
1892 <OnClick>
1893 DAB_Add_Condition();
1894 </OnClick>
1895 </Scripts>
1896 </Button>
1897 </Frames>
1898 <Layers>
1899 <Layer level="OVERLAY">
1900 <FontString name="$parent_ParamLabel" inherits="GameFontNormal">
1901 <Anchors>
1902 <Anchor point="TOPLEFT">
1903 <Offset><AbsDimension x="0" y="-270"/></Offset>
1904 </Anchor>
1905 </Anchors>
1906 </FontString>
1907 <FontString name="$parent_ResponseLabel" inherits="GameFontNormal">
1908 <Anchors>
1909 <Anchor point="TOPLEFT">
1910 <Offset><AbsDimension x="0" y="-389"/></Offset>
1911 </Anchor>
1912 </Anchors>
1913 </FontString>
1914 </Layer>
1915 </Layers>
1916 </Frame>
1917  
1918 <Frame name="DAB_BarOptions_Label" hidden="true" parent="DAB_BarOptions" frameStrata="MEDIUM">
1919 <Size><AbsDimension x="10" y="10"/></Size>
1920 <Anchors>
1921 <Anchor point="TOPLEFT">
1922 <Offset><AbsDimension x="0" y="-70"/></Offset>
1923 </Anchor>
1924 </Anchors>
1925 <Frames>
1926 <EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate">
1927 <Size><AbsDimension x="230" y="24"/></Size>
1928 <Scripts>
1929 <OnLoad>
1930 this.index = "Label";
1931 this.subindex = "text";
1932 this.settingType = "Label";
1933 DL_Set_Label(DAB_TEXT.Text);
1934 DL_Set_Anchor("", 0, 0, "TOPLEFT", "TOPLEFT");
1935 </OnLoad>
1936 </Scripts>
1937 </EditBox>
1938 <Frame name="$parent_Font" inherits="DiscordLib_EditMenuControlTemplate">
1939 <Size><AbsDimension x="230" y="22"/></Size>
1940 <Scripts>
1941 <OnLoad>
1942 this:SetBackdropColor(0.0, 0.0, 0.0);
1943 this.menu = "DAB_ScrollMenu";
1944 this.table = "DL_FONTS_LIST";
1945 this.editFunc = DAB_FontEditBox_OnEnterPressed;
1946 this.index = "Label";
1947 this.subindex = "font";
1948 this.settingType = "Label";
1949 DL_Set_Label(DAB_TEXT.Font);
1950 DL_Set_Anchor("", 0, -25, "TOPLEFT", "TOPLEFT");
1951 </OnLoad>
1952 </Scripts>
1953 </Frame>
1954 <CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate">
1955 <Anchors>
1956 <Anchor point="TOPLEFT">
1957 <Offset><AbsDimension x="0" y="-50"/></Offset>
1958 </Anchor>
1959 </Anchors>
1960 <Scripts>
1961 <OnLoad>
1962 this.index = "Label";
1963 this.subindex = "hide";
1964 this.settingType = "Label";
1965 DL_Set_Label(DAB_TEXT.Hide);
1966 </OnLoad>
1967 </Scripts>
1968 </CheckButton>
1969 <Button name="$parent_Color" inherits="DAB_ColorPickerTemplate">
1970 <Anchors>
1971 <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"/>
1972 </Anchors>
1973 <Scripts>
1974 <OnLoad>
1975 this.index = "Label"
1976 this.subindex = "color";
1977 this.settingType = "Label";
1978 DL_Set_Label(DAB_TEXT.Color);
1979 </OnLoad>
1980 </Scripts>
1981 </Button>
1982 <Button name="$parent_JustifyH" inherits="DiscordLib_MenuControlTemplate">
1983 <Size><AbsDimension x="125" y="22"/></Size>
1984 <Scripts>
1985 <OnLoad>
1986 this:SetBackdropColor(0.0, 0.0, 0.0);
1987 this.menu = "DAB_DropMenu";
1988 this.table = "DL_JUSTIFY_H";
1989 this.index = "Label";
1990 this.subindex = "justifyH";
1991 this.settingType = "Label";
1992 DL_Set_Label(DAB_TEXT.JustifyH);
1993 DL_Set_Anchor("_Hide", 100, 0, "LEFT", "RIGHT");
1994 </OnLoad>
1995 </Scripts>
1996 </Button>
1997 <Button name="$parent_JustifyV" inherits="DiscordLib_MenuControlTemplate">
1998 <Size><AbsDimension x="125" y="22"/></Size>
1999 <Scripts>
2000 <OnLoad>
2001 this:SetBackdropColor(0.0, 0.0, 0.0);
2002 this.menu = "DAB_DropMenu";
2003 this.table = "DL_JUSTIFY_V";
2004 this.index = "Label";
2005 this.subindex = "justifyV";
2006 this.settingType = "Label";
2007 DL_Set_Label(DAB_TEXT.JustifyV);
2008 DL_Set_Anchor("_Color", 100, 0, "LEFT", "RIGHT");
2009 </OnLoad>
2010 </Scripts>
2011 </Button>
2012 <Slider name="$parent_Height" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1">
2013 <Anchors>
2014 <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT">
2015 <Offset><AbsDimension x="0" y="-15"/></Offset>
2016 </Anchor>
2017 </Anchors>
2018 <Scripts>
2019 <OnLoad>
2020 this.index = "Label";
2021 this.subindex = "height";
2022 this.settingType = "Label";
2023 this.minlock = true;
2024 DL_Set_Label(DAB_TEXT.Height);
2025 </OnLoad>
2026 </Scripts>
2027 </Slider>
2028 <Slider name="$parent_Width" inherits="DAB_SliderTemplate" minValue="1" maxValue="300" valueStep="1">
2029 <Anchors>
2030 <Anchor point="LEFT" relativeTo="$parent_Height" relativePoint="RIGHT">
2031 <Offset><AbsDimension x="70" y="0"/></Offset>
2032 </Anchor>
2033 </Anchors>
2034 <Scripts>
2035 <OnLoad>
2036 this.index = "Label";
2037 this.subindex = "width";
2038 this.settingType = "Label";
2039 this.minlock = true;
2040 DL_Set_Label(DAB_TEXT.Width);
2041 </OnLoad>
2042 </Scripts>
2043 </Slider>
2044 <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
2045 <Anchors>
2046 <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
2047 <Offset><AbsDimension x="0" y="-25"/></Offset>
2048 </Anchor>
2049 </Anchors>
2050 <Scripts>
2051 <OnLoad>
2052 this.index = "Label";
2053 this.subindex = "alpha";
2054 this.settingType = "Label";
2055 this.minlock = true;
2056 this.maxlock = true;
2057 this.scale = 100;
2058 DL_Set_Label(DAB_TEXT.Alpha);
2059 </OnLoad>
2060 </Scripts>
2061 </Slider>
2062 <Slider name="$parent_FontSize" inherits="DAB_SliderTemplate" minValue="1" maxValue="30" valueStep=".5">
2063 <Anchors>
2064 <Anchor point="LEFT" relativeTo="$parent_Alpha" relativePoint="RIGHT">
2065 <Offset><AbsDimension x="70" y="0"/></Offset>
2066 </Anchor>
2067 </Anchors>
2068 <Scripts>
2069 <OnLoad>
2070 this.index = "Label";
2071 this.subindex = "fontsize";
2072 this.settingType = "Label";
2073 this.minlock = true;
2074 DL_Set_Label(DAB_TEXT.FontSize);
2075 </OnLoad>
2076 </Scripts>
2077 </Slider>
2078 <Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate">
2079 <Size><AbsDimension x="125" y="22"/></Size>
2080 <Scripts>
2081 <OnLoad>
2082 this:SetBackdropColor(0.0, 0.0, 0.0);
2083 this.menu = "DAB_DropMenu";
2084 this.table = "DL_ANCHORS";
2085 this.index = "Label";
2086 this.subindex = "attachpoint";
2087 this.settingType = "Label";
2088 DL_Set_Label(DAB_TEXT.AnchorPoint);
2089 DL_Set_Anchor("_Alpha", 0, -25);
2090 </OnLoad>
2091 </Scripts>
2092 </Button>
2093 <Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate">
2094 <Size><AbsDimension x="125" y="22"/></Size>
2095 <Scripts>
2096 <OnLoad>
2097 this:SetBackdropColor(0.0, 0.0, 0.0);
2098 this.menu = "DAB_DropMenu";
2099 this.table = "DL_ANCHORS";
2100 this.index = "Label";
2101 this.subindex = "attachto";
2102 this.settingType = "Label";
2103 DL_Set_Label(DAB_TEXT.AnchorTo);
2104 DL_Set_Anchor("_Alpha", 0, -50);
2105 </OnLoad>
2106 </Scripts>
2107 </Button>
2108 <EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate">
2109 <Size><AbsDimension x="70" y="24"/></Size>
2110 <Scripts>
2111 <OnLoad>
2112 this.index = "Label";
2113 this.subindex = "x";
2114 this.number = true;
2115 this.settingType = "Label";
2116 DL_Set_Label("X:");
2117 DL_Set_Anchor("_Alpha", 230, -23);
2118 </OnLoad>
2119 </Scripts>
2120 </EditBox>
2121 <EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate">
2122 <Size><AbsDimension x="70" y="24"/></Size>
2123 <Scripts>
2124 <OnLoad>
2125 this.index = "Label";
2126 this.subindex = "y";
2127 this.number = true;
2128 DL_Set_Label("Y:");
2129 this.settingType = "Label";
2130 DL_Set_Anchor("_Alpha", 230, -47);
2131 </OnLoad>
2132 </Scripts>
2133 </EditBox>
2134 <Button name="$parent_PresetBackdrops" inherits="DiscordLib_MenuControlTemplate">
2135 <Size><AbsDimension x="125" y="22"/></Size>
2136 <Scripts>
2137 <OnLoad>
2138 this:SetBackdropColor(0.0, 0.0, 0.0);
2139 this.menu = "DAB_DropMenu";
2140 this.table = "DL_BACKDROPS";
2141 this.initFunc = DAB_Load_PresetBackdrop;
2142 DL_Set_Label(DAB_TEXT.PresetBackdrops);
2143 DL_Set_Anchor("", 225, -265, "TOPLEFT", "TOPLEFT", 1);
2144 </OnLoad>
2145 </Scripts>
2146 </Button>
2147 <Button name="$parent_BGColor" inherits="DAB_ColorPickerTemplate">
2148 <Anchors>
2149 <Anchor point="TOPLEFT">
2150 <Offset><AbsDimension x="0" y="-290"/></Offset>
2151 </Anchor>
2152 </Anchors>
2153 <Scripts>
2154 <OnLoad>
2155 this.index = "Label"
2156 this.subindex = "bgcolor";
2157 this.settingType = "Label";
2158 DL_Set_Label(DAB_TEXT.BackgroundColor);
2159 </OnLoad>
2160 </Scripts>
2161 </Button>
2162 <Button name="$parent_BorderColor" inherits="DAB_ColorPickerTemplate">
2163 <Anchors>
2164 <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT">
2165 <Offset><AbsDimension x="0" y="4"/></Offset>
2166 </Anchor>
2167 </Anchors>
2168 <Scripts>
2169 <OnLoad>
2170 this.index = "Label"
2171 this.subindex = "bordcolor";
2172 this.settingType = "Label";
2173 DL_Set_Label(DAB_TEXT.BorderColor);
2174 </OnLoad>
2175 </Scripts>
2176 </Button>
2177 <Slider name="$parent_BGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
2178 <Anchors>
2179 <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT">
2180 <Offset><AbsDimension x="0" y="-20"/></Offset>
2181 </Anchor>
2182 </Anchors>
2183 <Scripts>
2184 <OnLoad>
2185 this.index = "Label";
2186 this.subindex = "bgalpha";
2187 this.settingType = "Label";
2188 this.minlock = true;
2189 this.maxlock = true;
2190 this.scale = 100;
2191 DL_Set_Label(DAB_TEXT.BackgroundAlpha);
2192 </OnLoad>
2193 </Scripts>
2194 </Slider>
2195 <Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
2196 <Anchors>
2197 <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT">
2198 <Offset><AbsDimension x="0" y="-20"/></Offset>
2199 </Anchor>
2200 </Anchors>
2201 <Scripts>
2202 <OnLoad>
2203 this.index = "Label";
2204 this.subindex = "bordalpha";
2205 this.settingType = "Label";
2206 this.minlock = true;
2207 this.maxlock = true;
2208 this.scale = 100;
2209 DL_Set_Label(DAB_TEXT.BorderAlpha);
2210 </OnLoad>
2211 </Scripts>
2212 </Slider>
2213 <Frame name="$parent_BGTexture" inherits="DiscordLib_EditMenuControlTemplate">
2214 <Size><AbsDimension x="225" y="22"/></Size>
2215 <Scripts>
2216 <OnLoad>
2217 this:SetBackdropColor(0.0, 0.0, 0.0);
2218 this.menu = "DAB_ScrollMenu";
2219 this.table = "DL_TEXTURES_LIST";
2220 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
2221 this.index = "Label";
2222 this.subindex = "texture";
2223 this.settingType = "Label";
2224 DL_Set_Label(DAB_TEXT.BackgroundTexture);
2225 DL_Set_Anchor("_BorderAlpha", 0, -5);
2226 </OnLoad>
2227 </Scripts>
2228 </Frame>
2229 <Frame name="$parent_BorderTexture" inherits="DiscordLib_EditMenuControlTemplate">
2230 <Size><AbsDimension x="225" y="22"/></Size>
2231 <Scripts>
2232 <OnLoad>
2233 this:SetBackdropColor(0.0, 0.0, 0.0);
2234 this.menu = "DAB_ScrollMenu";
2235 this.table = "DL_TEXTURES_LIST";
2236 this.editFunc = DAB_TextureEditBox_OnEnterPressed;
2237 this.index = "Label";
2238 this.subindex = "btexture";
2239 this.settingType = "Label";
2240 DL_Set_Label(DAB_TEXT.BorderTexture);
2241 DL_Set_Anchor("_BorderAlpha", 0, -28);
2242 </OnLoad>
2243 </Scripts>
2244 </Frame>
2245 <CheckButton name="$parent_TileOpt" inherits="DAB_CheckBoxTemplate">
2246 <Anchors>
2247 <Anchor point="LEFT" relativeTo="$parent_BGColor" relativePoint="RIGHT">
2248 <Offset><AbsDimension x="160" y="0"/></Offset>
2249 </Anchor>
2250 </Anchors>
2251 <Scripts>
2252 <OnLoad>
2253 this.index = "Label";
2254 this.subindex = "tile";
2255 this.settingType = "Label";
2256 DL_Set_Label(DAB_TEXT.Tile);
2257 </OnLoad>
2258 </Scripts>
2259 </CheckButton>
2260 <EditBox name="$parent_TileSize" inherits="DAB_EditBoxTemplate">
2261 <Size><AbsDimension x="50" y="24"/></Size>
2262 <Scripts>
2263 <OnLoad>
2264 this.index = "Label";
2265 this.subindex = "tileSize";
2266 this.number = true;
2267 DL_Set_Label(DAB_TEXT.TileSize);
2268 this.settingType = "Label";
2269 DL_Set_Anchor("_TileOpt", 0, 0);
2270 </OnLoad>
2271 </Scripts>
2272 </EditBox>
2273 <EditBox name="$parent_EdgeSize" inherits="DAB_EditBoxTemplate">
2274 <Size><AbsDimension x="50" y="24"/></Size>
2275 <Scripts>
2276 <OnLoad>
2277 this.index = "Label";
2278 this.subindex = "edgeSize";
2279 this.number = true;
2280 DL_Set_Label(DAB_TEXT.EdgeSize);
2281 this.settingType = "Label";
2282 DL_Set_Anchor("_TileSize", 0, 0, "LEFT", "RIGHT");
2283 </OnLoad>
2284 </Scripts>
2285 </EditBox>
2286 <EditBox name="$parent_InsetLeft" inherits="DAB_EditBoxTemplate">
2287 <Size><AbsDimension x="50" y="24"/></Size>
2288 <Scripts>
2289 <OnLoad>
2290 this.index = "Label";
2291 this.subindex = "left";
2292 this.number = true;
2293 DL_Set_Label(DAB_TEXT.Left);
2294 this.settingType = "Label";
2295 DL_Set_Anchor("_TileOpt", 2, -33);
2296 </OnLoad>
2297 </Scripts>
2298 </EditBox>
2299 <EditBox name="$parent_InsetRight" inherits="DAB_EditBoxTemplate">
2300 <Size><AbsDimension x="50" y="24"/></Size>
2301 <Scripts>
2302 <OnLoad>
2303 this.index = "Label";
2304 this.subindex = "right";
2305 this.number = true;
2306 DL_Set_Label(DAB_TEXT.Right);
2307 this.settingType = "Label";
2308 DL_Set_Anchor("_TileOpt", 1, -52);
2309 </OnLoad>
2310 </Scripts>
2311 </EditBox>
2312 <EditBox name="$parent_InsetTop" inherits="DAB_EditBoxTemplate">
2313 <Size><AbsDimension x="50" y="24"/></Size>
2314 <Scripts>
2315 <OnLoad>
2316 this.index = "Label";
2317 this.subindex = "top";
2318 this.number = true;
2319 DL_Set_Label(DAB_TEXT.Top);
2320 this.settingType = "Label";
2321 DL_Set_Anchor("_TileOpt", 100, -33);
2322 </OnLoad>
2323 </Scripts>
2324 </EditBox>
2325 <EditBox name="$parent_InsetBottom" inherits="DAB_EditBoxTemplate">
2326 <Size><AbsDimension x="50" y="24"/></Size>
2327 <Scripts>
2328 <OnLoad>
2329 this.index = "Label";
2330 this.subindex = "bottom";
2331 this.number = true;
2332 DL_Set_Label(DAB_TEXT.Bottom);
2333 this.settingType = "Label";
2334 DL_Set_Anchor("_TileOpt", 100, -52);
2335 </OnLoad>
2336 </Scripts>
2337 </EditBox>
2338 </Frames>
2339 <Layers>
2340 <Layer level="OVERLAY">
2341 <FontString name="$parent_InsetsLabel" inherits="GameFontNormal">
2342 <Anchors>
2343 <Anchor point="TOPLEFT">
2344 <Offset><AbsDimension x="186" y="-337"/></Offset>
2345 </Anchor>
2346 </Anchors>
2347 </FontString>
2348 </Layer>
2349 </Layers>
2350 </Frame>
2351  
2352 <CheckButton name="DAB_BarButtonTemplate" virtual="true">
2353 <Size><AbsDimension x="360" y="20"/></Size>
2354 <HighlightTexture name = "$parentHighlight" alphaMode="ADD" file="Interface\QuestFrame\UI-QuestTitleHighlight"/>
2355 <CheckedTexture name = "$parentChecked" alphaMode="ADD" file="Interface\AddOns\DiscordLibrary\PlainBackdrop"/>
2356 <Layers>
2357 <Layer level="OVERLAY">
2358 <Texture name="$parent_Icon">
2359 <Size><AbsDimension x="20" y="20"/></Size>
2360 <Anchors>
2361 <Anchor point="LEFT"/>
2362 </Anchors>
2363 </Texture>
2364 <FontString name="$parent_Button" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER">
2365 <Size><AbsDimension x="75" y="20"/></Size>
2366 <Color r="1" g="1" b="1"/>
2367 <FontHeight>
2368 <AbsValue val="12"/>
2369 </FontHeight>
2370 <Shadow>
2371 <Offset>
2372 <AbsDimension x="1" y="-1"/>
2373 </Offset>
2374 <Color r="0" g="0" b="0"/>
2375 </Shadow>
2376 <Anchors>
2377 <Anchor point="LEFT">
2378 <Offset><AbsDimension x="20" y="0"/></Offset>
2379 </Anchor>
2380 </Anchors>
2381 </FontString>
2382 <FontString name="$parent_ActionID" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER">
2383 <Size><AbsDimension x="75" y="20"/></Size>
2384 <Color r="0" g="1" b="0"/>
2385 <FontHeight>
2386 <AbsValue val="12"/>
2387 </FontHeight>
2388 <Shadow>
2389 <Offset>
2390 <AbsDimension x="1" y="-1"/>
2391 </Offset>
2392 <Color r="0" g="0" b="0"/>
2393 </Shadow>
2394 <Anchors>
2395 <Anchor point="LEFT">
2396 <Offset><AbsDimension x="95" y="0"/></Offset>
2397 </Anchor>
2398 </Anchors>
2399 </FontString>
2400 <FontString name="$parent_Action" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER">
2401 <Size><AbsDimension x="190" y="20"/></Size>
2402 <Color r="1" g=".2" b=".2"/>
2403 <FontHeight>
2404 <AbsValue val="12"/>
2405 </FontHeight>
2406 <Shadow>
2407 <Offset>
2408 <AbsDimension x="1" y="-1"/>
2409 </Offset>
2410 <Color r="0" g="0" b="0"/>
2411 </Shadow>
2412 <Anchors>
2413 <Anchor point="LEFT">
2414 <Offset><AbsDimension x="170" y="0"/></Offset>
2415 </Anchor>
2416 </Anchors>
2417 </FontString>
2418 </Layer>
2419 </Layers>
2420 </CheckButton>
2421  
2422 <Frame name="DAB_BarOptions_ButtonControl" hidden="true" parent="DAB_BarOptions" frameStrata="MEDIUM">
2423 <Size><AbsDimension x="10" y="10"/></Size>
2424 <Anchors>
2425 <Anchor point="TOPLEFT">
2426 <Offset><AbsDimension x="0" y="-70"/></Offset>
2427 </Anchor>
2428 </Anchors>
2429 <Frames>
2430 <ScrollFrame name="$parent_ButtonsMenu" inherits="DL_ScrollFrameTemplate">
2431 <Size><AbsDimension x="370" y="90"/></Size>
2432 <Anchors>
2433 <Anchor point="TOPLEFT">
2434 <Offset><AbsDimension x="0" y="-25"/></Offset>
2435 </Anchor>
2436 </Anchors>
2437 <Scripts>
2438 <OnLoad>
2439 getglobal(this:GetName().."_OuterBorder_Header"):SetText(DAB_TEXT.ChooseAction);
2440 </OnLoad>
2441 <OnVerticalScroll>
2442 FauxScrollFrame_OnVerticalScroll(20, DAB_BarButtonsMenu_Update);
2443 </OnVerticalScroll>
2444 </Scripts>
2445 </ScrollFrame>
2446 <CheckButton name="$parent_ButtonsMenu_Button1" inherits="DAB_BarButtonTemplate" id="1">
2447 <Anchors>
2448 <Anchor point="TOPLEFT" relativeTo="$parent_ButtonsMenu">
2449 <Offset><AbsDimension x="5" y="-5"/></Offset>
2450 </Anchor>
2451 </Anchors>
2452 </CheckButton>
2453 <CheckButton name="$parent_ButtonsMenu_Button2" inherits="DAB_BarButtonTemplate" id="2"/>
2454 <CheckButton name="$parent_ButtonsMenu_Button3" inherits="DAB_BarButtonTemplate" id="3"/>
2455 <CheckButton name="$parent_ButtonsMenu_Button4" inherits="DAB_BarButtonTemplate" id="4"/>
2456  
2457 <ScrollFrame name="$parent_ConditionMenu" inherits="DL_ScrollFrameTemplate">
2458 <Size><AbsDimension x="370" y="90"/></Size>
2459 <Anchors>
2460 <Anchor point="TOPLEFT">
2461 <Offset><AbsDimension x="0" y="-150"/></Offset>
2462 </Anchor>
2463 </Anchors>
2464 <Scripts>
2465 <OnLoad>
2466 getglobal(this:GetName().."_OuterBorder_Header"):SetText(DAB_TEXT.Conditions);
2467 this.responsemenu = "DAB_BUTTONBAR_RESPONSES";
2468 </OnLoad>
2469 <OnVerticalScroll>
2470 FauxScrollFrame_OnVerticalScroll(40, DAB_ConditionMenu_Update);
2471 </OnVerticalScroll>
2472 </Scripts>
2473 </ScrollFrame>
2474 <CheckButton name="$parent_ConditionMenu_Button1" inherits="DAB_ConditionButtonTemplate" id="1">
2475 <Anchors>
2476 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu">
2477 <Offset><AbsDimension x="5" y="-5"/></Offset>
2478 </Anchor>
2479 </Anchors>
2480 </CheckButton>
2481 <CheckButton name="$parent_ConditionMenu_Button2" inherits="DAB_ConditionButtonTemplate" id="2">
2482 <Anchors>
2483 <Anchor point="TOP" relativeTo="$parent_ConditionMenu_Button1" relativePoint="BOTTOM"/>
2484 </Anchors>
2485 </CheckButton>
2486  
2487 <Button inherits="DAB_MainMenuButton" text="DL_COPYTEXT" frameStrata="DIALOG">
2488 <Size><AbsDimension x="100" y="22"/></Size>
2489 <Anchors>
2490 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPLEFT">
2491 <Offset><AbsDimension x="0" y="26"/></Offset>
2492 </Anchor>
2493 </Anchors>
2494 <Scripts>
2495 <OnClick>
2496 DAB_Copy_ControlSettings();
2497 </OnClick>
2498 </Scripts>
2499 </Button>
2500 <Button inherits="DAB_MainMenuButton" text="DL_PASTETEXT" frameStrata="DIALOG">
2501 <Size><AbsDimension x="100" y="22"/></Size>
2502 <Anchors>
2503 <Anchor point="TOPRIGHT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT">
2504 <Offset><AbsDimension x="27" y="26"/></Offset>
2505 </Anchor>
2506 </Anchors>
2507 <Scripts>
2508 <OnClick>
2509 DAB_Paste_ControlSettings();
2510 </OnClick>
2511 </Scripts>
2512 </Button>
2513  
2514 <Button name="$parent_Condition" inherits="DiscordLib_MenuControlTemplate">
2515 <Size><AbsDimension x="200" y="22"/></Size>
2516 <Scripts>
2517 <OnLoad>
2518 this:SetBackdropColor(0.0, 0.0, 0.0);
2519 this.menu = "DAB_ScrollMenu";
2520 this.table = "DL_CONDITIONS_MENU";
2521 this.initFunc = DAB_Select_Condition;
2522 DL_Set_Label(DAB_TEXT.ChooseCondition);
2523 DL_Set_Anchor("_ConditionMenu", 0, -10);
2524 </OnLoad>
2525 </Scripts>
2526 </Button>
2527 <Button name="$parent_ActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2528 <Size><AbsDimension x="200" y="22"/></Size>
2529 <Scripts>
2530 <OnLoad>
2531 this:SetBackdropColor(0.0, 0.0, 0.0);
2532 this.menu = "DAB_ScrollMenu";
2533 this.table = "DAB_ACTIONS";
2534 this.index = "CONDITION";
2535 this.subindex = "action";
2536 this.settingType = 0;
2537 DL_Set_Label(DAB_TEXT.Action);
2538 DL_Set_Anchor("_ConditionMenu", 0, -50);
2539 </OnLoad>
2540 </Scripts>
2541 </Button>
2542 <Button name="$parent_Bars" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2543 <Size><AbsDimension x="200" y="22"/></Size>
2544 <Scripts>
2545 <OnLoad>
2546 this:SetBackdropColor(0.0, 0.0, 0.0);
2547 this.menu = "DAB_DropMenu";
2548 this.table = "DAB_NUMBERS";
2549 this.index = "CONDITION";
2550 this.subindex = "bar";
2551 this.settingType = 0;
2552 DL_Set_Label(DAB_TEXT.Bar);
2553 DL_Set_Anchor("_ConditionMenu", 0, -50);
2554 </OnLoad>
2555 </Scripts>
2556 </Button>
2557 <CheckButton name="$parent_IgnoreGlobal" inherits="DAB_CheckBoxTemplate" hidden="true">
2558 <Anchors>
2559 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
2560 <Offset><AbsDimension x="0" y="-77"/></Offset>
2561 </Anchor>
2562 </Anchors>
2563 <Scripts>
2564 <OnLoad>
2565 this.index = "CONDITION";
2566 this.subindex = "ignoreGlobal";
2567 this.settingType = 0;
2568 DL_Set_Label(DAB_TEXT.IgnoreGlobal);
2569 </OnLoad>
2570 </Scripts>
2571 </CheckButton>
2572 <Frame name="$parent_Unit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
2573 <Size><AbsDimension x="125" y="22"/></Size>
2574 <Scripts>
2575 <OnLoad>
2576 this:SetBackdropColor(0.0, 0.0, 0.0);
2577 this.menu = "DAB_ScrollMenu";
2578 this.table = "DL_UNITS_LIST";
2579 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
2580 this.index = "CONDITION";
2581 this.subindex = "unit";
2582 this.settingType = 0;
2583 DL_Set_Label(DAB_TEXT.Unit);
2584 DL_Set_Anchor("_ConditionMenu", 0, -50);
2585 </OnLoad>
2586 </Scripts>
2587 </Frame>
2588 <Frame name="$parent_Unit2" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
2589 <Size><AbsDimension x="125" y="22"/></Size>
2590 <Scripts>
2591 <OnLoad>
2592 this:SetBackdropColor(0.0, 0.0, 0.0);
2593 this.menu = "DAB_ScrollMenu";
2594 this.table = "DL_UNITS_LIST";
2595 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
2596 this.index = "CONDITION";
2597 this.subindex = "unit2";
2598 this.settingType = 0;
2599 DL_Set_Label(DAB_TEXT.Unit);
2600 DL_Set_Anchor("_ConditionMenu", 0, -75);
2601 </OnLoad>
2602 </Scripts>
2603 </Frame>
2604 <EditBox name="$parent_Buff" inherits="DAB_EditBoxTemplate" hidden="true">
2605 <Size><AbsDimension x="200" y="24"/></Size>
2606 <Scripts>
2607 <OnLoad>
2608 this.index = "CONDITION";
2609 this.subindex = "buff";
2610 this.settingType = 0;
2611 DL_Set_Label(DAB_TEXT.BuffName);
2612 DL_Set_Anchor("_ConditionMenu", 0, -75);
2613 </OnLoad>
2614 </Scripts>
2615 </EditBox>
2616 <EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate" hidden="true">
2617 <Size><AbsDimension x="200" y="24"/></Size>
2618 <Scripts>
2619 <OnLoad>
2620 this.index = "CONDITION";
2621 this.subindex = "text";
2622 this.settingType = 0;
2623 DL_Set_Label(DAB_TEXT.Text);
2624 DL_Set_Anchor("_ConditionMenu", 0, -75);
2625 </OnLoad>
2626 </Scripts>
2627 </EditBox>
2628 <Button name="$parent_Comparison" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2629 <Size><AbsDimension x="50" y="22"/></Size>
2630 <Scripts>
2631 <OnLoad>
2632 this:SetBackdropColor(0.0, 0.0, 0.0);
2633 this.menu = "DAB_DropMenu";
2634 this.table = "DL_COMPARE_MENU";
2635 this.index = "CONDITION";
2636 this.subindex = "compare";
2637 this.settingType = 0;
2638 DL_Set_Label(DAB_TEXT.Comparison);
2639 </OnLoad>
2640 </Scripts>
2641 </Button>
2642 <EditBox name="$parent_Number" inherits="DAB_EditBoxTemplate" hidden="true">
2643 <Size><AbsDimension x="100" y="24"/></Size>
2644 <Scripts>
2645 <OnLoad>
2646 this.index = "CONDITION";
2647 this.subindex = "number";
2648 this.number = true;
2649 this.settingType = 0;
2650 DL_Set_Label(DAB_TEXT.Number);
2651 </OnLoad>
2652 </Scripts>
2653 </EditBox>
2654 <Button name="$parent_Forms" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2655 <Size><AbsDimension x="200" y="22"/></Size>
2656 <Scripts>
2657 <OnLoad>
2658 this:SetBackdropColor(0.0, 0.0, 0.0);
2659 this.menu = "DAB_DropMenu";
2660 this.table = "DL_FORMS";
2661 this.index = "CONDITION";
2662 this.subindex = "form";
2663 this.settingType = 0;
2664 DL_Set_Label(DAB_TEXT.Form);
2665 DL_Set_Anchor("_ConditionMenu", 0, -50);
2666 </OnLoad>
2667 </Scripts>
2668 </Button>
2669 <Button name="$parent_Targets" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2670 <Size><AbsDimension x="200" y="22"/></Size>
2671 <Scripts>
2672 <OnLoad>
2673 this:SetBackdropColor(0.0, 0.0, 0.0);
2674 this.menu = "DAB_DropMenu";
2675 this.table = "DL_TARGET_PARAMS";
2676 this.index = "CONDITION";
2677 this.subindex = "target";
2678 this.settingType = 0;
2679 DL_Set_Label(DAB_TEXT.Type);
2680 DL_Set_Anchor("_ConditionMenu", 0, -50);
2681 </OnLoad>
2682 </Scripts>
2683 </Button>
2684  
2685 <Button name="$parent_Response" inherits="DiscordLib_MenuControlTemplate">
2686 <Size><AbsDimension x="200" y="22"/></Size>
2687 <Scripts>
2688 <OnLoad>
2689 this:SetBackdropColor(0.0, 0.0, 0.0);
2690 this.menu = "DAB_ScrollMenu";
2691 this.table = "DAB_BUTTONBAR_RESPONSES";
2692 this.initFunc = DAB_Select_Response;
2693 DL_Set_Label(DAB_TEXT.ChooseResponse);
2694 DL_Set_Anchor("_ConditionMenu", 0, -130);
2695 </OnLoad>
2696 </Scripts>
2697 </Button>
2698 <Button name="$parent_ResponseActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
2699 <Size><AbsDimension x="200" y="22"/></Size>
2700 <Scripts>
2701 <OnLoad>
2702 this:SetBackdropColor(0.0, 0.0, 0.0);
2703 this.menu = "DAB_ScrollMenu";
2704 this.table = "DAB_ACTIONS";
2705 this.index = "CONDITION";
2706 this.subindex = "raction";
2707 this.settingType = 0;
2708 DL_Set_Label(DAB_TEXT.Action);
2709 DL_Set_Anchor("_ConditionMenu", 0, -160);
2710 </OnLoad>
2711 </Scripts>
2712 </Button>
2713 <Button name="$parent_Page" inherits="DiscordLib_MenuControlTemplate">
2714 <Size><AbsDimension x="60" y="22"/></Size>
2715 <Scripts>
2716 <OnLoad>
2717 this:SetBackdropColor(0.0, 0.0, 0.0);
2718 this.menu = "DAB_ScrollMenu";
2719 this.table = "DAB_BAR_PAGES";
2720 this.index = "CONDITION";
2721 this.subindex = "page";
2722 DL_Set_Label(DAB_TEXT.Page);
2723 DL_Set_Anchor("_ConditionMenu", 0, -170);
2724 </OnLoad>
2725 </Scripts>
2726 </Button>
2727 <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1" hidden="true">
2728 <Anchors>
2729 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
2730 <Offset><AbsDimension x="0" y="-190"/></Offset>
2731 </Anchor>
2732 </Anchors>
2733 <Scripts>
2734 <OnLoad>
2735 this.index = "CONDITION";
2736 this.subindex = "alpha";
2737 this.settingType = 0;
2738 this.minlock = true;
2739 this.maxlock = true;
2740 this.scale = 100;
2741 DL_Set_Label(DAB_TEXT.Alpha);
2742 </OnLoad>
2743 </Scripts>
2744 </Slider>
2745 <Slider name="$parent_Amount" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1" hidden="true">
2746 <Anchors>
2747 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
2748 <Offset><AbsDimension x="0" y="-190"/></Offset>
2749 </Anchor>
2750 </Anchors>
2751 <Scripts>
2752 <OnLoad>
2753 this.index = "CONDITION";
2754 this.subindex = "amount";
2755 this.settingType = 0;
2756 this.minlock = true;
2757 DL_Set_Label(DAB_TEXT.Amount);
2758 </OnLoad>
2759 </Scripts>
2760 </Slider>
2761 <Button name="$parent_Color" inherits="DAB_ColorPickerTemplate">
2762 <Anchors>
2763 <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
2764 <Offset><AbsDimension x="0" y="-170"/></Offset>
2765 </Anchor>
2766 </Anchors>
2767 <Scripts>
2768 <OnLoad>
2769 this.index = "CONDITION"
2770 this.subindex = "color";
2771 this.settingType = 0;
2772 DL_Set_Label(DAB_TEXT.Color);
2773 </OnLoad>
2774 </Scripts>
2775 </Button>
2776 <EditBox name="$parent_ResponseText" inherits="DAB_EditBoxTemplate" hidden="true">
2777 <Size><AbsDimension x="200" y="24"/></Size>
2778 <Scripts>
2779 <OnLoad>
2780 this.index = "CONDITION";
2781 this.subindex = "rtext";
2782 this.settingType = 0;
2783 DL_Set_Label(DAB_TEXT.Text);
2784 DL_Set_Anchor("_ConditionMenu", 0, -195);
2785 </OnLoad>
2786 </Scripts>
2787 </EditBox>
2788 <EditBox name="$parent_ResponseNumber" inherits="DAB_EditBoxTemplate" hidden="true">
2789 <Size><AbsDimension x="100" y="24"/></Size>
2790 <Scripts>
2791 <OnLoad>
2792 this.index = "CONDITION";
2793 this.subindex = "rnumber";
2794 this.number = true;
2795 this.settingType = 0;
2796 DL_Set_Label(DAB_TEXT.Number);
2797 DL_Set_Anchor("_ConditionMenu", 0, -170);
2798 </OnLoad>
2799 </Scripts>
2800 </EditBox>
2801 <Frame name="$parent_ResponseUnit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
2802 <Size><AbsDimension x="125" y="22"/></Size>
2803 <Scripts>
2804 <OnLoad>
2805 this:SetBackdropColor(0.0, 0.0, 0.0);
2806 this.menu = "DAB_ScrollMenu";
2807 this.table = "DL_UNITS_LIST";
2808 this.editFunc = DAB_UnitEditBox_OnEnterPressed;
2809 this.index = "CONDITION";
2810 this.subindex = "runit";
2811 this.settingType = 0;
2812 DL_Set_Label(DAB_TEXT.Unit);
2813 DL_Set_Anchor("_ConditionMenu", 0, -185);
2814 </OnLoad>
2815 </Scripts>
2816 </Frame>
2817  
2818 <EditBox name="$parent_Overrides" inherits="DAB_EditBoxTemplate">
2819 <Size><AbsDimension x="230" y="24"/></Size>
2820 <Scripts>
2821 <OnLoad>
2822 this.index = "CONDITION";
2823 this.subindex = "overrides";
2824 this.settingType = 0;
2825 DL_Set_Label(DAB_TEXT.Overrides);
2826 DL_Set_Anchor("_ConditionMenu", 0, -225);
2827 </OnLoad>
2828 </Scripts>
2829 </EditBox>
2830 <Button name="$parent_AddCondition" inherits="DAB_MainMenuButton">
2831 <Anchors>
2832 <Anchor point="BOTTOM" relativeTo="DAB_BarOptions" relativePoint="BOTTOM">
2833 <Offset><AbsDimension x="0" y="15"/></Offset>
2834 </Anchor>
2835 </Anchors>
2836 <Scripts>
2837 <OnLoad>
2838 this:SetText(DAB_TEXT.AddCondition);
2839 </OnLoad>
2840 <OnClick>
2841 DAB_Add_Condition();
2842 </OnClick>
2843 </Scripts>
2844 </Button>
2845 </Frames>
2846 <Layers>
2847 <Layer level="OVERLAY">
2848 <FontString name="$parent_ParamLabel" inherits="GameFontNormal">
2849 <Anchors>
2850 <Anchor point="TOPLEFT">
2851 <Offset><AbsDimension x="0" y="-270"/></Offset>
2852 </Anchor>
2853 </Anchors>
2854 </FontString>
2855 <FontString name="$parent_ResponseLabel" inherits="GameFontNormal">
2856 <Anchors>
2857 <Anchor point="TOPLEFT">
2858 <Offset><AbsDimension x="0" y="-389"/></Offset>
2859 </Anchor>
2860 </Anchors>
2861 </FontString>
2862 </Layer>
2863 </Layers>
2864 </Frame>
2865  
2866 </Ui>