<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="FishingOutfitFrame.lua"/>
	<GameTooltip name="FishingOutfitTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate">
		<Scripts> 
			<OnLoad> 
				this:SetOwner(WorldFrame, "ANCHOR_NONE"); 
			</OnLoad> 
		</Scripts> 
	</GameTooltip>
	<Button name="FishingOutfitFrameLabel" hidden="false" virtual="true">
		<Size>
			<AbsDimension x="90" y="16"/>
		</Size>
		<ButtonText name="$parentText" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="3" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<NormalFont inherits="GameFontNormalSmall" />
		<Scripts>
			<OnEnter>
				if ( this.tooltip ) then
					GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
					GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
					GameTooltip:Show();
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>

	<Frame name="FishingOutfitFrame" inherits="OutfitDisplayFrame" setAllPoints="true" enableMouse="true" parent="FishingBuddyFrame" hidden="true">
		<Frames>
			<Button name="FishingOutfitSkill" inherits="FishingOutfitFrameLabel">
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentHandsSlotCheckBox" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-15" y="0"/>
						</Offset>
					</Anchor>					
				</Anchors>
			</Button>
			<Button name="FishingOutfitStyle" inherits="FishingOutfitFrameLabel">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="FishingOutfitSkill" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="FishingOutfitSwitchButton" inherits="UIPanelButtonTemplate" text="" hidden="false">
				<Size>
					<AbsDimension x="160" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="FishingOutfitFrame" relativePoint="TOP">
						<Offset>
							<AbsDimension x="0" y="-48"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
					    FB_OutfitFrame.Button_OnClick();
					</OnClick>
					<OnEnter>
						GameTooltip:SetText(FB_ODFConstants.SWITCHOUTFIT_INFO);
						GameTooltip:Show();
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Frame name="FishingOutfitUpdate" hidden="true">
				<Scripts>
					<OnUpdate>
						FB_OutfitFrame.Update(arg1);
					</OnUpdate>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				FB_OutfitFrame.OnLoad();
			</OnLoad>
			<OnEvent>
				FB_OutfitFrame.OnEvent();
			</OnEvent>
			<OnShow>
				FB_OutfitFrame.OnShow();
			</OnShow>
			<OnHide>
				FB_OutfitFrame.OnHide();
			</OnHide>
			<OnMouseWheel>
				return;
			</OnMouseWheel>
		</Scripts>
	</Frame>
</Ui>

