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

	<Button name="FishingExtravaganzaMiniTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="8" y="8"/>
		</Size>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel() + 1);
			</OnLoad>
			<OnEnter>
				FishingBuddy.Extravaganza.MiniMap_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
		<NormalTexture name="$parentTexture"/>
	</Button>
	<Button name="FishingExtravaganzaMini1" inherits="FishingExtravaganzaMiniTemplate" id="1" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini2" inherits="FishingExtravaganzaMiniTemplate" id="2" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini3" inherits="FishingExtravaganzaMiniTemplate" id="3" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini4" inherits="FishingExtravaganzaMiniTemplate" id="4" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini5" inherits="FishingExtravaganzaMiniTemplate" id="5" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini6" inherits="FishingExtravaganzaMiniTemplate" id="6" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini7" inherits="FishingExtravaganzaMiniTemplate" id="7" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini8" inherits="FishingExtravaganzaMiniTemplate" id="8" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini9" inherits="FishingExtravaganzaMiniTemplate" id="9" hidden="false" parent="Minimap" toplevel="true"/>
	<Button name="FishingExtravaganzaMini10" inherits="FishingExtravaganzaMiniTemplate" id="10" hidden="false" parent="Minimap" toplevel="true"/>

	<Frame name="FishingExtravaganzaFrame" frameStrata="BACKGROUND" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
	        <Size>
        	    <AbsDimension x="150" y="25"/>
	        </Size>
        	<Anchors>
	            <Anchor point="CENTER"/>
	        </Anchors>
        	<TitleRegion setAllPoints="true"/>
		<Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="3" right="5" top="3" bottom="3"/>
			</BackgroundInsets>
		</Backdrop>
	        <Frames>
	            <Button name="$parentButton">
	                <Size>
	                    <AbsDimension x="150" y="25"/>
	                </Size>
	                <Anchors>
	                    <Anchor point="CENTER">
	                        <Offset>
	                            <AbsDimension x="0" y="0"/>
	                        </Offset>
	                    </Anchor>
	                </Anchors>
	                <Layers>
	                    <Layer level="BACKGROUND">
	                        <FontString name="$parentText" inherits="GameFontNormal" wraponspaces="true">
	                            <Anchors>
	                                <Anchor point="CENTER">
	                                    <Offset>
	                                        <AbsDimension x="0" y="0"/>
	                                    </Offset>
	                                </Anchor>
	                            </Anchors>
	                        </FontString>
	                    </Layer>
	                </Layers>
	                <Scripts>
	                	<OnMouseDown>
		  			FishingBuddy.Extravaganza.OnDragStart(arg1);
		  		</OnMouseDown>
		  		<OnMouseUp>
		  			FishingBuddy.Extravaganza.OnDragStop(arg1);
		  		</OnMouseUp>
		  		<OnDragStart>
		  			FishingBuddy.Extravaganza.OnDragStart(arg1);
		  		</OnDragStart>
		  		<OnDragStop>
		  			FishingBuddy.Extravaganza.OnDragStop(arg1);
		  		</OnDragStop>
		  	</Scripts>
	            </Button>
	        </Frames>
	        <Scripts>
	            <OnLoad>
	               FishingBuddy.Extravaganza.OnLoad();
	            </OnLoad>
	            <OnShow>
	               FishingBuddy.Extravaganza.OnShow();
	            </OnShow>
	            <OnEvent>
	            	FishingBuddy.Extravaganza.OnEvent();
	            </OnEvent>
	            <OnUpdate>
	            	FishingBuddy.Extravaganza.OnUpdate(arg1);
	            </OnUpdate>
	        </Scripts>
	</Frame>

	<Frame name="FishingExtravaganzaPOIUpdate" hidden="true">
		<Scripts>
	            <OnUpdate>
	            	FishingBuddy.Extravaganza.POI_OnUpdate(arg1);
	            </OnUpdate>
		</Scripts>
	</Frame>	
</Ui>
