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

    <FontString name="MegaDamageSpellFont" font="Fonts\FRIZQT__.TTF" outline="THICK" virtual="true">
        <FontHeight val="48"/>
    </FontString>

    <FontString name="MegaDamageBottomFont" font="Fonts\FRIZQT__.TTF" outline="NORMAL" virtual="true">
        <FontHeight val="48"/>
    </FontString>

    <Frame name="MegaDamageFrame" parent="UIParent" frameStrata="HIGH" toplevel="true" hidden="true" enableMouse="false" movable="true">
        <Size>
            <AbsDimension x="750" y="250"/>
        </Size>
        <Anchors>
            <Anchor point="TOP" relativeTo="RaidWarningFrame" relativePoint="BOTTOM">
                <Offset>
                    <AbsDimension x="0" y="40"/>
                </Offset>
            </Anchor>
        </Anchors>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="$parentUnlockBG" hidden="true">
                    <Size>
                        <AbsDimension x="750" y="250"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP">
                            <Offset>
                                <AbsDimension x="0" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                    <Color r="0.5" g="0" b="0" a="0.4"/>
                </Texture>
            </Layer>
            <Layer level="BORDER">
                <Texture name="$parentBackground" file="Interface\AddOns\MegaDamage\rippers">
                    <Size>
                        <AbsDimension x="350" y="350"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP">
                            <Offset>
                                <AbsDimension x="0" y="50"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="ARTWORK">
                    <Texture name="$parentFlash" file="Interface\AddOns\MegaDamage\rippers-flash" hidden="true">
                    <Size>
                        <AbsDimension x="350" y="350"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP">
                            <Offset>
                                <AbsDimension x="0" y="50"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <FontString name="$parentSlot1" inherits="MegaDamageSpellFont" justifyH="CENTER" hidden="true">
                    <Size x="1500" y="0"/>
                    <Anchors>
                        <Anchor point="TOP">
                            <Offset>
                                <AbsDimension x="0" y="-40"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
                <FontString name="$parentSlot2" inherits="MegaDamageBottomFont" justifyH="CENTER" hidden="true">
                    <Size x="1500" y="0"/>
                    <Anchors>
                        <Anchor point="TOP" relativeTo="$parentSlot1" relativePoint="BOTTOM">
                            <Offset>
                                <AbsDimension x="0" y="-10"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
        <Scripts>
            <OnLoad function="MegaDamage_OnLoad"/>
            <OnEvent function="MegaDamage_OnEvent"/>
            <OnUpdate function="MegaDamage_OnUpdate"/>
            <OnDragStart>
                self:StartMoving();
            </OnDragStart>
            <OnDragStop>
                self:StopMovingOrSizing();
            </OnDragStop>
        </Scripts>
    </Frame>

</Ui>
