<Frame name="BF_TT_TargetUnit" parent="FRAME_ROOT">
	<Attrib hide="true" click="true" alphaMode="CAM_Translucent" cursor="interface.UIHand"/>
	<Position width="87" height="48" offsetX="595" offsetY ="45"/>
	<Textures r="1.f" g="1.f" b="1.f" a="1.f">
		<TexInfo texture="interface.XYNewMenu" left="5" top="647" right="92" bottom="695"/>
	</Textures>
	<Frames>
		<Frame name="BF_TT_Hp" inherit="SlotTemplate">
			<Attrib click="false" alphaMode="CAM_Translucent"/>
			<Position width="49" height="6" offsetX="36" offsetY="13"/>
		</Frame>
		<Frame name="BF_TT_Mp" inherit="SlotTemplate">
			<Attrib click="false" alphaMode="CAM_Translucent"/>
			<Position width="49" height="6" offsetX="34" offsetY="20"/>
		</Frame>
		<Frame name="BF_TT_Name" inherit="Font20">
			<Position width="49" offsetX="32" offsetY="2"/>
			<Text anchor="TAT_Center"/>
		</Frame>
		<Frame name="BF_TT_Lvl" inherit="Font0">
			<Position width="15" offsetX="22" offsetY="32"/>
			<Textures r="1.f" g="1.f" b="0.f" a="0.f">
				<TexInfo texture="system.whiteTexture" left="1" top="1" right="5" bottom="5"/>
			</Textures>
			<Text anchor="TAT_Center"/>
		</Frame>
		<Frame name="BF_TT_UTBackGround">
			<Attrib hide="false" click="true"  alphaMode="CAM_Translucent"/>
			<Position width="87" height="48"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.XYNewMenu" left="5" top="647" right="92" bottom="695"/>
			</Textures>
			<Script>
			      <FE_OnLMClick>
			           BF_TargetInfo.TT_TargetUnit_OnClick(FRAME_THIS);
		          </FE_OnLMClick>
			</Script>
		</Frame>
		<PortraitFrame name="BF_TT_Prt">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="28" height="28" offsetX="4" offsetY="5"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f"/>
		</PortraitFrame>
	</Frames>
	<Script>
		<FE_OnLoad>
		    BF_TargetInfo.OnFrameLoad(FRAME_THIS)
			--TT_TargetUnit_OnLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnGameEvent>
			TT_TargetUnit_OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1, FRAME_ARG2, FRAME_ARG3)
		</FE_OnGameEvent>
		<FE_OnUnitUpdate>
			TT_TargetUnit_OnUnitUpdate(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1, FRAME_ARG2)
		</FE_OnUnitUpdate>
		<FE_OnLMClick>
			BF_TargetInfo.TT_TargetUnit_OnClick(FRAME_THIS);
		</FE_OnLMClick>
		<FE_OnShow>
			--TT_TargetUnit_SizeUpdate(FRAME_THIS);
		</FE_OnShow>
	</Script>
</Frame>


<Frame name = "BF_TT_TargetLine" parent= "FRAME_ROOT">
	<Attrib hide = "false"/>
	<Position width="1024" height="768" offsetX = "0" offsetY = "0"/>
	<PolyonInfo>
		<Color r = "0.69f" g = "0.05f" b = "0.11f" a = 1.0f/>
		<TexInfo texture="system.whiteTexture" left="1" top="1" right="50"  bottom="50"/>
		<Point x = "100" y = "100"/>
		<Point x = "0" y = "100"/>
		<Point x = "30" y = "30"/>
		<Point x = "100" y = "0"/>
	</PolyonInfo>
	<Script>
		<FE_OnLoad>
			BF_TargetInfo.onManagerLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnTick>
			BF_TargetInfo.onManagerTick(FRAME_THIS)
		</FE_OnTick>
	</Script>
</Frame>

<Frame name = "BF_TargetInfo_Fram"  parent = "FRAME_ROOT">
    <Script file="InterFace\TargetInfo\TargetInfo.l">
		<FE_OnLoad>
			BF_TargetInfo.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_TargetInfo.OnTick(FRAME_THIS);
		</FE_OnTick>
	</Script>
</Frame>