<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="CT_TargetFrame.lua"/>
	<Frame name="CT_TargetFrame" parent="TargetFrame">
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="CT_TargetHealthLeft" inherits="GameFontNormalSmall" text="">
					<Anchors>
						<Anchor point="RIGHT" relativeTo="TargetFrame" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-46"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="CT_TargetManaLeft" inherits="GameFontNormalSmall" text="">
					<Anchors>
						<Anchor point="RIGHT" relativeTo="TargetFrame" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-57"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentClassFrame" hidden="true">
				<Size>
					<AbsDimension x="100" y="25"/>
				</Size>

				<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>

				<Anchors>
					<Anchor point="BOTTOM" relativeTo="TargetFrameTextureFrameName" relativePoint="TOP">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="$parentText" hidden="false" inherits="GameFontNormalSmall" text="">
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
							<Size>
								<AbsDimension x="96" y="12"/>
							</Size>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						self:SetBackdropColor(0, 0, 1, 0.5);
						self:RegisterEvent("UNIT_FACTION");
						<!-- (Removed since WoW 5.3.0) self:RegisterEvent("UNIT_DYNAMIC_FLAGS"); -->
						self:RegisterEvent("PLAYER_TARGET_CHANGED");
						self:RegisterEvent("GROUP_ROSTER_UPDATE");
					</OnLoad>
					<OnEvent>
						CT_SetTargetClass();
					</OnEvent>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				self:SetParent(TargetFrameTextureFrame);
				self:RegisterEvent("PLAYER_ENTERING_WORLD");
			</OnLoad>
			<OnEvent>
				CT_TargetFrameOnEvent(self, event, ...);
			</OnEvent>
		</Scripts>
	</Frame>
</Ui>
