<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">
	
	<Script file="Menu.lua"/>
	
	<!-- checkbox -->
	<CheckButton name="BagnonForeverMenuNameBox" virtual="true">
		<Size>
			<AbsDimension x="140" y="24"/>
		</Size>

		<NormalText inherits="GameFontNormalLarge">
			<Anchors>
				<Anchor point="LEFT" relativePoint="LEFT">
					<Offset>
						<AbsDimension x="24" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
		
		<HighlightText inherits="GameFontHighlightLarge">
			<Anchors>
				<Anchor point="LEFT" relativePoint="LEFT">
					<Offset>
						<AbsDimension x="24" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightText>
		
		
		<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check">
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
					<Offset>
						<AbsDimension x="0" y="0"/>
					</Offset>
				</Anchor>
				<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
					<Offset>
						<AbsDimension x="24" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</CheckedTexture>

		<Scripts>
			<OnClick>
				BagnonForeverMenu_ChangeCharacter(this:GetText());
			</OnClick>
			<OnHide>
				BagnonForeverMenu:SetParent(UIParent);
			</OnHide>
		</Scripts>
	</CheckButton>
	
	<!-- 
		The left-click menu :)
	-->
	
	<Button name="BagnonForeverMenu" enableMouse="true" toplevel="true" parent="UIParent" hidden="true">
	
		<Size>
			<AbsDimension x="160" y="236"/>
		</Size>
		
		<Backdrop bgFile="Interface\CharacterFrame\UI-Party-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">
				<FontString name="$parentText" inherits="GameFontHighlightLarge" text="Characters">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		
		<Frames>
			<!-- checkbox -->
			<CheckButton name="$parent1" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentText" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="-24" y="2"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent2" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent1" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent3" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent2" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent4" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent3" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent5" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent4" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent6" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent5" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent7" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent6" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent8" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent7" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent9" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent8" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			
			<CheckButton name="$parent10" inherits="BagnonForeverMenuNameBox">
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent9" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
		</Frames>
	</Button>
</Ui>