<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<CheckButton name="AutoBarConfigSlotFrameButtonTemplate" inherits="AutoBarConfigButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				this:SetChecked(0);
				AutoBarConfigSlot:ButtonOnClick(arg1)
			</OnClick>
			<OnDragStart>
				AutoBarConfigSlot.ButtonOnDragStart();
			</OnDragStart>
			<OnReceiveDrag>
				AutoBarConfigSlot.ButtonOnReceiveDrag();
			</OnReceiveDrag>
			<OnEnter>
				if (AutoBarConfigSlot.editable and not AutoBar.dragging and not CursorHasItem()) then
					SetCursor("CAST_CURSOR");
				end
				AutoBarConfig:ButtonSetTooltip();
			</OnEnter>
			<OnLeave>
				if (AutoBarConfigSlot.editable and not AutoBar.dragging and not CursorHasItem()) then
					SetCursor(nil);
				end
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</CheckButton>
	<CheckButton name="AutoBarConfigSlotFrame_SlotOptionTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				AutoBarConfigSlot:OnCheck();
			</OnClick>
		</Scripts>
	</CheckButton>
	<Frame name="AutoBarConfigSlotFrame" toplevel="true" frameStrata="MEDIUM" hidden="true" parent="AutoBarConfigFrame" enableMouse="true">
		<Size>
			<AbsDimension x="640" y="480"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent"/>
		</Anchors>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="448" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentTitleText" inherits="GameFontNormal" text="BINDING_HEADER_AUTOBAR_SEP">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentViewText" inherits="GameFontNormal" text="AUTOBAR_CONFIG_VIEWTEXT">
					<Anchors>
						<Anchor point="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName().."ViewText"):SetText(AUTOBAR_CONFIG_VIEWTEXT);
			</OnLoad>
			<OnHide>
				AutoBarChooseCategoryFrame:Hide();
				AutoBarConfig.OnShow();
			</OnHide>
		</Scripts>
		<Frames>
			<CheckButton name="$parent_Button1" inherits="AutoBarConfigSlotFrameButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="60" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button2" inherits="AutoBarConfigSlotFrameButtonTemplate" id="2">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button1">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button3" inherits="AutoBarConfigSlotFrameButtonTemplate" id="3">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button2">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button4" inherits="AutoBarConfigSlotFrameButtonTemplate" id="4">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button3">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button5" inherits="AutoBarConfigSlotFrameButtonTemplate" id="5">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button4">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button6" inherits="AutoBarConfigSlotFrameButtonTemplate" id="6">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button5">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button7" inherits="AutoBarConfigSlotFrameButtonTemplate" id="7">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button6">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button8" inherits="AutoBarConfigSlotFrameButtonTemplate" id="8">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button7">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button9" inherits="AutoBarConfigSlotFrameButtonTemplate" id="9">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Button1">
						<Offset>
							<AbsDimension x="200" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button10" inherits="AutoBarConfigSlotFrameButtonTemplate" id="10">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button9">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button11" inherits="AutoBarConfigSlotFrameButtonTemplate" id="11">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button10">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button12" inherits="AutoBarConfigSlotFrameButtonTemplate" id="12">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button11">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button13" inherits="AutoBarConfigSlotFrameButtonTemplate" id="13">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button12">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button14" inherits="AutoBarConfigSlotFrameButtonTemplate" id="14">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button13">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button15" inherits="AutoBarConfigSlotFrameButtonTemplate" id="15">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button14">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parent_Button16" inherits="AutoBarConfigSlotFrameButtonTemplate" id="16">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Button15">
						<Offset>
							<AbsDimension x="0" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<Button name="$parentEmptySlotButton" inherits="UIPanelButtonTemplate" text="AUTOBAR_CONFIG_EMPTYSLOT">
				<Size>
					<AbsDimension x="100" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="15" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AutoBarConfigSlot:EmptySlotButtonOnClick();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentClearSlotButton" inherits="UIPanelButtonTemplate" text="AUTOBAR_CONFIG_CLEARSLOT">
				<Size>
					<AbsDimension x="100" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentEmptySlotButton"/>
				</Anchors>
				<Scripts>
					<OnClick>
						AutoBarConfigSlot:ClearSlotButtonOnClick();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentDoneButton" inherits="UIPanelButtonTemplate" text="AUTOBAR_CONFIG_DONE">
				<Size>
					<AbsDimension x="131" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-15" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						this:GetParent():Hide();
					</OnClick>
				</Scripts>
			</Button>
			<CheckButton name="$parentNoPopup" inherits="AutoBarConfigSlotFrame_SlotOptionTemplate">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="$parentEmptySlotButton">
						<Offset>
							<AbsDimension x="0" y="10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parentArrangeOnUse" inherits="AutoBarConfigSlotFrame_SlotOptionTemplate">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentNoPopup">
						<Offset>
							<AbsDimension x="150" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="$parentRightClickTargetsPet" inherits="AutoBarConfigSlotFrame_SlotOptionTemplate">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentArrangeOnUse">
						<Offset>
							<AbsDimension x="150" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
		</Frames>
	</Frame>
</Ui>
