<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="SpellHelper.lua"/>
	<CheckButton name="SpellHelperButtonTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="37" y="37"/>
		</Size>
		<Layers>
			<Layer level="BORDER">
				<Texture name="$parentIconTexture" setAllPoints="true" hidden="false"/>
				<FontString name="$parentSpellName" inherits="GameFontNormal" maxLines="3" hidden="true" justifyH="LEFT">
					<Size>
						<AbsDimension x="103" y="0"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="4" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentSubSpellName" inherits="SubSpellFont" hidden="true" justifyH="LEFT">
					<Size>
						<AbsDimension x="79" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentSpellName" relativePoint="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="0" y="4"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentAutoCastable" file="Interface\Buttons\UI-AutoCastableOverlay" hidden="true">
					<Size>
						<AbsDimension x="60" y="60"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>		
			</Layer>
		</Layers>
		<Frames>
			<Model name="$parentCooldown" inherits="CooldownFrameTemplate"/>
			<Model name="$parentAutoCast" file="Interface\Buttons\UI-AutoCastButton.mdx" scale="1.22" hidden="true">
				<Size>
					<AbsDimension x="36" y="36"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="1" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetSequence(0);
						this:SetSequenceTime(0, 0);
					</OnLoad>
				</Scripts>
			</Model>
		</Frames>
		<Scripts>
			<OnLoad>
				SpellHelperButton_OnLoad();
			</OnLoad>
			<OnClick>
				SpellHelperButton_OnClick(1);
			</OnClick>
			<OnDragStart>
				SpellHelperButton_OnClick(1);
			</OnDragStart>
			<OnEnter>
				SpellHelperButton_OnEnter();
			</OnEnter>
			<OnLeave>
				this.updateTooltip = nil;
				GameTooltip:Hide();
			</OnLeave>
			<OnUpdate>
				SpellHelperButton_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</CheckButton>
	<Frame name="SpellHelperFrame" parent="UIParent" enableMouse="false" frameStrata="LOW">
		<Size>
			<AbsDimension x="160" y="40"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
				<Offset>
					<AbsDimension x="0" y="-150"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<CheckButton name="SpellHelperButton1" inherits="SpellHelperButtonTemplate">
                <Anchors>
                    <Anchor point="LEFT" relativePoint="LEFT">
                        <Offset>
                            <AbsDimension x="0" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
			</CheckButton>
			<CheckButton name="SpellHelperButton2" inherits="SpellHelperButtonTemplate">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="SpellHelperButton1" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="3" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
			</CheckButton>
			<CheckButton name="SpellHelperButton3" inherits="SpellHelperButtonTemplate">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="SpellHelperButton2" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="3" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
			</CheckButton>
			<CheckButton name="SpellHelperButton4" inherits="SpellHelperButtonTemplate">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="SpellHelperButton3" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="3" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
			</CheckButton>
		</Frames>
		<Scripts>
			<OnLoad>
				SpellHelper_OnLoad();
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="SpellHelperFlashFrame" hidden="true">
		<Size>
			<AbsDimension x="10" y="10"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="SpellHelperButton1">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="SpellHelperButton1Flash" file="Interface\Buttons\CheckButtonGlow" alphaMode="ADD" hidden="true">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="SpellHelperButton1"/>
					</Anchors>
				</Texture>
				<Texture name="SpellHelperButton2Flash" file="Interface\Buttons\CheckButtonGlow" alphaMode="ADD" hidden="true">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="SpellHelperButton2"/>
					</Anchors>
				</Texture>
				<Texture name="SpellHelperButton3Flash" file="Interface\Buttons\CheckButtonGlow" alphaMode="ADD" hidden="true">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="SpellHelperButton3"/>
					</Anchors>
				</Texture>
				<Texture name="SpellHelperButton4Flash" file="Interface\Buttons\CheckButtonGlow" alphaMode="ADD" hidden="true">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="SpellHelperButton4"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
	</Frame>
</Ui>
