<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/
..\FrameXML\UI.xsd">
    <Script file="FishingBuddyInfoBar.lua"/>
    <!-- InfoBar support -->
    <Button name="IB_FishingBuddy" inherits="IB_BaseFrame" parent="InfoBarFrame">
	<Size>
		<AbsDimension x="16" y="16" />
	</Size>
	<Layers>
		<Layer level="ARTWORK">
			<Texture name="$parentIcon" file="Interface\AddOns\FishingBuddy\Icons\Fishing-Icon">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>					
				<Anchors>
					<Anchor point="LEFT" />
				</Anchors>
			</Texture>
		</Layer>
	</Layers>
	<Frames>
		<Frame name="FishingBuddyInfoBarMenu" inherits="UIDropDownMenuTemplate">
			<Scripts>
				<OnLoad>
					this:SetFrameLevel(0);
					UIDropDownMenu_SetWidth(180);
				</OnLoad>
				<OnShow>
					UIDropDownMenu_Initialize(this, FishingBuddy.InfoBar.Menu_Initialize, "MENU");
				</OnShow>
			</Scripts>
		</Frame>
	</Frames>
	<Scripts>
	    <OnLoad>
		FishingBuddy.InfoBar.OnLoad();
	    </OnLoad>
	    <OnClick>
		FishingBuddy.InfoBar.OnClick(arg1);
	    </OnClick>
	</Scripts>
    </Button>
</Ui>
