<?xml version="1.0"?>
<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">

	<Frame name="RSExplorerRareListTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="background" atlas="GarrLanding-MiddleTile">
					<Anchors>
						<Anchor point="TOPLEFT"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame parentKey="scrollBox" inherits="WowScrollBoxList">
				<Anchors>
					<Anchor point="TOPLEFT" x="5" y="-30"/>
					<Anchor point="BOTTOMRIGHT" x="-20"/>
				</Anchors>
			</Frame>
			<EventFrame parentKey="scrollBar" inherits="MinimalScrollBar">
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.ScrollBox" relativePoint="TOPRIGHT" x="-14" y="-5"/>
					<Anchor point="BOTTOMLEFT" relativeKey="$parent.ScrollBox" relativePoint="BOTTOMRIGHT" x="7" y="0"/>
				</Anchors>
			</EventFrame>
		</Frames>
	</Frame>

	<Frame name="RSExplorerNpcPortraitTemplate" virtual="true">
		<Size x="52" y="60"/>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Portrait">
					<Anchors>
						<Anchor point="TOPLEFT" x="10" y="-10"/>
						<Anchor point="BOTTOMRIGHT" x="-3" y="8"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture parentKey="Treasure" atlas="Mobile-TreasureIcon">
					<Anchors>
						<Anchor point="TOPLEFT" x="6" y="-4"/>
						<Anchor point="BOTTOMRIGHT" x="4" y="6"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture parentKey="RareOverlay" file="Interface\AddOns\RareScanner\Media\Textures\adventuremissionsframe.blp">
					<Anchors>
						<Anchor point="TOPLEFT" x="-3" y="5" />
						<Anchor point="BOTTOMRIGHT" x="11" y="-9" />
					</Anchors>
					<TexCoords left="0.09765625" right="0.1923828125" top="0.8642578125" bottom="0.90966796875" />
				</Texture>
				<Texture parentKey="CustomOverlay" file="Interface\AddOns\RareScanner\Media\Textures\adventuremissionsframe.blp">
					<Anchors>
						<Anchor point="TOPLEFT" x="-3" y="5" />
						<Anchor point="BOTTOMRIGHT" x="11" y="-9" />
					</Anchors>
					<TexCoords left="0.0009765625" right="0.095703125" top="0.8642578125" bottom="0.90966796875" />
				</Texture>
				<MaskTexture parentKey="CircleMask" file="Interface\CharacterFrame\TempPortraitAlphaMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Icon" x="2" y="-2"/>
						<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" x="-2" y="2"/>
					</Anchors>
					<MaskedTextures>
						<MaskedTexture childKey="Portrait"/>
					</MaskedTextures>
				</MaskTexture>
			</Layer>
		</Layers>
	</Frame>

	<Button name="RSExplorerListButtonTemplate" virtual="true">
		<Size x="260" y="56"/>
		<Anchors>
			<Anchor point="TOPLEFT" x="0" y="0"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="BG" atlas="GarrMission_FollowerListButton" useAtlasSize="true">
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="3">
				<Texture parentKey="Selected" atlas="GarrMission_FollowerListButton-Select" useAtlasSize="true" hidden="true">
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="MountTexture" file="Interface\AddOns\RareScanner\Media\Textures\MountTexture" hidden="true">
					<Size x="54" y="52" />
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="PetTexture" file="Interface\AddOns\RareScanner\Media\Textures\PetTexture" hidden="true">
					<Size x="54" y="52" />
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="ToyTexture" file="Interface\AddOns\RareScanner\Media\Textures\ToyTexture" hidden="true">
					<Size x="54" y="52" />
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="AppearanceTexture" file="Interface\AddOns\RareScanner\Media\Textures\AppearanceTexture" hidden="true">
					<Size x="54" y="52" />
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="CustomTexture" file="Interface\AddOns\RareScanner\Media\Textures\CustomTexture" hidden="true">
					<Size x="54" y="52" />
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT">
					<Size x="180" y="0"/>
					<Anchors>
						<Anchor point="LEFT" relativeKey="$parent.PortraitFrame" relativePoint="LEFT" x="70" y="-8"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="2">
				<Texture parentKey="NameBG" atlas="GarrMission_FollowerListButton" alphamode="BLEND">
					<Size x="180" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="TOPLEFT" x="-5" y="3"/>
						<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Name" relativePoint="BOTTOMRIGHT" x="5" y="-7"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame parentKey="PortraitFrame" inherits="RSExplorerNpcPortraitTemplate">
				<Size x="52" y="60"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="0" y="2"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);
					</OnLoad>
				</Scripts>
			</Frame>
		</Frames>
		<HighlightTexture parentKey="Highlight" atlas="GarrMission_FollowerListButton-Highlight" useAtlasSize="true">
			<Anchors>
				<Anchor point="TOPRIGHT"/>
			</Anchors>
		</HighlightTexture>
	</Button>
</Ui>