<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_OtherBarOptions" 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_Hide" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="0" y="-30"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hide";
					DL_Set_Label(DAB_TEXT.Hide);
				</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("", 150, -30, "TOPLEFT", "TOPLEFT");
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_Mouseover" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "mouseover";
					DL_Set_Label(DAB_TEXT.ShowOnMouseover);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_Layout" 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_LAYOUTS";
					this.index = "layout";
					DL_Set_Label(DAB_TEXT.Layout);
					DL_Set_Anchor("_Mouseover", 0, 0);
				</OnLoad>
			</Scripts>
		</Button>
		<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("_Mouseover", 0, -25);
				</OnLoad>
			</Scripts>
		</Button>
		<Slider name="$parent_Scale" inherits="DAB_SliderTemplate" minValue="25" maxValue="200"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Mouseover" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-65"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "scale";
					this.minlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.Scale);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_Scale" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "alpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.Alpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_HSpacing" inherits="DAB_SliderTemplate" minValue="-10" maxValue="50"  valueStep=".5">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_Scale" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hspacing";
					DL_Set_Label(DAB_TEXT.SpacingH);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_VSpacing" inherits="DAB_SliderTemplate" minValue="-10" maxValue="50"  valueStep=".5">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT">
					<Offset><AbsDimension x="70" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "vspacing";
					DL_Set_Label(DAB_TEXT.SpacingV);
				</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("_HSpacing", 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("_HSpacing", 0, -42);
				</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("_HSpacing", 0, -64);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="299" y="-220"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					DL_NudgeButton_OnLoad();
					this.updateFrame = "DAB_OtherBarOptions_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_OtherBarOptions_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_OtherBarOptions_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_OtherBarOptions_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;
					this.settingType = "Location";
					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:");
					this.settingType = "Location";
					DL_Set_Anchor("_NudgeDown", 0, -5, "TOPLEFT", "BOTTOM");
				</OnLoad>
			</Scripts>
		</EditBox>

		<Button name="$parent_PresetBackdrops" 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_BACKDROPS";
					this.initFunc = DAB_Load_PresetBackdrop;
					DL_Set_Label(DAB_TEXT.PresetBackdrops);
					DL_Set_Anchor("", 225, -300, "TOPLEFT", "TOPLEFT", 1);
				</OnLoad>
			</Scripts>
		</Button>
		<CheckButton name="$parent_HideBackdrop" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="0" y="-320"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "hide";
					DL_Set_Label(DAB_TEXT.HideBackdrop);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_BGColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_HideBackdrop" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="4"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Background"
					this.subindex = "color";
					DL_Set_Label(DAB_TEXT.BackgroundColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_BorderColor" 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 = "Background"
					this.subindex = "bcolor";
					DL_Set_Label(DAB_TEXT.BorderColor);
				</OnLoad>
			</Scripts>
		</Button>
		<Slider name="$parent_BGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "alpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BackgroundAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "balpha";
					this.minlock = true;
					this.maxlock = true;
					this.scale = 100;
					DL_Set_Label(DAB_TEXT.BorderAlpha);
				</OnLoad>
			</Scripts>
		</Slider>
		<Frame name="$parent_BGTexture" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="225" 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 = "Background";
					this.subindex = "texture";
					DL_Set_Label(DAB_TEXT.BackgroundTexture);
					DL_Set_Anchor("_BorderAlpha", 0, -5);
				</OnLoad>
			</Scripts>
		</Frame>
		<Frame name="$parent_BorderTexture" inherits="DiscordLib_EditMenuControlTemplate">
			<Size><AbsDimension x="225" 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 = "Background";
					this.subindex = "btexture";
					DL_Set_Label(DAB_TEXT.BorderTexture);
					DL_Set_Anchor("_BorderAlpha", 0, -28);
				</OnLoad>
			</Scripts>
		</Frame>
		<CheckButton name="$parent_TileOpt" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideBackdrop" relativePoint="RIGHT">
					<Offset><AbsDimension x="160" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "tile";
					DL_Set_Label(DAB_TEXT.Tile);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<EditBox name="$parent_TileSize" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "tileSize";
					this.number = true;
					DL_Set_Label(DAB_TEXT.TileSize);
					DL_Set_Anchor("_TileOpt", 0, 0);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_EdgeSize" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "edgeSize";
					this.number = true;
					DL_Set_Label(DAB_TEXT.EdgeSize);
					DL_Set_Anchor("_TileSize", 0, 0, "LEFT", "RIGHT");
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_InsetLeft" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "left";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Left);
					DL_Set_Anchor("_TileOpt", 2, -33);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_InsetRight" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "right";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Right);
					DL_Set_Anchor("_TileOpt", 1, -52);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_InsetTop" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "top";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Top);
					DL_Set_Anchor("_TileOpt", 100, -33);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_InsetBottom" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "bottom";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Bottom);
					DL_Set_Anchor("_TileOpt", 100, -52);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_PadLeft" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "leftpadding";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Left);
					DL_Set_Anchor("_TileOpt", 2, -87);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_PadRight" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "rightpadding";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Right);
					DL_Set_Anchor("_TileOpt", 1, -106);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_PadTop" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "toppadding";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Top);
					DL_Set_Anchor("_TileOpt", 100, -87);
				</OnLoad>
			</Scripts>
		</EditBox>
		<EditBox name="$parent_PadBottom" inherits="DAB_EditBoxTemplate">
			<Size><AbsDimension x="50" y="24"/></Size>
			<Scripts>
				<OnLoad>
					this.index = "Background";
					this.subindex = "bottompadding";
					this.number = true;
					DL_Set_Label(DAB_TEXT.Bottom);
					DL_Set_Anchor("_TileOpt", 100, -106);
				</OnLoad>
			</Scripts>
		</EditBox>

		<CheckButton name="$parent_CooldownCount" inherits="DAB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-65"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "cooldownCount";
					DL_Set_Label(DAB_TEXT.ShowCooldownCount);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_HideGlobal" 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";
					DL_Set_Label(DAB_TEXT.HideGlobalCooldownCount);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Button name="$parent_CCColor" inherits="DAB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-25"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Cooldown";
					this.subindex = "color";
				</OnLoad>
			</Scripts>
		</Button>
		<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>
	</Frames>
	<Layers>
		<Layer level="OVERLAY">
			<FontString name="$parent_InsetsLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset><AbsDimension x="186" y="-367"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString name="$parent_PaddingLabel" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset><AbsDimension x="186" y="-418"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
	<Scripts>
		<OnLoad>
			this:EnableMouseWheel(1);
		</OnLoad>
		<OnMouseWheel>
			DAB_OtherBarOptions_OnMouseWheel(arg1);
		</OnMouseWheel>
	</Scripts>
</Frame>

</Ui>