<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>
		<NormalText name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="3" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
		<HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parentText" relativePoint="LEFT"/>
			</Anchors>
		</HighlightText>
		<DisabledText name="$parentDisabledText" inherits="GameFontDisableSmall" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parentText" relativePoint="LEFT"/>
			</Anchors>
		</DisabledText>
		<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>
					    FishingBuddy.OutfitFrame.Button_OnClick();
					</OnClick>
					<OnEnter>
						GameTooltip:SetText(FishingBuddy.SWITCHOUTFIT_INFO);
						GameTooltip:Show();
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Frame name="FishingOutfitUpdate" hidden="true">
				<Scripts>
					<OnUpdate>
						FishingBuddy.OutfitFrame.Update(arg1);
					</OnUpdate>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				FishingBuddy.OutfitFrame.OnLoad();
			</OnLoad>
			<OnShow>
				FishingBuddy.OutfitFrame.OnShow();
			</OnShow>
			<OnHide>
				FishingBuddy.OutfitFrame.OnHide();
			</OnHide>
			<OnMouseWheel>
				return;
			</OnMouseWheel>
		</Scripts>
	</Frame>
</Ui>
