<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Script file="TicTacToeFrame.lua"/>
	<Button name="TicTacToeFrameButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="90" y="90"/>
		</Size>
		<Scripts>
			<OnClick>
				MakeMinigameMove(0,self:GetID());
			</OnClick>
		</Scripts>
	</Button>
	<Frame name="TicTacToeFrame" parent="MinigameFrame" hidden="true">
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="TicTacToeFramePortrait">
					<Size>
						<AbsDimension x="60" y="60"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-6"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="TicTacToeFrameTitleText" inherits="GameFontHighlight" text="DRESSUP_FRAME">
					<Size>
						<AbsDimension x="300" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOP" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-17"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="TicTacToeFrameDescriptionText" inherits="GameFontNormalSmall" text="DRESSUP_FRAME_INSTRUCTIONS">
					<Size>
						<AbsDimension x="260" y="36"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="TicTacToeFrameTitleText" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="10" y="-22"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="TicTacToeFrameTopLeft" file="Interface\TicTacToeFrame\TicTacToe-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="20" y="-90"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture file="Interface\TicTacToeFrame\TicTacToe-TopRight">
					<Size>
						<AbsDimension x="64" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameTopLeft" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\TicTacToeFrame\TicTacToe-BottomLeft">
					<Size>
						<AbsDimension x="256" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameTopLeft" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\TicTacToeFrame\TicTacToe-BottomRight">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameTopLeft" relativePoint="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="TicTacToeFrameButton1" inherits="TicTacToeFrameButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameTopLeft">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton2" inherits="TicTacToeFrameButtonTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton1" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton3" inherits="TicTacToeFrameButtonTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton2" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton4" inherits="TicTacToeFrameButtonTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton5" inherits="TicTacToeFrameButtonTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton4" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton6" inherits="TicTacToeFrameButtonTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton5" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton7" inherits="TicTacToeFrameButtonTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton8" inherits="TicTacToeFrameButtonTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton7" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TicTacToeFrameButton9" inherits="TicTacToeFrameButtonTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TicTacToeFrameButton8" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
	</Frame>
</Ui>