<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">
	<Button name="FishingActionButton" parent="MainMenuBar" enableMouse="true" inherits="SecureActionButtonTemplate, SecureHandlerStateTemplate, SecureHandlerAttributeTemplate">
		<Size x="52" y="52"/>
		<Animations>
			<AnimationGroup parentKey="Intro">
				<Alpha fromAlpha="0" toAlpha="1" duration="0.3" order="1"/>
				<Scripts>
					<OnFinished>
						self:GetParent():SetAlpha(1.0);
					</OnFinished>
				</Scripts>
			</AnimationGroup>
			<AnimationGroup parentKey="Outro">
				<Alpha fromAlpha="1" toAlpha="0" duration="0.3" order="1"/>
				<Scripts>
					<OnFinished>
						self:GetParent():SetAlpha(0.0);
						self:GetParent():Hide();
					</OnFinished>
				</Scripts>
			</AnimationGroup>
		</Animations>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentIcon" parentKey="Icon"/>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentFlash" parentKey="Flash" file="Interface\Buttons\UI-QuickslotRed" hidden="true"/>
				<Texture parentKey="Style" file="Interface\ExtraButton\Default">
					<Size x="256" y="128"/>
					<Anchors>
						<Anchor point="CENTER" x="-2" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK" textureSubLevel="2">
				<Texture name="$parentFlyoutArrow" inherits="ActionBarFlyoutButton-ArrowUp" parentKey="FlyoutArrow" hidden="true"/>
				<FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" parentKey="HotKey" justifyH="RIGHT">
					<Anchors>
						<Anchor point="TOPLEFT" x="1" y="-3"/>
					</Anchors>
				</FontString>
				<FontString name="$parentCount" inherits="NumberFontNormal" parentKey="Count" justifyH="RIGHT">
					<Anchors>
						<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate" parentKey="Cooldown">
				<Anchors>
					<Anchor point="TOPLEFT" x="5" y="-4"/>
					<Anchor point="BOTTOMRIGHT" x="-5" y="5"/>
				</Anchors> 
			</Cooldown>
		</Frames>
	</Button>

	<Script file="FishingRaid.lua"/>
</Ui>
