<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="GwAlertFrameOffsetter" toplevel="true" parent="UIParent" frameStrata="BACKGROUND" frameLevel="1" enableMouse="false" hidden="true">
        <Size x="800" y="140"/>
        <Anchors>
            <Anchor point="BOTTOM" x="0" y="300"/>
        </Anchors>
    </Button>

    <Button name="GwAddonToggle" frameStrata="MEDIUM" virtual="true">
        <Size x="38" y="38"/>
        <NormalTexture file="Interface/AddOns/GW2_UI/textures/icons/addondropout.png">
            <Size x="38" y="38"></Size>
            <Anchors>
                <Anchor point="CENTER"></Anchor>
            </Anchors>
        </NormalTexture>
        <HighlightTexture file="Interface/AddOns/GW2_UI/textures/icons/addondropout.png" alphaMode="ADD" alpha="0.5">
            <Size x="38" y="38"></Size>
            <Anchors>
                <Anchor point="CENTER"></Anchor>
            </Anchors>

        </HighlightTexture>
        <PushedTexture file="Interface/AddOns/GW2_UI/textures/icons/addondropout.png" alpha="0.5">
            <Size x="38" y="38"></Size>
            <Anchors>
                <Anchor point="CENTER"></Anchor>
            </Anchors>

        </PushedTexture>
        <Frames>
            <Frame parentKey="container" hidden="true">
                <Size x="35" y="30"/>
                <Anchors>
                    <Anchor point="RIGHT" relativePoint="LEFT"></Anchor>
                </Anchors>
            </Frame>
        </Frames>
    </Button>

    <Frame name="GwLfgQueueIcon"  virtual="true">
        <Size x="26" y="26"></Size>
        <Animations>
            <AnimationGroup parentKey="animation" looping="REPEAT">
                <Alpha target="lfg2" parentKey="frame1" fromAlpha="0" toAlpha="1" duration="0.8" smoothing="IN" order="1"/>
                <Alpha target="lfg3" parentKey="frame2" fromAlpha="0" toAlpha="1" duration="0.8" smoothing="IN" order="2"/>
                <Alpha target="lfg4" parentKey="frame3a" fromAlpha="0" toAlpha="1" duration="0.8" smoothing="IN" order="3"/>
                <Alpha target="lfg5" parentKey="frame3b" fromAlpha="0" toAlpha="1" duration="0.8" smoothing="IN" order="3"/>
                <Alpha target="lfg2" parentKey="frame4a" fromAlpha="1" toAlpha="0" duration="1" smoothing="OUT" startDelay="0.5" order="4"/>
                <Alpha target="lfg3" parentKey="frame4b" fromAlpha="1" toAlpha="0" duration="1" smoothing="OUT" startDelay="0.5" order="4"/>
                <Alpha target="lfg4" parentKey="frame4c" fromAlpha="1" toAlpha="0" duration="1" smoothing="OUT" startDelay="0.5" order="4"/>
                <Alpha target="lfg5" parentKey="frame4d" fromAlpha="1" toAlpha="0" duration="1" smoothing="OUT" startDelay="0.5" order="4"/>
            </AnimationGroup>
        </Animations>
        <Layers>
            <Layer level="OVERLAY">
                <Texture name="lfg2" file="Interface/AddOns/GW2_UI/textures/icons/lfganimation-2.png" alpha="0">
                    <TexCoords left="0" right="1" top="0" bottom="1" />
                    <Size x="26" y="26"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="lfg3" file="Interface/AddOns/GW2_UI/textures/icons/lfganimation-3.png" alpha="0">
                    <TexCoords left="0" right="1" top="0" bottom="1" />
                    <Size x="26" y="26"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="lfg4" file="Interface/AddOns/GW2_UI/textures/icons/lfganimation-4.png" alpha="0">
                    <TexCoords left="0" right="1" top="0" bottom="1" />
                    <Size x="26" y="26"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="OVERLAY">
                <Texture name="lfg5" file="Interface/AddOns/GW2_UI/textures/icons/lfganimation-5.png" alpha="0">
                    <TexCoords left="0" right="1" top="0" bottom="1" />
                    <Size x="26" y="26"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>

    <Frame name="GwMapGradient" frameStrata="MEDIUM" frameLevel="2" virtual="true">
        <Size x="32" y="32"></Size>
        <Layers>
            <Layer>
                <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/gradient.png">
                    <Color r="0" g="0" b="0" a="0.7"></Color>
                    <Anchors>
                        <Anchor point="TOP" relativePoint="TOP"></Anchor>
                        <Anchor point="LEFT" relativePoint="LEFT"></Anchor>
                        <Anchor point="RIGHT" relativePoint="RIGHT"></Anchor>
                        <Anchor point="BOTTOM" relativePoint="BOTTOM"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>

     <Frame name="GwMiniMapTrackingFrame" enableMouse="true" hidden="true" virtual="true">
        <Size>
            <AbsDimension x="33" y="33"/>
        </Size>
        <Anchors>
            <Anchor point="TOPLEFT">
                <Offset>
                    <AbsDimension x="-15" y="0"/>
                </Offset>
            </Anchor>
        </Anchors>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="icon" file="Interface\AddOns\GW2_UI\Textures\icons/track-icons-map.png">
                    <Size>
                        <AbsDimension x="40" y="40"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnMouseUp>
                if button == "RightButton" then
                    CancelTrackingBuff()
                end
            </OnMouseUp>
            <OnEnter>
                GameTooltip:SetOwner(self, "ANCHOR_LEFT");
                GameTooltip:SetTrackingSpell()
                GameTooltip:Show();
            </OnEnter>
            <OnLeave>
                GameTooltip:Hide()
            </OnLeave>
        </Scripts>
    </Frame>

    <DropdownButton name="GwMiniMapTrackingFrameDropDownTemplate" mixin="MiniMapTrackingButtonMixin" enableMouse="true" hidden="true" virtual="true">
        <Size>
            <AbsDimension x="30" y="30"/>
        </Size>
        <Anchors>
            <Anchor point="TOPLEFT">
                <Offset>
                    <AbsDimension x="-15" y="0"/>
                </Offset>
            </Anchor>
        </Anchors>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="icon" file="Interface\AddOns\GW2_UI\Textures\icons\track-icons-map.png">
                    <Size>
                        <AbsDimension x="30" y="30"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnEnter method="OnEnter"/>
			<OnLeave method="OnLeave"/>
        </Scripts>
    </DropdownButton>

    <Button name="GwMapTime" frameStrata="MEDIUM" registerForClicks="LeftButtonUp,RightButtonUp" enableMouse="true" frameLevel="2" virtual="true">
        <Size x="50" y="20"></Size>
        <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"></Anchor>
        </Anchors>
        <Layers>
            <Layer>
                <FontString parentKey="Time" justifyH="CENTER" justifyV="MIDDLE">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
    </Button>
    <Button name="GwMapCoords" frameStrata="MEDIUM" enableMouse="true" frameLevel="2" virtual="true">
        <Size x="50" y="20"></Size>
        <Anchors>
            <Anchor point="BOTTOM" relativePoint="BOTTOM"></Anchor>
        </Anchors>
        <Layers>
            <Layer>
                <FontString parentKey="Coords" justifyH="CENTER" justifyV="MIDDLE">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
    </Button>
    <Button name="GwMapFPS" frameStrata="MEDIUM" enableMouse="false" frameLevel="2" virtual="true">
        <Size x="50" y="20"></Size>
        <Anchors>
            <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-5" y="0"></Anchor>
        </Anchors>
        <Layers>
            <Layer>
                <FontString parentKey="fps" justifyH="CENTER" justifyV="MIDDLE">
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
    </Button>

    <Frame name="GwChatContainer" frameStrata="BACKGROUND" virtual="true">
        <Size x="20" y="4"></Size>
        <Layers>
            <Layer level="ARTWORK" textureSubLevel="-1">
                <Texture name="$parentTexture" parentKey="texture" file="Interface/AddOns/GW2_UI/textures/chat/chatframebackground.png">
                    <Anchors>
                        <Anchor point="LEFT" relativePoint="LEFT" x="0" y="0"></Anchor>
                        <Anchor point="RIGHT" relativePoint="RIGHT" x="0" y="0"></Anchor>
                        <Anchor point="TOP" relativePoint="TOP" x="0" y="0"></Anchor>
                        <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="ARTWORK" textureSubLevel="0">
                <Texture name="$parentRight" file="Interface/AddOns/GW2_UI/textures/chat/chatframeborder.png">
                    <Size x="2" y="2"></Size>
                    <Anchors>
                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="0"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"></Anchor>
                    </Anchors>
                </Texture>

                <Texture name="$parentRight" file="Interface/AddOns/GW2_UI/textures/chat/chatdockbg.png">
                    <Size x="2" y="25"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="0"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="ARTWORK" textureSubLevel="0">
                <Texture name="$parentEditBox" parentKey="EditBox" file="Interface/AddOns/GW2_UI/textures/chat/chateditboxmid.png">
                    <Size x="2" y="32"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>

    <Frame name="GwMinimapShadow" virtual="true">
        <Anchors>
            <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="TOPLEFT" x="-1" y="1"></Anchor>
            <Anchor point="BOTTOMRIGHT" relativeTo="Minimap" relativePoint="BOTTOMRIGHT" x="1" y="-1"></Anchor>
        </Anchors>
        <Layers>
            <Layer>

                <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/statusbarborderpixel.png">
                    <Size x="314" y="2"/>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="1"/>
                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"  x="0" y="1"/>
                    </Anchors>
                </Texture>
                <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/statusbarborderpixel.png">
                    <Size x="314" y="2"/>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"  x="0" y="-1"/>
                    </Anchors>
                    <TexCoords left="0" right="1" top="1" bottom="0" />
                </Texture>

            <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/statusbarborderpixelvertical.png">
                <Size x="2" y="2"/>
                <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="1" y="1"/>
                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="1" y="-1"/>
                </Anchors>
            </Texture>
            <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/statusbarborderpixelvertical.png">
                <Size x="2" y="2"/>
                <Anchors>
                    <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="-1" y="1"/>
                    <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="-1" y="-1"/>
                </Anchors>
                <TexCoords left="1" right="0" top="0" bottom="1" />
            </Texture>
            </Layer>
        </Layers>
    </Frame>

    <Frame name="GwCastingBarSegmentSep" virtual="true">
        <Size x="1" y="15"></Size>
        <Anchors>
            <Anchor point="TOPLEFT"></Anchor>
        </Anchors>
        <Layers>
            <Layer level="ARTWORK" textureSubLevel="4">
                <Texture parentKey="line" file="Interface/AddOns/GW2_UI/textures/units/castingbarsdf.png">
                    <Size x="1" y="15"></Size>
                    <Anchors>
                        <Anchor point="TOP" relativePoint="TOP"></Anchor>
                    </Anchors>
                    <TexCoords left="0" right="0.5" top="0" bottom="0.25" />
                    <Color r="1" g="1" b="1" a="1"></Color>
                </Texture>
                <FontString parentKey="rank" justifyH="CENTER" justifyV="MIDDLE">
                    <Size x="15" y="15"></Size>
                    <Anchors>
                        <Anchor point="TOP" relativePoint="BOTTOM" x="0" y="0"></Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
    </Frame>

    <Frame name="GwCastingBar" virtual="true" frameStrata="DIALOG" mixin="GwCastingBarMixin">
        <Size x="176" y="15"></Size>
        <Anchors>
            <Anchor point="CENTER"></Anchor>
        </Anchors>
        <Layers>
            <Layer level="ARTWORK">
                <Texture parentKey="background" file="Interface/AddOns/GW2_UI/textures/units/castingbarsdf.png">
                    <Size x="176" y="15"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"></Anchor>
                    </Anchors>
                    <TexCoords left="0" right="0.5" top="0" bottom="0.25" />
                    <Color r="1" g="1" b="1" a="0.6"></Color>
                </Texture>
            </Layer>

            <Layer level="ARTWORK" textureSubLevel="4">
                <FontString parentKey="name" justifyH="LEFT" justifyV="MIDDLE">
                    <Size x="155" y="15"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0"></Anchor>
                    </Anchors>
                </FontString>
                <FontString parentKey="time" justifyH="RIGHT" justifyV="MIDDLE">
                    <Size x="70" y="15"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="0"></Anchor>
                    </Anchors>
                </FontString>
                <Texture parentKey="icon">
                    <Size x="30" y="30"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"></Anchor>
                    </Anchors>
                    <TexCoords left="0.1" right="0.9" top="0.1" bottom="0.9" />
                </Texture>
            </Layer>
        </Layers>
        <Frames>
            <StatusBar parentKey="progress" inherits="GwStatusBarBar">
                 <Size x="176" y="15"></Size>
                 <BarTexture parentKey="internalBar" file="Interface/AddOns/GW2_UI/textures/units/castingbars/yellow-norm.png"/>
                <BarColor r="1" g="1" b ="1" a="1"/>
                    <Layers>
                     <Layer level="ARTWORK" textureSubLevel="3">
                         <Texture parentKey="latency" file="Interface/AddOns/GW2_UI/textures/units/castingbars/red-norm.png" hidden="true">
                           <Size x="176" y="15"></Size>
                                <Anchors>
                                    <Anchor point="RIGHT" relativePoint="RIGHT"></Anchor>
                                </Anchors>
                                <Color r="1" g="1" b="1" a="0.5"></Color>
                       
                            </Texture>
                        </Layer>
                        <Layer level="ARTWORK" textureSubLevel="4">
                            <Texture parentKey="spark" alphaMode="ADD" file="Interface/AddOns/GW2_UI/textures/uistuff/statusbar-spark-white.png">
                                <Size x="32" y="18"></Size>
                                <Anchors>
                                    <Anchor point="LEFT" relativeKey="$parent.internalBar" relativePoint="LEFT" x="0" y="0"></Anchor>
                                </Anchors>
                      
                                <Color r="1" g="1" b="1" a="0.7"></Color>
                            </Texture>
                            <Texture parentKey="highlight" file="Interface/AddOns/GW2_UI/textures/units/castingbars/yellow-norm.png" hidden="true">
                                <Size x="176" y="15"></Size>
                                <Anchors>
                                    <Anchor point="LEFT" relativePoint="LEFT"></Anchor>
                                </Anchors>
                            </Texture>
                        </Layer>
                    </Layers>
            
            </StatusBar>
        </Frames>
    </Frame>

    <Frame name="GwChatBubble" virtual="true">
        <Size x="300" y="100"></Size>
        <Anchors>
            <Anchor point="CENTER"></Anchor>
        </Anchors>
        <Layers>
            <Layer level="ARTWORK" textureSubLevel="-8">
                <Texture parentKey="background" file="Interface/AddOns/GW2_UI/textures/chat/chatbubble-background.png">
                    <Size x="1" y="1"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"></Anchor>
                    </Anchors>
                </Texture>
                <Texture parentKey="left" file="Interface/AddOns/GW2_UI/textures/chat/bubble-left.png">
                    <Size x="32" y="1"></Size>
                    <Anchors>
                        <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"></Anchor>
                    </Anchors>
                </Texture>
                <Texture parentKey="right" file="Interface/AddOns/GW2_UI/textures/chat/bubble-right.png">
                    <Size x="32" y="1"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"></Anchor>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"></Anchor>
                    </Anchors>
                </Texture>
                <Texture parentKey="bottom" file="Interface/AddOns/GW2_UI/textures/chat/bubble-bottom.png">
                    <Size x="1" y="16"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="-10"></Anchor>
                        <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="0"></Anchor>
                    </Anchors>
                </Texture>
                <Texture parentKey="top" file="Interface/AddOns/GW2_UI/textures/chat/bubble-top.png">
                    <Size x="1" y="16"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="-10"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-25"></Anchor>
                    </Anchors>
                </Texture>

                <Texture parentKey="cornerTopRight" file="Interface/AddOns/GW2_UI/textures/chat/bubble-corner-top-right.png">
                    <Size x="32" y="16"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPRIGHT" x="-25"></Anchor>

                    </Anchors>
                </Texture>
                <Texture parentKey="cornerBottomRight" file="Interface/AddOns/GW2_UI/textures/chat/bubble-corner-bottom-right.png">
                    <Size x="32" y="16"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="BOTTOMRIGHT" x="0"></Anchor>

                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="ARTWORK" textureSubLevel="-7">
                <FontString name="$parentString" parentKey="string" text="Not yet loaded" justifyH="CENTER" justifyV="MIDDLE">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="10" y="-10"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-10" y="10"></Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
    </Frame>
    <Frame name="GwLFDAnimation" virtual="true">
        <Size x="35" y="35"></Size>
        <Anchors>
            <Anchor point="CENTER"></Anchor>
        </Anchors>
        <Layers>
            <Layer level="ARTWORK" textureSubLevel="-8">
                <Texture parentKey="background" file="Interface/AddOns/GW2_UI/textures/hud/lfd-animation.png">
                    <Size x="1" y="1"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT"></Anchor>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"></Anchor>
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Frame>

</Ui>
