<Frame name = "BF_GRID_Fram_Player_Template" >
    <Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="61" height="32" />
	<Frames>
	    <Frame name = "BF_GRID_Fram_Player_Template__Name" >
			<Attrib alphaMode="CAM_Translucent"/>
			<Position width="50" height="14" offsetX="6" offsetY="5" />
			<Text anchor="TAT_Center" font="0" height="14" r="1.0" g="0.988" b="1.0" rb="1.0" gb="0.988" bb="1.0" a="1" sWeight = "2" text="���͵�" />
		</Frame>
		
		<Frame name="BF_GRID_Fram_Player_Template__Magic_Color">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="4" offsetY="22" width="57" height="7"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_GRID.OnPlayerItemMagicColorLoad(FRAME_THIS);
				</FE_OnLoad>
			</Script>
		</Frame>
		
		<Frame name="BF_GRID_Fram_Player_Template__Magic__BG">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="4" offsetY="22" width="55" height="7"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_GRID.OnPlayerItemMagicBGLoad(FRAME_THIS);
				</FE_OnLoad>
			</Script>
		</Frame>
		
		<Frame name="BF_GRID_Fram_Player_Template__Color">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="3" offsetY="3" width="30" height="26"/>
			<Textures r="1.f" g="1.f" b="1.f" a="1.f">
				<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_GRID.OnPlayerItemColorLoad(FRAME_THIS);
				</FE_OnLoad>
			</Script>
		</Frame>
		
		<Frame name="BF_GRID_Fram_Player_Template__BG">
			<Attrib alphaMode="CAM_Translucent"/>
			<Position offsetX="0" offsetY="0" width="61" height="31"/>
			<Textures r="1.f" g="1.f" b="1.f" a="0.5f">
				<TexInfo texture="interface.XYNewMenu" left="390" top="640" right="514"  bottom="653"/>
			</Textures>
			<Script>
				<FE_OnLoad>
					BF_GRID.OnPlayerItemBGLoad(FRAME_THIS);
				</FE_OnLoad>
			</Script>
		</Frame>
			
	</Frames>
	<Script>
		<FE_OnLoad>
			--BF_GRID.OnPlayerItemonLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnCursorEnter>
			--BF_GRID.OnPlayerItemEnter(FRAME_THIS);		
		</FE_OnCursorEnter>
		<FE_OnCursorLeave>
			--BF_GRID.OnPlayerItemLeave(FRAME_THIS);		
		</FE_OnCursorLeave>
		<FE_OnLMDown>
		    --BF_GRID.OnPlayerItemDown(FRAME_THIS);
		</FE_OnLMDown>
	    <FE_OnLMClick>
		    BF_GRID.OnPlayerItemClick(FRAME_THIS);
		</FE_OnLMClick>
	</Script>
</Frame>



<Frame name = "BF_GRID_Fram"  inherit="Drag_FrameTemplate"  parent = "FRAME_ROOT">
	<Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="362" height="252" offsetX="525" offsetY="596"/>
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="interface.XYCardListNew" left="30" top="714" right="330" bottom="826"/>
	</Textures>
	<Frames>
		<Frame name="BF_GRID_Fram_Player_1_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_1_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_1_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_1_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_1_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_2_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_2_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_2_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_2_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_2_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_3_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_3_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_3_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_3_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_3_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_4_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_4_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_4_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_4_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_4_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_5_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_5_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_5_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_5_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_5_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_6_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_6_2" inherit="BF_GRID_Fram_Player_Template" >
		    <Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_6_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_6_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_6_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_7_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_7_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_7_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_7_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>    				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_7_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>    				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_8_1" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_8_2" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>       				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_8_3" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_8_4" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		<Frame name="BF_GRID_Fram_Player_8_5" inherit="BF_GRID_Fram_Player_Template" >
			<Position offsetX="0" offsetY="20"/>        				
		</Frame>
		
	</Frames>
	
    <Script file="InterFace\GRID\GRID.l">
		<FE_OnLoad>
			BF_GRID.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnGameEvent>
			BF_GRID.OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1)
		</FE_OnGameEvent>
	</Script>
</Frame>