<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/
UI.xsd">
	<Script file="FloatingGarrisonFollowerTooltip.lua"/>

	<Frame name="GarrisonFollowerTooltipTemplate" parent="UIParent" frameStrata="TOOLTIP" clampedToScreen="true" virtual="true" hidden="true" inherits="TooltipBorderedFrameTemplate">
		<Size x="260" y="80"/>
		<Layers>
			<Layer level="BACKGROUND" textureSubLevel="2">
				<Texture parentKey="Class" atlas="GarrMission_ClassIcon-DeathKnight" useAtlasSize="true">
					<Anchors>
						<Anchor point="TOPRIGHT" y="-5" x="-5"/>
					</Anchors>
					<Color r="1" g="1" b="1" a=".2"/>
				</Texture>
				<Texture parentKey="XPBarBackground">
					<Size x="180" y="4"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="66" y="-55"/>
					</Anchors>
					<Color r="0.1" g="0.1" b="0.1" a="1"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT" text="Goblin Freeman">
					<Size x="140" y="0"/>
					<Anchors>
						<Anchor point="LEFT" relativePoint="TOPLEFT" x="66" y="-20"/>
					</Anchors>
				</FontString>
				<FontString parentKey="ClassSpecName" inherits="GameFontHighlightSmall" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="66" y="-35"/>
					</Anchors>
					<Color r="1" g="1" b="1" a="1"/>
				</FontString>
				<FontString parentKey="ILevel" inherits="GameFontHighlightSmall" justifyH="LEFT">
					<Size x="190" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="66" y="-50"/>
					</Anchors>
					<Color r="0.745" g="0.745" b="0.745" a="1"/>
				</FontString>
				<Texture parentKey="XPBar">
					<Size x="180" y="4"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="66" y="-55"/>
					</Anchors>
					<Color r="0.212" g="0" b="0.337" a="1"/>
				</Texture>				
				<FontString parentKey="XP" inherits="GameFontHighlightSmall" justifyH="CENTER">
					<Size x="180"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.XPBar" relativePoint="BOTTOMLEFT" y="-3"/>
					</Anchors>
					<Color r="1" g="1" b="1" a="1"/>
				</FontString>

				<FontString parentKey="AbilitiesLabel" inherits="GameFontNormal" justifyH="LEFT" text="Abilities">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="15" y="-85" />
					</Anchors>
				</FontString>

				<FontString parentKey="TraitsLabel" inherits="GameFontNormal" justifyH="LEFT" text="Traits">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="15" y="-85" />
					</Anchors>
				</FontString>
				
			</Layer>			
		</Layers>
		
		<Frames>
			<Frame parentKey="Portrait" virtual="false">
				<Size x="52" y="60"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="10" y="-10"/>
				</Anchors>
				<Layers>
					<Layer level="BORDER">
						<Texture parentKey="PortraitRing" atlas="GarrMission_PortraitRing_Quality" useAtlasSize="true">
							<Anchors>
								<Anchor point="TOP"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER" textureSubLevel="-1">
						<Texture parentKey="Portrait">
							<Size x="44" y="44"/>
							<Anchors>
								<Anchor point="CENTER" relativeKey="$parent.PortraitRing" y="5"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER" textureSubLevel="1">
						<Texture parentKey="LevelBorder" atlas="GarrMission_PortraitRing_LevelBorder" useAtlasSize="true">
							<Anchors>
								<Anchor point="BOTTOM" y="-3"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK">
						<FontString parentKey="Level" inherits="GameFontHighlightSmall" justifyH="CENTER" text="95">
							<Anchors>
								<Anchor point="CENTER" relativeKey="$parent.LevelBorder"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>

			<Frame parentArray="Abilities" inherits="GarrisonFollowerAbilityTemplate" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.AbilitiesLabel" x="2" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>

			<Frame parentArray="Traits" inherits="GarrisonFollowerAbilityTemplate" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.TraitsLabel" x="2" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			
		</Frames>
		<Scripts>
			<OnLoad function="GarrisonFollowerTooltip_OnLoad"/>
		</Scripts>
	</Frame>


	<Frame name="GarrisonFollowerAbilityTemplate" virtual="true">
		<Size x="200" y="20"/>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Icon">
					<Size x="20" y="20"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="2"/>
					</Anchors>
				</Texture>
				<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT" text="AbilityText">
					<Anchors>
						<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="2"/>
					</Anchors>
				</FontString>
				<FontString parentKey="Description" inherits="GameFontHighlight" justifyH="LEFT" text="AbilityDescription" wordwrap="true">
					<Size x="200" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" x="0" y="-4"/>
					</Anchors>
				</FontString>
				<FontString parentKey="Details" inherits="GameFontHighlight" justifyH="LEFT" text="Details">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Description" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
					</Anchors>
					<Color r="0.698" g="0.941" b="1" a="1"/>
				</FontString>

				<Texture parentKey="CounterIcon">
					<Size x="16" y="16"/>
					<Anchors>
						<Anchor point="LEFT" relativeKey="$parent.Details" relativePoint="RIGHT" x="5"/>
					</Anchors>
				</Texture>

				<Texture atlas="GarrMission_EncounterAbilityBorder" useAtlasSize="true" parentKey="CounterIconBorder" hidden="true">
					<Size x="15" y="15"/>
					<Anchors>
						<Anchor point="CENTER" relativeKey="$parent.CounterIcon"/>
					</Anchors>
				</Texture>

			</Layer>
		</Layers>
		<Scripts>
		</Scripts>
	</Frame>

	<Frame name="FloatingGarrisonFollowerTooltip" inherits="GarrisonFollowerTooltipTemplate" movable="true" toplevel="true">
		<Size x="260" y="150"/>
		<Anchors>
			<Anchor point="BOTTOM" x="0" y="80"/>
		</Anchors>
		<Frames>
			<Button parentKey="CloseButton">
				<Size x="32" y="32"/>
				<Anchors>
					<Anchor point="TOPRIGHT" x="1" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						self:GetParent():Hide();
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
			</Button>
		</Frames>
		<Scripts>
			<OnMouseDown>
				self:StartMoving();
			</OnMouseDown>
			<OnMouseUp>
				self:StopMovingOrSizing();
			</OnMouseUp>
		</Scripts>
	</Frame>


	<Frame name="GarrisonFollowerAbilityTooltipTemplate"  parent="UIParent" frameStrata="TOOLTIP" clampedToScreen="true" virtual="true" hidden="true" inherits="TooltipBorderedFrameTemplate">
		<Size x="240" y="40"/>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Icon">
					<Size x="24" y="24"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="10" y="-10"/>
					</Anchors>
				</Texture>
				<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT" text="AbilityText">
					<Anchors>
						<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="6"/>
					</Anchors>
				</FontString>
				<FontString parentKey="Description" inherits="GameFontHighlight" justifyH="LEFT" text="AbilityDescription" wordwrap="true">
					<Size x="200" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" x="0" y="-4"/>
					</Anchors>
				</FontString>
				<FontString parentKey="Details" inherits="GameFontHighlight" justifyH="LEFT" text="Details">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Description" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
					</Anchors>
					<Color r="0.698" g="0.941" b="1" a="1"/>
				</FontString>

				<Texture parentKey="CounterIcon">
					<Size x="16" y="16"/>
					<Anchors>
						<Anchor point="LEFT" relativeKey="$parent.Details" relativePoint="RIGHT" x="5"/>
					</Anchors>
				</Texture>

				<Texture atlas="GarrMission_EncounterAbilityBorder" useAtlasSize="true" parentKey="CounterIconBorder" hidden="true">
					<Size x="15" y="15"/>
					<Anchors>
						<Anchor point="CENTER" relativeKey="$parent.CounterIcon"/>
					</Anchors>
				</Texture>

			</Layer>
		</Layers>
		<Scripts>
		</Scripts>
	</Frame>


	<Frame name="FloatingGarrisonFollowerAbilityTooltip" inherits="GarrisonFollowerAbilityTooltipTemplate" movable="true" toplevel="true">
		<Size x="240" y="40"/>
		<Anchors>
			<Anchor point="BOTTOM" x="0" y="80"/>
		</Anchors>
		<Frames>
			<Button parentKey="CloseButton">
				<Size x="32" y="32"/>
				<Anchors>
					<Anchor point="TOPRIGHT" x="1" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						self:GetParent():Hide();
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
			</Button>
		</Frames>
		<Scripts>
			<OnMouseDown>
				self:StartMoving();
			</OnMouseDown>
			<OnMouseUp>
				self:StopMovingOrSizing();
			</OnMouseUp>
		</Scripts>
	</Frame>

	<Frame name="FloatingGarrisonMissionTooltip" movable="true" toplevel="true" parent="UIParent" frameStrata="TOOLTIP" clampedToScreen="true" hidden="true" inherits="TooltipBorderedFrameTemplate">
		<Size x="240" y="70"/>
		<Anchors>
			<Anchor point="BOTTOM" x="0" y="80"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT" text="AbilityText">
					<Anchors>
						<Anchor point="TOPLEFT" x="10" y="-10"/>
					</Anchors>
				</FontString>
				<FontString parentKey="FollowerRequirement" inherits="GameFontHighlight" justifyH="LEFT" text="Followers">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" y="-3"/>
					</Anchors>
				</FontString>
				<FontString parentKey="RewardsLabel" inherits="GameFontNormal" justifyH="LEFT" text="REWARDS">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.FollowerRequirement" relativePoint="BOTTOMLEFT" y="-12"/>
					</Anchors>
				</FontString>
				<FontString parentKey="Rewards" inherits="GameFontHighlight" justifyH="LEFT" text="Rewards">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.RewardsLabel" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button parentKey="CloseButton">
				<Size x="32" y="32"/>
				<Anchors>
					<Anchor point="TOPRIGHT" x="1" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						self:GetParent():Hide();
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
			</Button>
		</Frames>
		<Scripts>
			<OnMouseDown>
				self:StartMoving();
			</OnMouseDown>
			<OnMouseUp>
				self:StopMovingOrSizing();
			</OnMouseUp>
		</Scripts>
	</Frame>


</Ui>