<Frame name="BF_MinimapButt_FRAME_Button_Template" >
	<Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position width="24" height="24" />
	<Textures r="1.0" g="1.0" b="1.0" a="1.0">
		<TexInfo texture="system.whiteTexture" left="1" top="1" right="5"  bottom="5"/>
	</Textures>
	<Script>
		<FE_OnLoad>
			BF_MB.OnMinimapButtLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnLMClick>
			BF_MB.OnMinimapButtClick(FRAME_THIS)
		</FE_OnLMClick>
		<FE_OnCursorEnter>
			BF_MB.OnMinimapButtEnter(FRAME_THIS)	
		</FE_OnCursorEnter>		
		<FE_OnCursorLeave>
			BF_MB.OnMinimapButtLeave(FRAME_THIS)	
		</FE_OnCursorLeave>
		<FE_OnLMDown>
		    BF_MB.OnMinimapButtDown(FRAME_THIS);
		</FE_OnLMDown>
	</Script>
</Frame>

<Frame name = "BF_Bass_Fram_ShowTip"  parent = "FRAME_ROOT">
	<Attrib alphaMode="CAM_Translucent"/>
    <Position self="FAT_Center" rel="FAT_Center" offsetX="-25" offsetY="-200" width="50" height="10"/>
	<Text font="3" height="10"  r="0.98" g="0.98" b="0.1" rb="0.98" gb="0.98" bb="0.1" a="1" anchor="TAT_Center" sWeight = "2" text=""/>
    <Script>
		<FE_OnLoad>
			BF_MB.BassFramShowTipLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_MB.BassFramShowTipTip(FRAME_THIS);
		</FE_OnTick>
	</Script>
</Frame>


<Frame name = "BF_MinimapButt_FRAME" parent = "FRAME_ROOT">
    <Attrib hide="false" click="true" alphaMode="CAM_Translucent"/>
	<Position self="FAT_RightTop" rel="FAT_RightTop" width="619" height="418" offsetX="0" offsetY="0"/>
	<Textures r="1.0" g="1.0" b="1.0" a="0.0">
		<TexInfo texture="interface.XYCardListNew" left="30" top="714" right="330" bottom="826"/>
	</Textures>
	<Frames>
	    <Frame name = "BF_MinimapButt_FRAME_Button1" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button2" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button3" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button4" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button5" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button6" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button7" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button8" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button9" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		<Frame name = "BF_MinimapButt_FRAME_Button10" inherit="BF_MinimapButt_FRAME_Button_Template">
			<Position offsetX="0" offsetY="20"/> 
		</Frame>
		
	</Frames>
    <Script file="InterFace\Base\MinimapButton.l">
		<FE_OnLoad>
			BF_MB.OnLoad(FRAME_THIS);
		</FE_OnLoad>
		<FE_OnTick>
			BF_MB.OnTick(FRAME_THIS);
		</FE_OnTick>
		<FE_OnGameEvent>
			BF_MB.OnGameEvent(FRAME_THIS, FRAME_PARAM, FRAME_ARG0, FRAME_ARG1,FRAME_ARG2,FRAME_ARG3,FRAME_ARG4)
		</FE_OnGameEvent>
		<FE_OnShow>
		    BF_MB.OnShow(FRAME_THIS);
		</FE_OnShow>
		<FE_OnCursorEnter>
			BF_MB.OnCursorEnter(FRAME_THIS);
		</FE_OnCursorEnter>		
		<FE_OnCursorLeave>
			BF_MB.OnCursorLeave(FRAME_THIS);
		</FE_OnCursorLeave>
	</Script>
</Frame>
