<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/ D:\UI.xsd">

	<!-- UNUSED ?? -->

	<Button name="ZygorGuidesViewerMapSpotMinimapMarker" virtual="true" hidden="false" movable="false" enableMouse="true">
		<Size x="20" y="20"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="icon" file="Interface\AddOns\ZygorGuidesViewer\Skin\arrow-dot">
					<Size x="12" y="12"/>
					<Anchors><Anchor point="CENTER" relativePoint="CENTER" /></Anchors>
				</Texture>
				<Texture parentKey="arrow" hidden="true" file="Interface\AddOns\ZygorGuidesViewer\Skin\arrow-edge">
					<Size x="40" y="40"/>
					<Anchors><Anchor point="CENTER" relativePoint="CENTER" /></Anchors>
				</Texture>
			</Layer>
		</Layers>

		<Scripts>
			<OnLoad> self:RegisterForClicks("LeftButtonUp") self:RegisterEvent("PLAYER_ENTERING_WORLD")</OnLoad>
			<OnEnter> ZGV.MapSpot.MinimapButton_OnEnter(self) </OnEnter>
			<OnLeave> ZGV.MapSpot.MinimapButton_OnLeave(self) </OnLeave>
			<OnUpdate>ZGV.MapSpot.MinimapButton_OnUpdate(self,elapsed) </OnUpdate>
			<OnClick> ZGV.MapSpot.MinimapButton_OnClick(self,button) </OnClick>
			<OnEvent> ZGV.MapSpot.MinimapButton_OnEvent(self,event,...) </OnEvent>
		</Scripts>
	</Button>

	<Button name="ZygorGuidesViewerMapSpotWorldMapMarker" virtual="true" hidden="false" movable="false" enableMouse="true">
		<Size x="25" y="25"/>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="icon" name="$parentIcon" file="Interface\AddOns\ZygorGuidesViewer\Skin\arrow-dot" setAllPoints="true" >
					<!--
					<Anchors><Anchor point="CENTER" relativePoint="CENTER" /></Anchors>
					<Size x="25" y="25"/>
					-->
				</Texture>
			</Layer>
		</Layers>

		<Scripts>
			<OnLoad> self:RegisterForClicks("RightButtonUp","LeftButtonUp") self:RegisterEvent("PLAYER_ENTERING_WORLD") self:RegisterEvent("WORLD_MAP_UPDATE") </OnLoad>
			<OnEnter> ZGV.MapSpot.MinimapButton_OnEnter(self) </OnEnter>
			<OnLeave> ZGV.MapSpot.MinimapButton_OnLeave(self) </OnLeave>
			<OnClick> ZGV.MapSpot.MinimapButton_OnClick(self,button) </OnClick>
			<OnEvent> ZGV.MapSpot.WorldMapButton_OnEvent(self,event,...) </OnEvent>
		</Scripts>

	</Button>

</Ui>