<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">

    <Frame name="GwBankFrameTemplate" frameStrata="HIGH" movable="true" resizable="true" virtual="true" hidden="true" toplevel="true" enablemouse="true">
        <HitRectInsets>
            <AbsInset left="-40" right="0" top="-40" bottom="-40"/>
        </HitRectInsets>
        <Size x="768" y="512"></Size>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="Texture" file="Interface/AddOns/GW2_UI/textures/bag/bankbg.png">
                    <Size x="768" y="512"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" />
                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="0" />
                    </Anchors>
                </Texture>
                <Texture parentKey="Header" file="Interface/AddOns/GW2_UI/textures/bag/bagheader.png">
                    <Size x="512" y="64"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0" />
                    </Anchors>
                </Texture>
                <Texture file="Interface/AddOns/GW2_UI/textures/bag/bagheader-right.png">
                    <Size x="512" y="64"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="0" />
                    </Anchors>
                </Texture>
                <Texture file="Interface/AddOns/GW2_UI/textures/bag/bagfooter.png">
                    <Size x="512" y="70"></Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="2" />
                        <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="2" />
                    </Anchors>
                </Texture>
                <Texture parentKey="Left" file="Interface/AddOns/GW2_UI/textures/bag/bagleftpanel.png">
                    <Size x="40" y="512"></Size>
                    <Anchors>
                        <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="0" y="0" />
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="0" y="0" />
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="BORDER">
                <Texture file="Interface/AddOns/GW2_UI/textures/bag/bagicon.png">
                    <Size x="84" y="84"></Size>
                    <Anchors>
                        <Anchor point="CENTER" relativePoint="TOPLEFT" x="-16" y="16" />
                    </Anchors>
                </Texture>
                <Texture file="Interface/AddOns/GW2_UI/textures/bag/bottom-right.png">
                    <Size x="128" y="128"></Size>
                    <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
                    </Anchors>
                </Texture>
                <FontString parentKey="headerString" text="Bank" inherits="GameFontNormalSmall" justifyH="LEFT">
                    <Size x="512" y="40"></Size>
                    <Color r="1" b="0.73" g="0.93"></Color>
                    <Anchors>
                        <Anchor point="TOPLEFT" x="30" y="40"></Anchor>
                    </Anchors>
                </FontString>
                <FontString parentKey="spaceString" text="100/100" inherits="GameFontNormalSmall" justifyH="LEFT">
                    <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="8" y="-8" />
                    </Anchors>
                    <Size x="200" y="24" />
                </FontString>
            </Layer>
        </Layers>
        <Frames>
            <Frame parentkey="mover" enableMouse="true">
                <Size y="40" />
                <Anchors>
                    <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="-40" y="0"></Anchor>
                    <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-30" y="0"></Anchor>
                </Anchors>
            </Frame>
            <Frame parentKey="sizer" enableMouse="true">
                <Size x="20" y="20"></Size>
                <Anchors>
                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"></Anchor>
                </Anchors>
                <Layers>
                    <Layer level="OVERLAY">
                        <Texture file="Interface/AddOns/GW2_UI/textures/uistuff/resize.png">
                            <Size x="32" y="32"></Size>
                            <Anchors>
                                <Anchor point="BOTTOMRIGHT" x="0" y="0"></Anchor>
                            </Anchors>
                        </Texture>
                    </Layer>
                </Layers>
            </Frame>
            <Button parentKey="buttonSettings" text="">
                <Size x="24" y="24" />
                <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-8" y="-8"/>
                </Anchors>
                <NormalTexture file="Interface/AddOns/GW2_UI/textures/icons/mainmenumicrobutton-up.png"></NormalTexture>
                <PushedTexture file="Interface/AddOns/GW2_UI/textures/icons/mainmenumicrobutton-down.png"></PushedTexture>
                <HighlightTexture file="Interface/AddOns/GW2_UI/textures/icons/mainmenumicrobutton-down.png"></HighlightTexture>
            </Button>
            <Button parentKey="buttonSort" text="">
                <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-40" y="-8" />
                </Anchors>
                <Size x="24" y="24" />
                <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-10" y="30"/>
                </Anchors>
                <NormalTexture file="Interface/AddOns/GW2_UI/textures/icons/bagmicrobutton-up.png"></NormalTexture>
                <PushedTexture file="Interface/AddOns/GW2_UI/textures/icons/bagmicrobutton-down.png"></PushedTexture>
                <HighlightTexture file="Interface/AddOns/GW2_UI/textures/icons/bagmicrobutton-down.png"></HighlightTexture >
                <NormalFont style="ChatBubbleFont"></NormalFont>
                <HighlightFont style="ChatBubbleFont"></HighlightFont>
            </Button>
            <Button name="$parentClose" parentKey="buttonClose" text="">
                <Size x="20" y="20" />
                <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-10" y="30"/>
                </Anchors>
                <NormalTexture file="Interface/AddOns/GW2_UI/textures/uistuff/window-close-button-normal.png"></NormalTexture>
                <PushedTexture file="Interface/AddOns/GW2_UI/textures/uistuff/window-close-button-hover.png"></PushedTexture>
                <HighlightTexture file="Interface/AddOns/GW2_UI/textures/uistuff/window-close-button-hover.png"></HighlightTexture>
                <NormalFont style="ChatBubbleFont"></NormalFont>
                <HighlightFont style="ChatBubbleFont"></HighlightFont>
            </Button>
            <Frame parentKey="ItemFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="6" y="-73"></Anchor>
                    <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-4" y="3"></Anchor>
                </Anchors>
            </Frame>
        </Frames>
    </Frame>

    <Button name="GwBankBagTemplate" inherits="BankItemButtonBagTemplate" virtual="true">
        <Size x="28" y="28"></Size>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="gwBackdrop" file="Interface/AddOns/GW2_UI/textures/bag/bagitembackdrop.png">
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" />
                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="0" />
                    </Anchors>
                </Texture>
            </Layer>
        </Layers>
    </Button>

    <Button name="GwBankBaseBagTemplate" virtual="true">
        <Size x="28" y="28"></Size>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture parentKey="gwBackdrop" file="Interface/AddOns/GW2_UI/textures/bag/bagitembackdrop.png">
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" />
                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="0" y="0" />
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="BORDER">
                <Texture name="$parentIconTexture" parentKey="icon"/>
            </Layer>
            <Layer level="OVERLAY">
                <Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame" hidden="true">
                    <Size x="37" y="37"/>
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="OVERLAY" textureSubLevel="1">
                <Texture parentKey="IconOverlay" hidden="true">
                    <Size x="37" y="37"/>
                    <Anchors>
                        <Anchor point="CENTER"/>
                    </Anchors>
                </Texture>
            </Layer>
            <Layer level="ARTWORK" textureSubLevel="2">
                <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true" parentKey="Count">
                    <Anchors>
                        <Anchor point="BOTTOMRIGHT">
                            <Offset>
                                <AbsDimension x="-5" y="2"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
        <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">
            <Size>
                <AbsDimension x="64" y="64"/>
            </Size>
            <Anchors>
                <Anchor point="CENTER">
                    <Offset>
                        <AbsDimension x="0" y="-1"/>
                    </Offset>
                </Anchor>
            </Anchors>
        </NormalTexture>
        <PushedTexture file="Interface/AddOns/GW2_UI/textures/uistuff/ui-quickslot-depress.png"/>
        <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
    </Button>

</Ui>
