<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="BigFootBank.lua"/>

	<Frame name="BigFootBankFrame">
		<Scripts>
			<OnLoad>
				BigFootBank_OnLoad(self);
			</OnLoad>
			<OnEvent>
				BigFootBank_OnEvent(self, event, ...);
			</OnEvent>
		</Scripts>
	</Frame>

	<Button name="BigFootBankFrameButton" toplevel="true" frameStrata="LOW" parent="Minimap" enableMouse="true">
		<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="1" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture>
					<Size>
						<AbsDimension x="16" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-6"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0" a="0.8"/>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture file="Interface\Icons\inv_legendary_theblackprince">
					<Size>
						<AbsDimension x="16" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-6"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
					<Size>
						<AbsDimension x="50" y="50"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnClick>
				if BlackMarketFrame and BlackMarketFrame:IsShown() then
					HideUIPanel(BlackMarketFrame)
				else
					BigFootBank_OffLineUpdata()
				end
			</OnClick>
			<OnEnter>
				GameTooltip:SetOwner(self,"TOPLEFT",30,-80)
				GameTooltip:AddLine(BigFootBank_MINIMAP_TOOLTIP1)
				GameTooltip:AddLine(BigFootBank_MINIMAP_TOOLTIP2)
				GameTooltip:Show()
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
		</Scripts>
	</Button>

</Ui>
