<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">

<Frame name="DAB_CBoxOptions" 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_BarTabButtonTemplate" id="1">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="0" y="-22"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_Init_TabButton(DAB_TEXT.Config, "DAB_CBOX_OPTIONS", DAB_Select_CboxOptions, 1);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ControlTab" inherits="DAB_BarTabButtonTemplate" 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.Control, "DAB_CBOX_OPTIONS", DAB_Select_CboxOptions);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ScriptsTab" inherits="DAB_BarTabButtonTemplate" id="3">
			<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_CBOX_OPTIONS", DAB_Select_CboxOptions);
				</OnLoad>
			</Scripts>
		</CheckButton>
	</Frames>
	<Scripts>
		<OnLoad>
			this:EnableMouseWheel(1);
		</OnLoad>
		<OnMouseWheel>
			DAB_CBoxOptions_OnMouseWheel(arg1);
		</OnMouseWheel>
	</Scripts>
</Frame>

<Frame name="DAB_CBoxOptions_Config" hidden="false" parent="DAB_CBoxOptions" frameStrata="MEDIUM">
	<Size><AbsDimension x="10" y="10"/></Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset><AbsDimension x="0" y="-50"/></Offset>
		</Anchor>
	</Anchors>
	<Frames>
		<EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="230" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "text";
					DL_Set_Label(DAB_TEXT.Text);
					DL_Set_Anchor("", 0, 0, "TOPLEFT", "TOPLEFT");
				</OnLoad>
			</Scripts>
		</EditBox>
		<CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="0" y="-25"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hide";
					DL_Set_Label(DAB_TEXT.Hide);
				</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("_Hide", 120, 0, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_Color" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "color";
					DL_Set_Label(DAB_TEXT.TextColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_MColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_Color" relativePoint="RIGHT">
					<Offset><AbsDimension x="150" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mcolor";
					DL_Set_Label(DAB_TEXT.TextMouseoverColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_BGColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "bgcolor";
					DL_Set_Label(DAB_TEXT.BackgroundColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_BGMColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_BGColor" relativePoint="RIGHT">
					<Offset><AbsDimension x="150" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mbgcolor";
					DL_Set_Label(DAB_TEXT.BackgroundMouseoverColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_BordColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "bordcolor";
					DL_Set_Label(DAB_TEXT.BorderColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_MBordColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_BordColor" relativePoint="RIGHT">
					<Offset><AbsDimension x="150" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mbordcolor";
					DL_Set_Label(DAB_TEXT.BorderMouseoverColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Slider name="$parent_Height" inherits="DAB_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BordColor" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-15"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "height";
					this.minlock = true;
					DL_Set_Label(DAB_TEXT.Height);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_Width" inherits="DAB_SliderTemplate" minValue="1" maxValue="200"  valueStep="1">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_Height" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "width";
					this.minlock = true;
					DL_Set_Label(DAB_TEXT.Width);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-18"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "alpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.TextAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_MAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_Alpha" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "malpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.TextMouseoverAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_BGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-18"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "bgalpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BackgroundAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_MBGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_BGAlpha" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mbgalpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BackgroundMouseoverAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_BordAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-18"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "bordalpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BorderAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_MBordAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_BordAlpha" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mbordalpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BorderMouseoverAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_FontSize" inherits="DAB_SliderTemplate" minValue="1" maxValue="30"  valueStep=".5">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BordAlpha" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-18"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "fontsize";
					this.minlock = true;
					DL_Set_Label(DAB_TEXT.FontSize);
				</OnLoad>
			</Scripts>
		</Slider>
		<Button name="$parent_JustifyH" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="90" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_JUSTIFY_H";
					this.index = "justifyH";
					DL_Set_Label(DAB_TEXT.JustifyH);
					DL_Set_Anchor("_FontSize", 55, 10, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_JustifyV" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="90" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_JUSTIFY_V";
					this.index = "justifyV";
					DL_Set_Label(DAB_TEXT.JustifyV);
					DL_Set_Anchor("_FontSize", 55, -10, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>

		<Frame name="$parent_AnchorFrame" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="100" y="22"/></Size>
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_FontSize" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-25"/></Offset>
				</Anchor>
			</Anchors>
			<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";
				</OnLoad>
			</Scripts>
		</Frame>
		<Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_AnchorFrame" relativePoint="RIGHT">
					<Offset><AbsDimension x="12" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_ANCHORS";
					this.index = "Anchor";
					this.subindex = "point";
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_AnchorPoint" relativePoint="RIGHT"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_ANCHORS";
					this.index = "Anchor";
					this.subindex = "to";
				</OnLoad>
			</Scripts>
		</Button>
		<EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="60" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_AnchorTo" relativePoint="RIGHT">
					<Offset><AbsDimension x="5" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Anchor";
					this.subindex = "x";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="60" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_XOffset" relativePoint="RIGHT">
					<Offset><AbsDimension x="0" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Anchor";
					this.subindex = "y";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<Button name="$parent_TextAnchorPoint" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_AnchorPoint" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_ANCHORS";
					this.index = "TextAnchor";
					this.subindex = "point";
					DL_Set_Label(DAB_TEXT.Text);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_TextAnchorTo" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_TextAnchorPoint" relativePoint="RIGHT"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DL_ANCHORS";
					this.index = "TextAnchor";
					this.subindex = "to";
				</OnLoad>
			</Scripts>
		</Button>
		<EditBox name="$parent_TextXOffset" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="60" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_TextAnchorTo" relativePoint="RIGHT">
					<Offset><AbsDimension x="5" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "TextAnchor";
					this.subindex = "x";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_TextYOffset" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="60" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_TextXOffset" relativePoint="RIGHT">
					<Offset><AbsDimension x="0" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "TextAnchor";
					this.subindex = "y";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>

		<Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1">
			<Anchors>
				<Anchor point="TOP" relativeTo="DAB_CBoxOptions">
					<Offset><AbsDimension x="-30" y="-418"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_NudgeButton_OnLoad();
					this.updateFrame = "DAB_CBoxOptions_Config_YOffset";
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_NudgeDown" inherits="DAB_NudgeTemplate" id="2">
			<Anchors>
				<Anchor point="TOP" relativeTo="DAB_CBoxOptions">
					<Offset><AbsDimension x="-10" y="-418"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_NudgeButton_OnLoad();
					this.updateFrame = "DAB_CBoxOptions_Config_YOffset";
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_NudgeLeft" inherits="DAB_NudgeTemplate" id="3">
			<Anchors>
				<Anchor point="TOP" relativeTo="DAB_CBoxOptions">
					<Offset><AbsDimension x="10" y="-418"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_NudgeButton_OnLoad();
					this.updateFrame = "DAB_CBoxOptions_Config_XOffset";
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_NudgeRight" inherits="DAB_NudgeTemplate" id="4">
			<Anchors>
				<Anchor point="TOP" relativeTo="DAB_CBoxOptions">
					<Offset><AbsDimension x="30" y="-418"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_NudgeButton_OnLoad();
					this.updateFrame = "DAB_CBoxOptions_Config_XOffset";
				</OnLoad>
			</Scripts>
		</Button>

		<Frame name="$parent_BGTexture" 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 = "bgtexture";
					DL_Set_Label(DAB_TEXT.BackgroundTexture);
					DL_Set_Anchor("_AnchorFrame", 0, -45);
				</OnLoad>
			</Scripts>
		</Frame>
		<Frame name="$parent_Font" 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_FONTS_LIST";
					this.editFunc = DAB_FontEditBox_OnEnterPressed;
					this.index = "font";
					DL_Set_Label(DAB_TEXT.Font);
					DL_Set_Anchor("_AnchorFrame", 0, -70);
				</OnLoad>
			</Scripts>
		</Frame>

		<CheckButton name="$parent_HideTop" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_AnchorFrame" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-110"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b1hide";
					DL_Set_Label(DAB_TEXT.Top);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<EditBox name="$parent_WidthTop" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideTop" relativePoint="RIGHT">
					<Offset><AbsDimension x="80" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b1width";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<Frame name="$parent_TextureTop" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="220" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_WidthTop" relativePoint="RIGHT"/>
			</Anchors>
			<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 = "b1texture";
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_HideBottom" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_HideTop" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b2hide";
					DL_Set_Label(DAB_TEXT.Bottom);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<EditBox name="$parent_WidthBottom" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideBottom" relativePoint="RIGHT">
					<Offset><AbsDimension x="80" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b2width";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<Frame name="$parent_TextureBottom" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="220" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_WidthBottom" relativePoint="RIGHT"/>
			</Anchors>
			<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 = "b2texture";
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_HideLeft" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_HideBottom" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b3hide";
					DL_Set_Label(DAB_TEXT.Left);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<EditBox name="$parent_WidthLeft" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideLeft" relativePoint="RIGHT">
					<Offset><AbsDimension x="80" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b3width";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<Frame name="$parent_TextureLeft" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="220" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_WidthLeft" relativePoint="RIGHT"/>
			</Anchors>
			<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 = "b3texture";
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_HideRight" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_HideLeft" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b4hide";
					DL_Set_Label(DAB_TEXT.Right);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<EditBox name="$parent_WidthRight" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideRight" relativePoint="RIGHT">
					<Offset><AbsDimension x="80" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "b4width";
					this.number = true;
				</OnLoad>
			</Scripts>
		</EditBox>
		<Frame name="$parent_TextureRight" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="220" y="22"/></Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_WidthRight" relativePoint="RIGHT"/>
			</Anchors>
			<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 = "b4texture";
				</OnLoad>
			</Scripts>
		</Frame>
	</Frames>
	<Layers>
		<Layer level="OVERLAY">
			<FontString name="$parent_AnchorLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="50" y="-317"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_AnchorPointLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="152" y="-317"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_AnchorToLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="233" y="-317"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString inherits="GameFontNormal" text="X">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="300" y="-317"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString inherits="GameFontNormal" text="Y">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="360" y="-317"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_HideLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="12" y="-450"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_BorderLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="66" y="-450"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_WidthLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="120" y="-450"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_TextureLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPLEFT">
						<Offset><AbsDimension x="255" y="-450"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
</Frame>

<Frame name="DAB_CBoxOptions_Control" hidden="true" parent="DAB_CBoxOptions" frameStrata="MEDIUM">
	<Size><AbsDimension x="10" y="10"/></Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset><AbsDimension x="0" y="-50"/></Offset>
		</Anchor>
	</Anchors>
	<Frames>
		<Button name="$parent_Group" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_ScrollMenu";
					this.table = "DAB_GROUPS";
					this.index = "group";
					DL_Set_Label(DAB_TEXT.ControlledGroup);
					DL_Set_Anchor("", 0, 0, "TOPLEFT", "TOPLEFT");
				</OnLoad>
			</Scripts>
		</Button>
		<Frame name="$parent_CBGroup" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="80" 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";
					DL_Set_Label(DAB_TEXT.ControlBoxGroup);
					DL_Set_Anchor("", 0, -25, "TOPLEFT", "TOPLEFT");
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_OnClick" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="0" y="-55"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "onclick";
					DL_Set_Label(DAB_TEXT.ToggleGroupOnClick);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_OnMouseover" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_OnClick" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-40"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "onmouseover";
					DL_Set_Label(DAB_TEXT.ToggleGroupOnMouseover);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Slider name="$parent_Delay" inherits="DAB_SliderTemplate" minValue="0" maxValue="1"  valueStep=".1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_OnMouseover" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-15"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "delay";
					this.minlock = true;
					DL_Set_Label(DAB_TEXT.MouseoutDelay);
				</OnLoad>
			</Scripts>
		</Slider>
		<EditBox name="$parent_HideGroups" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="200" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "hidegroups";
					DL_Set_Label(DAB_TEXT.HideGroups);
					DL_Set_Anchor("_OnClick", 0, 0);
				</OnLoad>
			</Scripts>
		</EditBox>
		<CheckButton name="$parent_OnRightClick" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Delay" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-30"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "onrightclick";
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_RCGroup" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_ScrollMenu";
					this.table = "DAB_GROUPS";
					this.index = "rcgroup";
					DL_Set_Label(DAB_TEXT.ToggleGroupOnRightClick);
					DL_Set_Anchor("_OnRightClick", 0, 0, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>
		<CheckButton name="$parent_OnMiddleClick" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_OnRightClick" relativePoint="BOTTOMLEFT"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "onmiddleclick";
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_MCGroup" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="80" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_ScrollMenu";
					this.table = "DAB_GROUPS";
					this.index = "mcgroup";
					DL_Set_Label(DAB_TEXT.ToggleGroupOnMiddleClick);
					DL_Set_Anchor("_OnMiddleClick", 0, 0, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>
		<CheckButton name="$parent_ChangePage" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_OnMiddleClick" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "changePage";
					DL_Set_Label(DAB_TEXT.ControlBarPage);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_PageControlBar" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="75" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DAB_NUMBERS";
					this.index = "changePageBar";
					this.initFunc = DAB_Change_PageControlBar;
					DL_Set_Label(DAB_TEXT.Bar);
					DL_Set_Anchor("_ChangePage", 0, 0);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_PageControlType" 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 = "DAB_PAGE_CONTROLS";
					this.index = "changePageType";
					this.initFunc = DAB_Change_PageControlType;
					DL_Set_Label("");
					DL_Set_Anchor("_ChangePage", 0, -25);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_PageControlPage" inherits="DiscordLib_MenuControlTemplate">
			<Size><AbsDimension x="75" y="22"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "DAB_DropMenu";
					this.table = "DAB_CONTROL_PAGES";
					this.index = "changePagePage";
					DL_Set_Label("");
					DL_Set_Anchor("_PageControlType", 0, 0, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</Button>
		<CheckButton name="$parent_DisplayPage" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_ChangePage" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-50"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "displayPage";
					DL_Set_Label(DAB_TEXT.DisplayBarPage);
				</OnLoad>
			</Scripts>
		</CheckButton>
	</Frames>
</Frame>

</Ui>