<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="GPSArrow.lua"/>
	<Frame name="BattlefieldMapFlagTemplate" inherits="WorldMapFlagTemplate" virtual="true">
		<Size x="18" y="18" />
	</Frame>
	<Frame name="GPSArrow" parent="UIParent" frameStrata="BACKGROUND" frameLevel="10" hidden="true">
		<Size x="225" y="20"/>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
	
				<Texture name="GPSArrow1">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow2">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow1" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow3">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow2" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow4">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow3" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow5">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow1" relativePoint="BOTTOMLEFT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow6">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow5" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow7">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow6" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow8">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow7" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow9">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow5" relativePoint="BOTTOMLEFT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow10">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow9" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow11">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow10" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="GPSArrow12">
					<Size x="56" y="56"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GPSArrow11" relativePoint="TOPRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
	

		</Layers>
		<Frames>
			<UnitPositionFrame name="GPSArrowUnitPositionFrame" inherits="UnitPositionFrameTemplate">
			</UnitPositionFrame>
			
			<Button name="GPSArrowTab"  visible="true" frameStrata="LOW" alpha="0" parent="UIParent" movable="true">
				<Size x="64" y="32"/>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentLeft" file="Interface\ChatFrame\ChatFrameTab">
							<Size x="16" y="32"/>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0.0" right="0.25" top="0.0" bottom="1.0"/>
						</Texture>
						<Texture name="$parentMiddle" file="Interface\ChatFrame\ChatFrameTab">
							<Size x="44" y="32"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.25" right="0.75" top="0.0" bottom="1.0"/>
						</Texture>
						<Texture name="$parentRight" file="Interface\ChatFrame\ChatFrameTab">
							<Size x="16" y="32"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.75" right="1.0" top="0.0" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="$parentFlash" hidden="true">
						<Size x="5" y="32"/>
						<Anchors>
							<Anchor point="LEFT" relativeTo="$parentLeft" x="0" y="-7"/>
							<Anchor point="RIGHT" relativeTo="$parentRight" x="0" y="-7"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" setAllPoints="true"/>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
						<Anchors>
							<Anchor point="TOP" x="-80" y="-35"/>
						</Anchors>
					</Frame>
				</Frames>
				<Scripts>
					<OnLoad>
						self:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonUp");
						self:RegisterForDrag("LeftButton");
					</OnLoad>
					<OnShow>
						PanelTemplates_TabResize(self, -4);
					</OnShow>
				</Scripts>
				<ButtonText name="$parentText" text="Zone Map">
					<Size x="0" y="8"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" x="0" y="-5"/>
					</Anchors>
				</ButtonText>
				<NormalFont style="GameFontNormalSmall"/>
				<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft" x="0" y="-7"/>
						<Anchor point="RIGHT" relativeTo="$parentRight" x="0" y="-7"/>
					</Anchors>
				</HighlightTexture>
			</Button>
			
		</Frames>
	</Frame>

    <Frame name="GPSArrowBorder" inherits="BackdropTemplate">

    </Frame>

    <Frame name="GPSArrowIcon"  hidden="true">
        <Layers>
            <Layer level="BACKGROUND">
                <Texture  parentKey="Texture"   file="Interface\BattlefieldFrame\UI-BattlefieldMinimap-Border">
                    <Anchors>
                        <Anchor relativeTo="GPSArrowBorder" point="CENTER" x="0" y="0"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>  
	
    <Frame name="GPSArrowBackground">
        <Layers>
            <Layer level="OVERLAY">
                <Texture  parentKey="Texture"  >
                      <Color a="1.0" r="0" g="0" b="0" />
                    <Anchors>
                        <Anchor relativeTo="GPSArrow" point="TOP" x="0" y="0"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>
    
</Ui>
