<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="TitanAggro_Icons.lua"/>
	<Frame name="UnitFrameTitanAggroIconTemplate" level="OVERLAY" frameStrata="MEDIUM" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="85" y="-5"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<Button name="$parentButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TitanAggro\Icons\AGGRO"/>
				<PushedTexture file="Interface\AddOns\TitanAggro\Icons\AGGRO-Down"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
				<Scripts>
					<OnClick>
						TitanAggro_Icons_OnClick();
					</OnClick>
					<OnEnter>
						TitanAggro_Icons_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanAggro_Icons_OnLeave();
					</OnLeave>
				</Scripts>
			</Button>
		</Frames>
		<Layers>
			<Layer level="BACKGROUND">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Texture name="flashTextureName" hidden="true">
					<Size>
						<AbsDimension x="32" y="32" />
					</Size>
				</Texture>
			</Layer>
		</Layers>
	</Frame>

	<frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconTemplate" parent="PlayerFrame" enableMouse="true"/>
	<Frame name="UnitFrameTitanAggroIconSmallTemplate" level="OVERLAY" frameStrata="MEDIUM" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="20" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="30" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<Button name="$parentButton">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\AddOns\TitanAggro\Icons\AGGRO"/>
				<PushedTexture file="Interface\AddOns\TitanAggro\Icons\AGGRO-Down"/>
				<Scripts>
					<OnClick>
						TitanAggro_Icons_OnClick();
					</OnClick>
					<OnEnter>
						TitanAggro_Icons_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanAggro_Icons_OnLeave();
					</OnLeave>
				</Scripts>
			</Button>
		</Frames>
	</Frame>
	<Frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconSmallTemplate" parent="PartyMemberFrame1" id="1" enableMouse="true"/>
	<Frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconSmallTemplate" parent="PartyMemberFrame2" id="2" enableMouse="true"/>
	<Frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconSmallTemplate" parent="PartyMemberFrame3" id="3" enableMouse="true"/>
	<Frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconSmallTemplate" parent="PartyMemberFrame4" id="4" enableMouse="true"/>
	<Frame name="$parentTitanAggroIcon" inherits="UnitFrameTitanAggroIconSmallTemplate" parent="PetFrame" id="5" enableMouse="true"/>
	<Frame name="TitanAggroIcons" hidden="true">
		<Scripts>
			<OnLoad>
				this:RegisterEvent("PLAYER_ENTERING_WORLD");
				this:RegisterEvent("PARTY_MEMBERS_CHANGED");
			</OnLoad>
			<OnEvent>
				TitanAggro_Icons_OnEvent[event]();
			</OnEvent>
		</Scripts>
	</Frame>

	<GameTooltip name="TitanAggroTooltip" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="GameTooltipTemplate"/>

	<Frame name="TitanAggroIconsGlowTemplate" hidden="true" virtual="true" toplevel="true">
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parent">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentTexture" file="Interface\AddOns\TitanAggro\Icons\AGGRO-Glow" hidden="false" alphaMode="ADD">
					<Size>
						<AbsDimension x="32" y="32"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1.0" g="1.0" b="1.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel()+3);
			</OnLoad>
			<OnUpdate>
				TitanAggro_Icons_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>
	<Frame name="TitanAggroIconsSmallGlowTemplate" hidden="true" virtual="true" toplevel="true">
		<Size>
			<AbsDimension x="20" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="$parent">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentTexture" file="Interface\AddOns\TitanAggro\Icons\AGGRO-Glow" hidden="false" alphaMode="ADD">
					<Size>
						<AbsDimension x="20" y="20"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1.0" g="1.0" b="1.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel()+3);
			</OnLoad>
			<OnUpdate>
				TitanAggro_Icons_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>
	<frame name="$parentGlow" inherits="TitanAggroIconsGlowTemplate" parent="PlayerFrameTitanAggroIcon" />
	<Frame name="$parentGlow" inherits="TitanAggroIconsSmallGlowTemplate" parent="PetFrameTitanAggroIcon" />
	<Frame name="$parentGlow" inherits="TitanAggroIconsSmallGlowTemplate" parent="PartyMemberFrame1TitanAggroIcon" />
	<Frame name="$parentGlow" inherits="TitanAggroIconsSmallGlowTemplate" parent="PartyMemberFrame2TitanAggroIcon" />
	<Frame name="$parentGlow" inherits="TitanAggroIconsSmallGlowTemplate" parent="PartyMemberFrame3TitanAggroIcon" />
	<Frame name="$parentGlow" inherits="TitanAggroIconsSmallGlowTemplate" parent="PartyMemberFrame4TitanAggroIcon" />
</Ui>