
<Frame name="BF_MainSinceFramItem_Template">
	<Attrib click="false"/>
	<Position width="100" height="30"/>
	<Frames>
	    <Frame name = "BF_MainSinceFramItem_Template_Info" >
		    <Position  width="100" height = "30" offsetX="0" offsetY="-3"/>
			<Text anchor="TAT_Center"  font="1" height="16" r="0.98" g="0.98" b="0.1" rb="0.98" gb="0.98" bb="0.1" a="1" sWeight = "2"/>
		</Frame>
	</Frames>
	<Script>
		<FE_OnTick>
			BF_MainSinceFram.OnItemTick(FRAME_THIS);
		</FE_OnTick>
	</Script>
</Frame>

<Frame name="BF_MainSinceFram" parent="FRAME_ROOT">
	<Attrib hide="false" click="false" alphaMode="CAM_Translucent"/>
	<Position width="1024" height="768"/>
	<Frames>
		<Frame name="BF_MainSinceFramItem0" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem1" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem2" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem3" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem4" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem5" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem6" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem7" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem8" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem9" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem10" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem11" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem12" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem13" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem14" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem15" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem16" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem17" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem18" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem19" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem20" inherit="BF_MainSinceFramItem_Template"/>
		<Frame name="BF_MainSinceFramItem21" inherit="BF_MainSinceFramItem_Template"/>
	</Frames>
	<Script>
		<FE_OnLoad>
			BF_MainSinceFram.onManagerLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnTick>
			BF_MainSinceFram.OnTick(FRAME_THIS);
		</FE_OnTick>
		<FE_OnGameEvent>
		</FE_OnGameEvent>
	</Script>
</Frame>

<Frame name = "BF_TextItemFarm" inherit="Drag_FrameTemplate" parent = "FRAME_ROOT">
    <Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="250" height="70" offsetX="300" offsetY="200"/>
	<Textures r="1.0f" g="1.0f" b="1.0f" a="1.0f">
		<TexInfo texture="interface.XYtestMenu" left="330" top="194" right="615" bottom="268"/>
	</Textures>
	<Frames>
	    <Frame name = "BF_TextItemFaarm_Tilte" inherit="Font1">
			<Position self="FAT_Top" rel="FAT_Top" width="90" height = "30" offsetY="0"/>
			<Text anchor="TAT_Center"/>
		</Frame>

		<Frame name = "BF_TextItemFaarm_Text" >
			<Position self="FAT_Top" rel="FAT_Top" width="30" height = "30" offsetX="-20" offsetY="40"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.0f">
		        <TexInfo texture="interface.XYtestMenu" left="330" top="194" right="615" bottom="268"/>
	        </Textures>
		</Frame>

		<Frame name="BF_TextItemFarm_EBX">
		    <Attrib alphaMode="CAM_Translucent"/>
			<Position self ="FAT_LeftTop" rel = "FAT_LeftTop" width="50" height="20" offsetX="135" offsetY="25" />
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="interface.XYCreditTrade" left="547" top="23" right="582" bottom="45"/>
			</Textures>
			<Frames>
			    <EditBoxFrame name="BF_TextItemFarm_EBX_ID">
					<Attrib alphaMode="CAM_Translucent"/>
					<Position self ="FAT_LeftBottom" rel = "FAT_LeftBottom" width="47" height="18" offsetX="3"/>

					<Text font="0" height="14" r="1.f" g="1.f" b="1.f" rb="1.f" gb="1.f" bb="1.f" a="1"/>
					<Script>
						<FE_OnKeyDown>
							 BF_TextItemFarm.OnKeyDown(FRAME_THIS, FRAME_PARAM);
						</FE_OnKeyDown>
					</Script>
				</EditBoxFrame>
			</Frames>
		</Frame>
	</Frames>
	<Script>
	    <FE_OnLoad>
			BF_TextItemFarm.OnLoad(FRAME_THIS);
		</FE_OnLoad>
	    <FE_OnTick>
			BF_TextItemFarm.OnTick(FRAME_THIS);
		</FE_OnTick>
	</Script>
</Frame>

<Frame name = "BF_MyText_FRAME"  parent = "PersonColligationFrame" inherit="PCF_TitleTemplate" >
    <Position offsetX="59" offsetY="108" />
	<Script>
		<FE_OnLoad>
			Frame.setText(FRAME_THIS,"");
			Frame.setTextColor(FRAME_THIS, GNS.Color.title.r, GNS.Color.title.g, GNS.Color.title.b, 1, GNS.Color.titleDown.r, GNS.Color.titleDown.g, GNS.Color.titleDown.b);
		</FE_OnLoad>
	</Script>
</Frame>

<Frame name="BF_ListBox_UpButton_Template">
	<Attrib click="true" alphaMode="CAM_Translucent"/>
	<Position width="11" height="11"  offsetX="269" offsetY="0" />
	<Textures r="1.f" g="1.f" b="1.f" a="1.f">
		<TexInfo texture="interface.XYNewMenu" left="76" top="186" right="93" bottom="202"/>
		<TexInfo texture="interface.XYNewMenu" left="171" top="187" right="188" bottom="203"/>
		<TexInfo texture="interface.XYNewMenu" left="273" top="191" right="290" bottom="207"/>
	</Textures>
	<Script>
		<FE_OnLoad>
			BF_ChatHelp.OnUpButtonLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnLMDown>
			BF_ChatHelp.ArrowBtn_OnDown(FRAME_THIS)
		</FE_OnLMDown>
		<FE_OnLMUp>
			BF_ChatHelp.ArrowBtn_OnUp(FRAME_THIS)
		</FE_OnLMUp>
		<FE_OnCursorEnter>
			BF_ChatHelp.ArrowBtn_OnCursorEnter(FRAME_THIS)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			BF_ChatHelp.ArrowBtn_OnUp(FRAME_THIS)
		</FE_OnCursorLeave>
	</Script>
</Frame>

<Frame name="BF_ListBox_DownButton_Template" >
	<Attrib click="true" alphaMode="CAM_Translucent"/>
	<Position width="11" height="11" offsetX="269" offsetY="258" />
	<Textures r="1.f" g="1.f" b="1.f" a="1.f">
		<TexInfo texture="interface.XYNewMenu" left="100" top="186" right="117" bottom="202"/>
		<TexInfo texture="interface.XYNewMenu" left="195" top="187" right="212" bottom="203"/>
		<TexInfo texture="interface.XYNewMenu" left="297" top="191" right="314" bottom="207"/>
	</Textures>
	<Script>
		<FE_OnLoad>
			BF_ChatHelp.OnDownButtonLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnLMDown>
			BF_ChatHelp.ArrowBtn_OnDown(FRAME_THIS)
		</FE_OnLMDown>
		<FE_OnLMUp>
			BF_ChatHelp.ArrowBtn_OnUp(FRAME_THIS)
		</FE_OnLMUp>
		<FE_OnCursorEnter>
			BF_ChatHelp.ArrowBtn_OnCursorEnter(FRAME_THIS)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
				BF_ChatHelp.ArrowBtn_OnUp(FRAME_THIS)
		</FE_OnCursorLeave>
		<FE_OnLMClick>
				BF_ChatHelp.Down(BF_ChatHelp_TTMsg)
		</FE_OnLMClick>
	</Script>
</Frame>

<Frame name="BF_ListBox_MidBottomButton_Template" inherit="ButtonTemplate">
	<Attrib hide = "false" click="true"/>
	<Position  width="11" height="24" offsetX="269" offsetY="21"/>
	<Textures r="1.f" g="1.f" b="1.f" a="1.f">
		<TexInfo texture="interface.XYtestMenu" left="24" top="371" right="39" bottom="415"/>
		<TexInfo texture="interface.XYtestMenu" left="48" top="371" right="63" bottom="415"/>
		<TexInfo texture="interface.XYtestMenu" left="24" top="371" right="39" bottom="415"/>
	</Textures>
	<Script>
		<FE_OnLoad>
			BF_ChatHelp.MidButtonMouseLoad(FRAME_THIS)
		</FE_OnLoad>
		<FE_OnLMDown>
			BF_ChatHelp.MidButtonMouseDown(FRAME_THIS);
		</FE_OnLMDown>
		<FE_OnMHLMUp>
			BF_ChatHelp.MidButtonMouseUp(FRAME_THIS)
		</FE_OnMHLMUp>
		<FE_OnCursorEnter>
			BF_ChatHelp.MidButtonCursorEnter(FRAME_THIS)
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			BF_ChatHelp.MidButtonCursorLeave(FRAME_THIS)
		</FE_OnCursorLeave>
		<FE_OnTick>
			BF_ChatHelp.MidButtonTick(FRAME_THIS)
		</FE_OnTick>
	</Script>
</Frame>

<Frame name = "BF_ListBox_MidBtnBG_Template">
		<Position  height="237" width="4" offsetX = "274" offsetY = "18"/>
		<Textures r="1.f" g="1.f" b="1.f" a="1.f">
			<TexInfo texture="interface.XYNewButton2" left="115" top="295" right="129" bottom="295"/>
		</Textures>
		<Script>
			<FE_OnLoad>
				BF_ChatHelp.OnMidBGLoad(FRAME_THIS)
			</FE_OnLoad>
		</Script>
</Frame>

<Frame name = "BF_UTILITY_FRAME"  parent = "FRAME_ROOT">
    <Script file="InterFace\Base\utility.l">
		<FE_OnLoad>
			BF_UTILITY_FRAME.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_UTILITY_FRAME.OnTick(FRAME_THIS);
		</FE_OnTick>
		<FE_OnGameEvent>
			BF_UTILITY_FRAME.OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1,FRAME_ARG2,FRAME_ARG3,FRAME_ARG4)
		</FE_OnGameEvent>
	</Script>
</Frame>
