<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">
	<Script file="AQAutoMount.lua"/>
	<GameTooltip name="AQAutoMountTooltip" inherits="GameTooltipTemplate" hidden="true"/>
	<Frame name="AQAutoMountFrame" parent="UIParent" toplevel="true" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="300" y="96"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-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="360" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="AQMOUNT_TITLE">
					<Anchors>
						<Anchor point="TOP" relativeTo="$parentHeader">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentColorPref" inherits="GameFontHighlight" text="AQMOUNT_COLORPREF">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="5" y="-35"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentOverride" inherits="GameFontHighlight" text="AQMOUNT_OVERRIDE">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="5" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-3" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>	
						PlaySound("gsTitleOptionExit");
						HideUIPanel(this:GetParent());
					</OnClick>
				</Scripts>
			</Button>
			<Frame name="$parentColorDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentColorPref">
						<Offset>
							<AbsDimension x="-15" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						AQMount_ColorDropDown_OnLoad();
					</OnLoad>
					<OnShow>
						AQMount_ColorDropDown_OnLoad();
					</OnShow>
				</Scripts>
			</Frame>
			<CheckButton name="$parentDisabledCB">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentOverride" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
				<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							PlaySound("igMainMenuOptionCheckBoxOff");
						else
							PlaySound("igMainMenuOptionCheckBoxOn");
						end
						AQMount_DisableCB()
					</OnClick>
					<OnShow>
						this:SetChecked( AQAutoMount_Saved.disable );
					</OnShow>
				</Scripts>
			</CheckButton>
		</Frames>
		<Scripts>
			<OnLoad>
				AQMount_OnLoad();
			</OnLoad>
			<OnEvent>
				AQMount_OnEvent();
			</OnEvent>
			<OnShow>
				PlaySound("gsTitleOptionOK");
			</OnShow>
		</Scripts>
	</Frame>
</Ui>