vanilla-wow-addons – Rev 1
?pathlinks?
<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/
..\FrameXML\UI.xsd">
<CheckButton name="DAB_FloaterTabButtonTemplate" inherits="DL_TabButtonTemplate" virtual="true">
<Size><AbsDimension x="195" y="20"/></Size>
</CheckButton>
<Frame name="DAB_FloaterOptions" hidden="true" parent="DAB_Options" frameStrata="MEDIUM">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="DAB_Options_BarBrowser_OuterBorder" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="5" y="-5"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Frames>
<CheckButton name="$parent_ConfigTab" inherits="DAB_FloaterTabButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-22"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_Init_TabButton(DAB_TEXT.Config, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions, 1);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_AdvConfigTab" inherits="DAB_FloaterTabButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_ConfigTab" relativePoint="RIGHT">
<Offset><AbsDimension x="2" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_Init_TabButton(DAB_TEXT.AdvConfig, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_ControlTab" inherits="DAB_FloaterTabButtonTemplate" id="3">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_ConfigTab" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="-2"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_Init_TabButton(DAB_TEXT.Control, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_ScriptsTab" inherits="DAB_FloaterTabButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_ControlTab" relativePoint="RIGHT">
<Offset><AbsDimension x="2" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_Init_TabButton(DAB_TEXT.Scripts, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions);
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
<Scripts>
<OnLoad>
this:EnableMouseWheel(1);
</OnLoad>
<OnMouseWheel>
DAB_FloaterOptions_OnMouseWheel(arg1);
</OnMouseWheel>
</Scripts>
</Frame>
<Frame name="DAB_FloaterOptions_Config" hidden="false" parent="DAB_FloaterOptions" frameStrata="MEDIUM">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-190"/></Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "hide";
DL_Set_Label(DAB_TEXT.Hide);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_HideOnClick" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "hideonclick";
DL_Set_Label(DAB_TEXT.HideOnClick);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_DisableTooltip" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_HideOnClick" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "disableTooltip";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.DisableTooltip);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_AutoAttack" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "autoAttack";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.AutoAttack);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_PetAutoAttack" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_AutoAttack" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "petAutoAttack";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.PetAutoAttack);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_CooldownCount" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="190" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "cooldownCount";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.ShowCooldownCount);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_HideGlobalCooldown" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="20" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "hideGlobalCD";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.HideGlobalCooldownCount);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_LockButton" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-19"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "buttonLocked";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.LockButton);
</OnLoad>
</Scripts>
</CheckButton>
<Slider name="$parent_Size" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_PetAutoAttack" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-25"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "size";
this.minlock = true;
DL_Set_Label(DAB_TEXT.ButtonSize);
</OnLoad>
</Scripts>
</Slider>
<Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-20"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "alpha";
this.minlock = true;
this.maxlock = true;
this.scale = 100;
DL_Set_Label(DAB_TEXT.ButtonAlpha);
</OnLoad>
</Scripts>
</Slider>
<Frame name="$parent_AnchorFrame" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_ANCHOR_FRAMES";
this.editFunc = DAB_AnchorFrameEditBox_OnEnterPressed;
this.index = "Anchor";
this.subindex = "frame";
DL_Set_Label(DAB_TEXT.AnchorFrame);
DL_Set_Anchor("_Alpha", 2, -20);
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_ANCHORS";
this.index = "Anchor";
this.subindex = "point";
DL_Set_Label(DAB_TEXT.AnchorPoint);
DL_Set_Anchor("_Alpha", 0, -45);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_ANCHORS";
this.index = "Anchor";
this.subindex = "to";
DL_Set_Label(DAB_TEXT.AnchorTo);
DL_Set_Anchor("_Alpha", 0, -70);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="299" y="-195"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_NudgeButton_OnLoad();
this.updateFrame = "DAB_FloaterOptions_Config_YOffset";
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_NudgeDown" inherits="DAB_NudgeTemplate" id="2">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_NudgeButton_OnLoad();
this.updateFrame = "DAB_FloaterOptions_Config_YOffset";
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_NudgeLeft" inherits="DAB_NudgeTemplate" id="3">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_NudgeButton_OnLoad();
this.updateFrame = "DAB_FloaterOptions_Config_XOffset";
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_NudgeRight" inherits="DAB_NudgeTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
DL_NudgeButton_OnLoad();
this.updateFrame = "DAB_FloaterOptions_Config_XOffset";
</OnLoad>
</Scripts>
</Button>
<EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="70" y="24"/></Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent_NudgeDown" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="-5"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Anchor";
this.subindex = "x";
this.number = true;
DL_Set_Label("X:");
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="70" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "Anchor";
this.subindex = "y";
this.number = true;
DL_Set_Label("Y:");
DL_Set_Anchor("_NudgeDown", 0, -5, "TOPLEFT", "BOTTOM");
</OnLoad>
</Scripts>
</EditBox>
<Button name="$parent_Preview" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="HIGH">
<Size><AbsDimension x="100" y="100"/></Size>
<Anchors>
<Anchor point="TOP" relativeTo="DAB_FloaterOptions">
<Offset><AbsDimension x="0" y="-70"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parent_Icon">
<Size><AbsDimension x="90" y="90"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<FontString name="$parent_Text" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="-5"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
this:SetBackdropColor(0,0,0);
this:SetBackdropBorderColor(1, 0, 0);
</OnLoad>
<OnEnter>
if (DAB_OBJECT_SUBINDEX) then
if ( GetCVar("UberTooltips") == "1" ) then
GameTooltip_SetDefaultAnchor(GameTooltip, this);
else
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
end
GameTooltip:SetAction(this.action);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
if (DAB_OBJECT_SUBINDEX) then
PickupAction(this.action);
DAB_Update_FloaterList();
DAB_Init_FloaterOptions();
DAB_Update_ObjectList();
DAB_BarBrowser_Update();
end
</OnClick>
<OnDragStart>
if (DAB_OBJECT_SUBINDEX) then
PickupAction(this.action);
DAB_Update_FloaterList();
DAB_Init_FloaterOptions();
DAB_Update_ObjectList();
DAB_BarBrowser_Update();
end
</OnDragStart>
<OnReceiveDrag>
if (DAB_OBJECT_SUBINDEX) then
PlaceAction(this.action);
DAB_Update_FloaterList();
DAB_Init_FloaterOptions();
DAB_Update_ObjectList();
DAB_BarBrowser_Update();
end
</OnReceiveDrag>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="DAB_FloaterOptions_AdvConfig" hidden="true" parent="DAB_FloaterOptions" frameStrata="MEDIUM">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-70"/></Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="$parent_ExpandHidden" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "expandHidden";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.ExpandHidden);
</OnLoad>
</Scripts>
</CheckButton>
<Frame name="$parent_CBGroup" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="50" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_GROUPS";
this.editFunc = DAB_GroupEditBox_OnEnterPressed;
this.index = "cbgroup";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.ControlBoxGroup);
DL_Set_Anchor("", 0, -15);
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="170" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_ACTIONS";
this.index = "rightClick";
this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} };
this.settingType = 0;
DL_Set_Label(DAB_TEXT.RightClickButton);
DL_Set_Anchor("", 0, -40);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="170" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_ACTIONS";
this.index = "middleClick";
this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} };
this.settingType = 0;
DL_Set_Label(DAB_TEXT.MiddleClickButton);
DL_Set_Anchor("", 0, -65);
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_Target" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_UNITS_LIST";
this.editFunc = DAB_UnitEditBox_OnEnterPressed;
this.index = "target";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.DefaultTarget);
DL_Set_Anchor("", 0, -90);
</OnLoad>
</Scripts>
</Frame>
<CheckButton name="$parent_ForceTarget" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_Target" relativePoint="RIGHT">
<Offset><AbsDimension x="20" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "forceTarget";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Force);
</OnLoad>
</Scripts>
</CheckButton>
<Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="150" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_FRAMESTRATAS";
this.index = "frameStrata";
DL_Set_Label(DAB_TEXT.FrameStrata);
DL_Set_Anchor("", 0, -115);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_RangeColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-145"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "rangecolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.OutOfRange);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_RangeRecolor" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DAB_RECOLOR";
this.index = "rangerecolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Recolor);
DL_Set_Anchor("_RangeColor", 150, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_ManaColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_RangeColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "manacolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.NotEnoughMana);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_ManaRecolor" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DAB_RECOLOR";
this.index = "manarecolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Recolor);
DL_Set_Anchor("_ManaColor", 150, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_UnusableColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ManaColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "unusablecolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.ActionUnusable);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_UnusableRecolor" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DAB_RECOLOR";
this.index = "unusablerecolor";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Recolor);
DL_Set_Anchor("_UnusableColor", 150, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Button>
<CheckButton name="$parent_TrimEdges" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-215"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "trimEdges";
DL_Set_Label(DAB_TEXT.TrimEdges);
</OnLoad>
</Scripts>
</CheckButton>
<Button name="$parent_ButtonBGColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="3"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "buttonbgcolor"
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_ButtonBG" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_TEXTURES_LIST";
this.editFunc = DAB_TextureEditBox_OnEnterPressed;
this.index = "buttonbg";
DL_Set_Label(DAB_TEXT.ButtonBackground);
DL_Set_Anchor("_ButtonBGColor", 3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_CheckedColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ButtonBGColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "checkedcolor"
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_Checked" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_TEXTURES_LIST";
this.editFunc = DAB_TextureEditBox_OnEnterPressed;
this.index = "checked";
DL_Set_Label(DAB_TEXT.Checked);
DL_Set_Anchor("_CheckedColor", 3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_HighlightColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_CheckedColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "highlightcolor"
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_Highlight" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_TEXTURES_LIST";
this.editFunc = DAB_TextureEditBox_OnEnterPressed;
this.index = "highlight";
DL_Set_Label(DAB_TEXT.Highlight);
DL_Set_Anchor("_HighlightColor", 3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_EquippedColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_HighlightColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "ecolor";
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_Equipped" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_TEXTURES_LIST";
this.editFunc = DAB_TextureEditBox_OnEnterPressed;
this.index = "ButtonBorder";
this.subindex = "etexture";
DL_Set_Label(DAB_TEXT.Equipped);
DL_Set_Anchor("_EquippedColor", 3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_BorderColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_EquippedColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "color";
</OnLoad>
</Scripts>
</Button>
<Frame name="$parent_Border" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_TEXTURES_LIST";
this.editFunc = DAB_TextureEditBox_OnEnterPressed;
this.index = "ButtonBorder";
this.subindex = "texture";
DL_Set_Label(DAB_TEXT.Border);
DL_Set_Anchor("_BorderColor", 3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-125"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "alpha";
this.minlock = true;
this.maxlock = true;
this.scale = 100;
DL_Set_Label(DAB_TEXT.ButtonBorderAlpha);
</OnLoad>
</Scripts>
</Slider>
<EditBox name="$parent_PadLeft" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="50" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "leftpadding";
this.number = true;
DL_Set_Label(DAB_TEXT.Left);
DL_Set_Anchor("_BorderAlpha", 70, 0, "TOPLEFT", "TOPRIGHT");
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_PadRight" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="50" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "rightpadding";
this.number = true;
DL_Set_Label(DAB_TEXT.Right);
DL_Set_Anchor("_BorderAlpha", 70, -23, "TOPLEFT", "TOPRIGHT");
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_PadTop" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="50" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "toppadding";
this.number = true;
DL_Set_Label(DAB_TEXT.Top);
DL_Set_Anchor("_BorderAlpha", 165, 0, "TOPLEFT", "TOPRIGHT");
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_PadBottom" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="50" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "ButtonBorder";
this.subindex = "bottompadding";
this.number = true;
DL_Set_Label(DAB_TEXT.Bottom);
DL_Set_Anchor("_BorderAlpha", 165, -23, "TOPLEFT", "TOPRIGHT");
</OnLoad>
</Scripts>
</EditBox>
<CheckButton name="$parent_KBHide" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-25"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Keybinding";
this.subindex = "hide";
</OnLoad>
</Scripts>
</CheckButton>
<Button name="$parent_KBColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_KBHide" relativePoint="RIGHT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Keybinding";
this.subindex = "color";
</OnLoad>
</Scripts>
</Button>
<EditBox name="$parent_KBSize" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="40" y="24"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_KBColor" relativePoint="RIGHT">
<Offset><AbsDimension x="3" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Keybinding";
this.subindex = "size";
this.number = true;
</OnLoad>
</Scripts>
</EditBox>
<Frame name="$parent_KBFont" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="150" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_FONTS_LIST";
this.editFunc = DAB_FontEditBox_OnEnterPressed;
this.index = "Keybinding";
this.subindex = "font";
DL_Set_Label(DAB_TEXT.Keybinding);
DL_Set_Anchor("_KBSize", -3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_CCColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_KBColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Cooldown";
this.subindex = "color";
</OnLoad>
</Scripts>
</Button>
<CheckButton name="$parent_CCHide" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent_CCColor" relativePoint="LEFT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Cooldown";
this.subindex = "hide";
</OnLoad>
</Scripts>
</CheckButton>
<EditBox name="$parent_CCSize" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="40" y="24"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_CCColor" relativePoint="RIGHT">
<Offset><AbsDimension x="3" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Cooldown";
this.subindex = "size";
this.number = true;
</OnLoad>
</Scripts>
</EditBox>
<Frame name="$parent_CCFont" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="150" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_FONTS_LIST";
this.editFunc = DAB_FontEditBox_OnEnterPressed;
this.index = "Cooldown";
this.subindex = "font";
DL_Set_Label(DAB_TEXT.CooldownCount);
DL_Set_Anchor("_CCSize", -3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_CntColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_CCColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Count";
this.subindex = "color";
</OnLoad>
</Scripts>
</Button>
<CheckButton name="$parent_CntHide" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent_CntColor" relativePoint="LEFT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Count";
this.subindex = "hide";
</OnLoad>
</Scripts>
</CheckButton>
<EditBox name="$parent_CntSize" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="40" y="24"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_CntColor" relativePoint="RIGHT">
<Offset><AbsDimension x="3" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Count";
this.subindex = "size";
this.number = true;
</OnLoad>
</Scripts>
</EditBox>
<Frame name="$parent_CntFont" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="150" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_FONTS_LIST";
this.editFunc = DAB_FontEditBox_OnEnterPressed;
this.index = "Count";
this.subindex = "font";
DL_Set_Label(DAB_TEXT.Count);
DL_Set_Anchor("_CntSize", -3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_MNColor" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_CntColor" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="4"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Macro";
this.subindex = "color";
</OnLoad>
</Scripts>
</Button>
<CheckButton name="$parent_MNHide" inherits="DAB_CheckBoxTemplate">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent_MNColor" relativePoint="LEFT"/>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Macro";
this.subindex = "hide";
</OnLoad>
</Scripts>
</CheckButton>
<EditBox name="$parent_MNSize" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="40" y="24"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent_MNColor" relativePoint="RIGHT">
<Offset><AbsDimension x="3" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "Macro";
this.subindex = "size";
this.number = true;
</OnLoad>
</Scripts>
</EditBox>
<Frame name="$parent_MNFont" inherits="DiscordLib_EditMenuControlTemplate">
<Size><AbsDimension x="150" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_FONTS_LIST";
this.editFunc = DAB_FontEditBox_OnEnterPressed;
this.index = "Macro";
this.subindex = "font";
DL_Set_Label(DAB_TEXT.MacroName);
DL_Set_Anchor("_MNSize", -3, 0, "LEFT", "RIGHT");
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_PaddingLabel" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="199" y="-352"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_TextLabel" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-397"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="DAB_FloaterOptions_Control" hidden="true" parent="DAB_FloaterOptions" frameStrata="MEDIUM">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-70"/></Offset>
</Anchor>
</Anchors>
<Frames>
<ScrollFrame name="$parent_ConditionMenu" inherits="DL_ScrollFrameTemplate">
<Size><AbsDimension x="370" y="210"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-30"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."_OuterBorder_Header"):SetText(DAB_TEXT.Conditions);
this.responsemenu = "DAB_FLOATER_RESPONSES";
</OnLoad>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(40, DAB_ConditionMenu_Update);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<CheckButton name="$parent_ConditionMenu_Button1" inherits="DAB_ConditionButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu">
<Offset><AbsDimension x="5" y="-5"/></Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="$parent_ConditionMenu_Button2" inherits="DAB_ConditionButtonTemplate" id="2"/>
<CheckButton name="$parent_ConditionMenu_Button3" inherits="DAB_ConditionButtonTemplate" id="3"/>
<CheckButton name="$parent_ConditionMenu_Button4" inherits="DAB_ConditionButtonTemplate" id="4"/>
<CheckButton name="$parent_ConditionMenu_Button5" inherits="DAB_ConditionButtonTemplate" id="5"/>
<Button inherits="DAB_MainMenuButton" text="DL_COPYTEXT" frameStrata="DIALOG">
<Size><AbsDimension x="100" y="22"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPLEFT">
<Offset><AbsDimension x="0" y="26"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
DAB_Copy_ControlSettings();
</OnClick>
</Scripts>
</Button>
<Button inherits="DAB_MainMenuButton" text="DL_PASTETEXT" frameStrata="DIALOG">
<Size><AbsDimension x="100" y="22"/></Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="27" y="26"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
DAB_Paste_ControlSettings();
</OnClick>
</Scripts>
</Button>
<Button name="$parent_Condition" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_CONDITIONS_MENU";
this.initFunc = DAB_Select_Condition;
DL_Set_Label(DAB_TEXT.ChooseCondition);
DL_Set_Anchor("_ConditionMenu", 0, -10);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_ActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_ACTIONS";
this.index = "CONDITION";
this.subindex = "action";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Action);
DL_Set_Anchor("_ConditionMenu", 0, -50);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_Bars" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DAB_NUMBERS";
this.index = "CONDITION";
this.subindex = "bar";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Bar);
DL_Set_Anchor("_ConditionMenu", 0, -50);
</OnLoad>
</Scripts>
</Button>
<CheckButton name="$parent_IgnoreGlobal" inherits="DAB_CheckBoxTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-77"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "ignoreGlobal";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.IgnoreGlobal);
</OnLoad>
</Scripts>
</CheckButton>
<Frame name="$parent_Unit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_UNITS_LIST";
this.editFunc = DAB_UnitEditBox_OnEnterPressed;
this.index = "CONDITION";
this.subindex = "unit";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Unit);
DL_Set_Anchor("_ConditionMenu", 0, -50);
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parent_Unit2" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_UNITS_LIST";
this.editFunc = DAB_UnitEditBox_OnEnterPressed;
this.index = "CONDITION";
this.subindex = "unit2";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Unit);
DL_Set_Anchor("_ConditionMenu", 0, -75);
</OnLoad>
</Scripts>
</Frame>
<EditBox name="$parent_Buff" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="200" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "buff";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.BuffName);
DL_Set_Anchor("_ConditionMenu", 0, -75);
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="200" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "text";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Text);
DL_Set_Anchor("_ConditionMenu", 0, -75);
</OnLoad>
</Scripts>
</EditBox>
<Button name="$parent_Comparison" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="50" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_COMPARE_MENU";
this.index = "CONDITION";
this.subindex = "compare";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Comparison);
</OnLoad>
</Scripts>
</Button>
<EditBox name="$parent_Number" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="100" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "number";
this.number = true;
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Number);
</OnLoad>
</Scripts>
</EditBox>
<Button name="$parent_Forms" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_FORMS";
this.index = "CONDITION";
this.subindex = "form";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Form);
DL_Set_Anchor("_ConditionMenu", 0, -50);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_Targets" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_DropMenu";
this.table = "DL_TARGET_PARAMS";
this.index = "CONDITION";
this.subindex = "target";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Type);
DL_Set_Anchor("_ConditionMenu", 0, -50);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_Response" inherits="DiscordLib_MenuControlTemplate">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_FLOATER_RESPONSES";
this.initFunc = DAB_Select_Response;
DL_Set_Label(DAB_TEXT.ChooseResponse);
DL_Set_Anchor("_ConditionMenu", 0, -130);
</OnLoad>
</Scripts>
</Button>
<Button name="$parent_ResponseActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true">
<Size><AbsDimension x="200" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DAB_ACTIONS";
this.index = "CONDITION";
this.subindex = "raction";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Action);
DL_Set_Anchor("_ConditionMenu", 0, -160);
</OnLoad>
</Scripts>
</Button>
<Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-190"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "alpha";
this.settingType = 0;
this.minlock = true;
this.maxlock = true;
this.scale = 100;
DL_Set_Label(DAB_TEXT.Alpha);
</OnLoad>
</Scripts>
</Slider>
<Slider name="$parent_Amount" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-190"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "amount";
this.settingType = 0;
this.minlock = true;
DL_Set_Label(DAB_TEXT.Amount);
</OnLoad>
</Scripts>
</Slider>
<Button name="$parent_Color" inherits="DAB_ColorPickerTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-170"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "CONDITION"
this.subindex = "color";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Color);
</OnLoad>
</Scripts>
</Button>
<EditBox name="$parent_ResponseText" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="200" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "rtext";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Text);
DL_Set_Anchor("_ConditionMenu", 0, -195);
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_ResponseNumber" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="100" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "rnumber";
this.number = true;
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Number);
DL_Set_Anchor("_ConditionMenu", 0, -170);
</OnLoad>
</Scripts>
</EditBox>
<Frame name="$parent_ResponseUnit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true">
<Size><AbsDimension x="125" y="22"/></Size>
<Scripts>
<OnLoad>
this:SetBackdropColor(0.0, 0.0, 0.0);
this.menu = "DAB_ScrollMenu";
this.table = "DL_UNITS_LIST";
this.editFunc = DAB_UnitEditBox_OnEnterPressed;
this.index = "CONDITION";
this.subindex = "runit";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Unit);
DL_Set_Anchor("_ConditionMenu", 0, -185);
</OnLoad>
</Scripts>
</Frame>
<EditBox name="$parent_ResponseX" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="100" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "rx";
this.number = true;
this.settingType = 0;
DL_Set_Label("X:");
DL_Set_Anchor("_ConditionMenu", 0, -170);
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_ResponseY" inherits="DAB_EditBoxTemplate" hidden="true">
<Size><AbsDimension x="100" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "ry";
this.number = true;
this.settingType = 0;
DL_Set_Label("Y:");
DL_Set_Anchor("_ConditionMenu", 0, -195);
</OnLoad>
</Scripts>
</EditBox>
<EditBox name="$parent_Overrides" inherits="DAB_EditBoxTemplate">
<Size><AbsDimension x="230" y="24"/></Size>
<Scripts>
<OnLoad>
this.index = "CONDITION";
this.subindex = "overrides";
this.settingType = 0;
DL_Set_Label(DAB_TEXT.Overrides);
DL_Set_Anchor("_ConditionMenu", 0, -225);
</OnLoad>
</Scripts>
</EditBox>
<Button name="$parent_AddCondition" inherits="DAB_MainMenuButton">
<Anchors>
<Anchor point="BOTTOM" relativeTo="DAB_BarOptions" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="15"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText(DAB_TEXT.AddCondition);
</OnLoad>
<OnClick>
DAB_Add_Condition();
</OnClick>
</Scripts>
</Button>
</Frames>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_ParamLabel" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-270"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_ResponseLabel" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="-389"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.