vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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="atsw_customsorting.lua"/>

        <Button name="ATSWCSSkillButtonTemplate" hidden="true" virtual="true">
                <Size>
                        <AbsDimension x="293" y="16"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="$parentSubText" inherits="GameFontNormalSmall" justifyH="LEFT"/>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                this:SetFrameLevel(this:GetFrameLevel() + 1);
                        </OnLoad>
                        <OnClick>
                                ATSWCSSkillButton_OnClick(this.skillname);
                        </OnClick>
                        <OnEnter>
                                getglobal(this:GetName().."SubText"):SetTextColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
                        </OnEnter>
                        <OnLeave>
                                getglobal(this:GetName().."SubText"):SetTextColor(this.r, this.g, this.b);
                        </OnLeave>
                </Scripts>
                <NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </NormalText>
                <HighlightText name="$parentHighlightText" inherits="GameFontHighlight" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightText>
                <DisabledText name="$parentDisabledText" inherits="GameFontDisable" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </DisabledText>
        </Button>

        <Button name="ATSWCSCSkillButtonTemplate" hidden="true" virtual="true">
                <Size>
                        <AbsDimension x="240" y="16"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="$parentSubText" inherits="GameFontNormalSmall" justifyH="LEFT"/>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                this:SetFrameLevel(this:GetFrameLevel() + 1);
                        </OnLoad>
                        <OnClick>
                                ATSWCSCSkillButton_OnClick(this:GetParent().skillname);
                        </OnClick>
                        <OnEnter>
                                getglobal(this:GetName().."SubText"):SetTextColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
                        </OnEnter>
                        <OnLeave>
                                getglobal(this:GetName().."SubText"):SetTextColor(this.r, this.g, this.b);
                        </OnLeave>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
                        <Size>
                                <AbsDimension x="16" y="16"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT">
                                        <Offset>
                                                <AbsDimension x="3" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </NormalTexture>
                <HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="16" y="16"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT">
                                        <Offset>
                                                <AbsDimension x="3" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>
                <DisabledTexture file="Interface\Buttons\UI-PlusButton-Disabled">
                        <Size>
                                <AbsDimension x="16" y="16"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT">
                                        <Offset>
                                                <AbsDimension x="3" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </DisabledTexture>
                <NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </NormalText>
                <HighlightText name="$parentHighlightText" inherits="GameFontHighlight" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightText>
                <DisabledText name="$parentDisabledText" inherits="GameFontDisable" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="0" y="0"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
                                        <Offset>
                                                <AbsDimension x="2" y="1"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </DisabledText>
        </Button>

        <Frame name="ATSWCSCSkillFrame" virtual="true">
        <Size>
            <AbsDimension x="300" y="20"/>
        </Size>
        <Frames>
                        <Button name="$parentSkillButton" inherits="ATSWCSCSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="$parentMoveUp" inherits="UIPanelScrollUpButtonTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentSkillButton" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                ATSWCS_MoveUp(this:GetParent().skillname);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="$parentMoveDown" inherits="UIPanelScrollDownButtonTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentMoveUp" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                ATSWCS_MoveDown(this:GetParent().skillname);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="$parentDelete" inherits="UIPanelButtonTemplate" text="ATSW_DELETELETTER">
                                <Size>
                                        <AbsDimension x="20" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentMoveDown" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                ATSWCS_Delete(this:GetParent().skillname);
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
    </Frame>

        <Frame name="ATSWCSFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
                <TitleRegion setAllPoints="true"/>
        <Size>
            <AbsDimension x="768" y="512"/>
        </Size>
        <Anchors>
            <Anchor point="TOPLEFT">
                <Offset>
                    <AbsDimension x="0" y="-104"/>
                </Offset>
            </Anchor>
        </Anchors>
        <Layers>
                <Layer level="BACKGROUND">
                <Texture name="ATSWCSFramePortrait" file="Interface\Spellbook\Spellbook-Icon">
                    <Size>
                        <AbsDimension x="54" y="54"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="10" y="-8"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                        </Texture>
                </Layer>
                <Layer level="ARTWORK">
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopLeft">
                    <Size>
                        <AbsDimension x="256" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                    </Anchors>
                </Texture>
                <Texture file="Interface\AddOns\AdvancedTradeSkillWindow\UI-TaxiFrame-BotLeftReplacement">
                    <Size>
                        <AbsDimension x="256" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="0" y="-256"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\AddOns\AdvancedTradeSkillWindow\UI-TaxiFrame-InBetween1">
                    <Size>
                        <AbsDimension x="128" y="512"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                <AbsDimension x="256" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\AddOns\AdvancedTradeSkillWindow\UI-TaxiFrame-InBetween2">
                    <Size>
                        <AbsDimension x="256" y="512"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="384" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopRight">
                    <Size>
                        <AbsDimension x="128" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="640" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\AddOns\AdvancedTradeSkillWindow\UI-TaxiFrame-BotRightReplacement">
                    <Size>
                        <AbsDimension x="128" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="640" y="-256"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <FontString name="ATSWCSFrameTitleText" inherits="GameFontNormal" text="ATSWCS_TITLE">
                    <Size>
                        <AbsDimension x="600" y="14"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP" relativeTo="ATSWCSFrame" relativePoint="TOP">
                            <Offset>
                                <AbsDimension x="0" y="-17"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
            </Layer>
                        <Layer level="OVERLAY">
                                <FontString inherits="GameFontNormal" text="ATSWCS_TRADESKILLISTTITLE" justifyH="left">
                    <Size>
                        <AbsDimension x="200" y="14"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                            <Offset>
                                <AbsDimension x="30" y="-80"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                                        <Color r="1" g="1" b="1" a="1"/>
                </FontString>
                                <FontString inherits="GameFontNormal" text="ATSWCS_CATEGORYLISTTITLE" justifyH="right">
                    <Size>
                        <AbsDimension x="200" y="14"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="ATSWCSFrame" relativePoint="TOPRIGHT">
                            <Offset>
                                <AbsDimension x="-70" y="-80"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                                        <Color r="1" g="1" b="1" a="1"/>
                </FontString>
                        </Layer>
            </Layers>
            <Frames>
            <Button name="ATSWCSFrameCloseButton" inherits="UIPanelCloseButton">
                <Anchors>
                    <Anchor point="TOPRIGHT" relativeTo="ATSWCSFrame" relativePoint="TOPRIGHT">
                        <Offset>
                            <AbsDimension x="-29" y="-8"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                ATSWCS_HideWindow();
                                        </OnClick>
                                </Scripts>
            </Button>

                        <ScrollFrame name="ATSWCSUListScrollFrame" inherits="ATSWListScrollFrameTemplate">
                                <Size>
                                        <AbsDimension x="296" y="396"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="26" y="-96"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnVerticalScroll>
                                                FauxScrollFrame_OnVerticalScroll(16, ATSWCS_Update);
                                        </OnVerticalScroll>
                                        <OnShow>
                                                ATSWCS_Update()
                                        </OnShow>
                                </Scripts>
                        </ScrollFrame>

                        <ScrollFrame name="ATSWCSSListScrollFrame" inherits="ATSWListScrollFrameTemplate">
                                <Size>
                                        <AbsDimension x="296" y="396"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="402" y="-96"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnVerticalScroll>
                                                FauxScrollFrame_OnVerticalScroll(16, ATSWCS_Update);
                                        </OnVerticalScroll>
                                        <OnShow>
                                                ATSWCS_Update()
                                        </OnShow>
                                </Scripts>
                        </ScrollFrame>

                        <Button name="ATSWCSSkill1" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="34" y="-110"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill2" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill1" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill3" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill2" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill4" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill3" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill5" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill4" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill6" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill5" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill7" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill6" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill8" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill7" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill9" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill8" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill10" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill9" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill11" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill10" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill12" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill11" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill13" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill12" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill14" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill13" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill15" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill14" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill16" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill15" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill17" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill16" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill18" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill17" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill19" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill18" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill20" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill19" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill21" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill20" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill22" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill21" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ATSWCSSkill23" inherits="ATSWCSSkillButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSSkill22" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Frame name="ATSWCSCSkill1" inherits="ATSWCSCSkillFrame">
                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="390" y="-110"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill2" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill1" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill3" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill2" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill4" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill3" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill5" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill4" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill6" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill5" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill7" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill6" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill8" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill7" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill9" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill8" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill10" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill9" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill11" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill10" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill12" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill11" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill13" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill12" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill14" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill13" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill15" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill14" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill16" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill15" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>
                        <Frame name="ATSWCSCSkill17" inherits="ATSWCSCSkillFrame">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="ATSWCSCSkill16" relativePoint="BOTTOMLEFT"/>
                </Anchors>
            </Frame>                    

                        <EditBox name="ATSWCSNewCategoryBox" letters="40" historyLines="0" numeric="false" autoFocus="false">
                                <Size>
                                        <AbsDimension x="180" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ATSWCSFrame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="400" y="-468"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
                                                        <Size>
                                                                <AbsDimension x="8" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
                                                </Texture>
                                                <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
                                                        <Size>
                                                                <AbsDimension x="8" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
                                                </Texture>
                                                <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
                                                        <Size>
                                                                <AbsDimension x="10" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
                                                                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
                                                        </Anchors>
                                                        <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnEnterPressed>
                                                this:ClearFocus();
                                        </OnEnterPressed>
                                        <OnEscapePressed>
                                                this:ClearFocus();
                                        </OnEscapePressed>
                                        <OnTextChanged>
                                                if ( this:GetText() == "0" ) then
                                                        this:SetText("1");
                                                end
                                        </OnTextChanged> 
                                        <OnEditFocusLost>
                                                this:HighlightText(0, 0);
                                        </OnEditFocusLost>
                                        <OnEditFocusGained>
                                                this:HighlightText();
                                        </OnEditFocusGained>
                                </Scripts>
                                <FontString inherits="ChatFontNormal"/>
                        </EditBox>

                        <Button name="ATSWAddCategoryButton" inherits="UIPanelButtonTemplate" text="ATSWCS_ADDCATEGORY">
                                <Size>
                                        <AbsDimension x="120" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="ATSWCSNewCategoryBox" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="1" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                ATSWCS_AddCategory(ATSWCSNewCategoryBox:GetText());
                                        </OnClick>
                                </Scripts>
                        </Button>
                        

        </Frames>
        <Scripts>
          <OnLoad>
          </OnLoad>
          <OnEvent>
                  ATSWCSFrame_OnEvent();
          </OnEvent>
          <OnShow>
          PlaySound("igBackPackOpen");
                  ATSWCS_OnLoad();
          </OnShow>
          <OnHide>
                  ATSWCS_OnHide();
          PlaySound("igBackPackClose");
          </OnHide>
        </Scripts>
    </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.