<!-- $Id: AtlasTemplates.xml 91 2016-09-02 17:56:36Z arith $ -->
<!--

	Atlas, a World of Warcraft instance map browser
	Copyright 2005 ~ 2010 - Dan Gilbert <dan.b.gilbert@gmail.com>
	Copyright 2010 - Lothaer <lothayer@gmail.com>, Atlas Team
	Copyright 2011 ~ 2016 - Arith Hsu, Atlas Team <atlas.addon@gmail.com>

	This file is part of Atlas.

	Atlas is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	Atlas is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with Atlas; if not, write to the Free Software
	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->

<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">

	<Button name="AtlasEntryTemplate" hidden="true" virtual="true" toplevel="false">
		<Size>
			<AbsDimension x="440" y="15" />
		</Size>
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="$parent_Text" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
					<Size>
						<AbsDimension x="440" y="15" />
					</Size>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnUpdate>
				AtlasEntryTemplate_OnUpdate(self);
			</OnUpdate>
			<OnLeave>
				GameTooltip:Hide();
				GameTooltip:SetScale(ATLAS_GAMETOOLTIP_ORIGINAL_SCALE);
			</OnLeave>
			<OnClick>
				AtlasEntry_OnClick(self);
			</OnClick>
		</Scripts>
	</Button>

	<Button name="AtlasMapButtonTemplate" virtual="true">
		<Scripts>
			<OnEnter>
				if (self.tooltipTitle) then
					GameTooltip:SetOwner(self, "ANCHOR_LEFT");
					GameTooltip:SetBackdropColor(0, 0, 0, 1 * AtlasOptions["AtlasAlpha"]);
					GameTooltip:SetText(self.tooltipTitle, 1, 1, 1, nil, 1);
					GameTooltip:AddLine(self.tooltipText, nil, nil, nil, true);
					if (self.overviewDescription) then
						GameTooltip:AddLine("\n"..OVERVIEW, 1, 1, 1, 1)
						GameTooltip:AddLine(self.overviewDescription, nil, nil, nil, 1);
					end
					GameTooltip:SetScale(AtlasOptions["AtlasBossDescScale"] * AtlasOptions["AtlasScale"]);
					GameTooltip:Show();
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				GameTooltip:SetScale(ATLAS_GAMETOOLTIP_ORIGINAL_SCALE);
			</OnLeave>
			<OnShow>
				self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10);
			</OnShow>
			<OnClick>
				Atlas_AdventureJournal_EncounterButton_OnClick(self.encounterID);
			</OnClick>
		</Scripts>
	</Button>
	<Button name="AtlasMapNPCButtonTemplate" inherits="AtlasMapButtonTemplate" virtual="true">
		<Size x="12" y="12"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentImage" parentKey="bgImage">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="-5" y="5"/>
					</Anchors>
				</Texture>
				<Texture name="$parentTaxiImage" parentKey="TaxiImage">
					<Size x="20" y="20"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<HighlightTexture name="$parentTaxiImageHightlight" parentKey="TaxiHighlight" alphaMode="ADD" setAllPoints="true">
					<Size x="20" y="20"/>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</HighlightTexture>
				<Texture name="$parentLImage" parentKey="LetterImage">
					<Size x="20" y="20"/>
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
	</Button>

	<Button name="AtlasFrameBossButtonTemplate" inherits="AtlasMapButtonTemplate" virtual="true">
		<Size x="50" y="49"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentbgImage" parentKey="bgImage">
					<Size x="36" y="36"/>
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<NormalTexture file="Interface\EncounterJournal\UI-EncounterJournalTextures">
			<TexCoords left="0.84960938" right="0.97070313" top="0.42871094" bottom="0.48828125"/>
		</NormalTexture>
		<PushedTexture file="Interface\EncounterJournal\UI-EncounterJournalTextures">
			<TexCoords left="0.77734375" right="0.89843750" top="0.26953125" bottom="0.32910156"/>
		</PushedTexture>
		<HighlightTexture file="Interface\EncounterJournal\UI-EncounterJournalTextures">
			<TexCoords left="0.68945313" right="0.81054688" top="0.33300781" bottom="0.39257813"/>
		</HighlightTexture>
	</Button>

	<!-- Atlas Marks - Letters1 -->
	<Texture name="Atlas_Letter_Blue_A" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>
		<TexCoords left="0.00000000" right="0.15625000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_B" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>
		<TexCoords left="0.15625000" right="0.31250000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_C" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.31250000" right="0.46875000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_D" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.46875000" right="0.62500000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_E" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.62500000" right="0.78125000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_F" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.78125000" right="0.93750000" top="0.00000000" bottom="0.15625000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_G" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.00000000" right="0.15625000" top="0.15625000" bottom="0.3125000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_H" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.15625000" right="0.31250000" top="0.15625000" bottom="0.3125000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_I" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.31250000" right="0.46875000" top="0.15625000" bottom="0.3125000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_J" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>	
		<TexCoords left="0.46875000" right="0.62500000" top="0.15625000" bottom="0.3125000"/>	
	</Texture>
	<Texture name="Atlas_Letter_Blue_K" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000"  right="0.78125000"  top="0.15625000"  bottom="0.31250000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_L" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.78125000"  right="0.93750000"  top="0.15625000"  bottom="0.31250000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_M" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.00000000"  right="0.15625000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_N" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.15625000"  right="0.31250000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_O" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.31250000"  right="0.46875000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_P" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.46875000"  right="0.62500000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_Q" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000"  right="0.78125000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_R" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.78125000"  right="0.93750000"  top="0.31250000"  bottom="0.46875000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_S" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.00000000"  right="0.15625000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_T" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.15625000"  right="0.31250000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_U" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.31250000"  right="0.46875000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Blue_V" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.46875000"  right="0.62500000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_A" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000"  right="0.78125000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_B" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.78125000"  right="0.93750000"  top="0.46875000"  bottom="0.62500000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_C" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.00000000"  right="0.15625000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_D" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.15625000"  right="0.31250000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_E" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.31250000"  right="0.46875000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_F" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.46875000"  right="0.62500000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_G" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000"  right="0.78125000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_H" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.78125000"  right="0.93750000"  top="0.62500000"  bottom="0.78125000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_I" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.00000000"  right="0.15625000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_J" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.15625000"  right="0.31250000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_K" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.31250000"  right="0.46875000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_L" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.46875000"  right="0.62500000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_M" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000"  right="0.78125000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>
	<Texture name="Atlas_Letter_Purple_N" file="Interface\AddOns\Atlas\Images\Atlas_Marks_Letters1" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.78125000"  right="0.93750000"  top="0.78125000"  bottom="0.93750000"/>
	</Texture>

	<!-- POI -->
	<Texture name="AtlasPOI_TaxiNeutral" file="Interface\AddOns\Atlas\Images\POIICONS" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.00000000" right="0.31250000" top="0.00000000" bottom="0.31250000"/>
	</Texture>
	<Texture name="AtlasPOI_TaxiHorde" file="Interface\AddOns\Atlas\Images\POIICONS" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.31250000" right="0.62500000" top="0.00000000" bottom="0.31250000"/>
	</Texture>
	<Texture name="AtlasPOI_TaxiAlliance" file="Interface\AddOns\Atlas\Images\POIICONS" virtual="true">
		<Size x="20" y="20"/>								
		<TexCoords left="0.62500000" right="0.93750000" top="0.00000000" bottom="0.31250000"/>
	</Texture>
</Ui>
