<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="QuestPOI.lua"/>
	
	<Button name="QuestPOINumericTemplate" hidden="true" virtual="true">
		<Size x="20" y="20"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="Glow" file="Interface\WorldMap\UI-QuestPoi-IconGlow.tga" alphaMode="ADD" hidden="true">
					<Size x="50" y="50"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>				
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="1">
				<Texture parentKey="Number" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnMouseDown function="QuestPOIButton_OnMouseDown"/>
			<OnMouseUp function="QuestPOIButton_OnMouseUp"/>
			<OnClick function="QuestPOIButton_OnClick"/>
		</Scripts>
		<NormalTexture parentKey="NormalTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga">
			<Size x="32" y="32"/>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>	
			<TexCoords left="0.875" right="1" top="0.875" bottom="1"/>
		</NormalTexture>
		<HighlightTexture parentKey="HighlightTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="ADD">
			<Size x="32" y="32"/>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>
			<TexCoords left="0.625" right=".750" top="0.375" bottom="0.5"/>
		</HighlightTexture>
		<PushedTexture parentKey="PushedTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="BLEND">
			<Size x="32" y="32"/>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>			
			<TexCoords left="0.750" right=".875" top="0.875" bottom="1"/>
		</PushedTexture>
	</Button>
	<Button name="QuestPOICompletedTemplate" hidden="true" virtual="true">
		<Size x="20" y="20"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="Glow" file="Interface\WorldMap\UI-QuestPoi-IconGlow.tga" alphaMode="ADD" hidden="true">
					<Size x="50" y="50"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="1">
				<Texture parentKey="Icon" file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga">
					<Size x="24" y="24"/>
					<Anchors>
						<Anchor point="CENTER" x="-1" y="0"/>
					</Anchors>
					<TexCoords left="0.0" right="0.50" top="0.0" bottom="0.50"/>
				</Texture>
			</Layer>
			<Layer level="HIGHLIGHT">
				<Texture parentKey="FullHighlightTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="ADD">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
					<TexCoords left="0.625" right=".750" top="0.375" bottom="0.5"/>
				</Texture>
				<Texture parentKey="IconHighlightTexture" file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga" hidden="true">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="CENTER" relativeKey="$parent.Icon"/>
					</Anchors>
					<TexCoords left="0.5" right="1" top="0.0" bottom="0.5"/>
				</Texture>				
			</Layer>
		</Layers>
		<Scripts>
			<OnMouseDown function="QuestPOIButton_OnMouseDown"/>
			<OnMouseUp function="QuestPOIButton_OnMouseUp"/>
			<OnClick function="QuestPOIButton_OnClick"/>			
		</Scripts>
		<NormalTexture parentKey="NormalTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga">
			<Size x="32" y="32"/>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>			
			<TexCoords left="0.875" right="1" top="0.875" bottom="1"/>
		</NormalTexture>
		<PushedTexture parentKey="PushedTexture" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="BLEND">
			<Size x="32" y="32"/>
			<Anchors>
				<Anchor point="CENTER"/>
			</Anchors>		
			<TexCoords left="0.750" right=".875" top="0.875" bottom="1"/>
		</PushedTexture>		
	</Button>
</Ui>