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="localization.lua"/>
        <Script file="SetWrangler.lua"/>
        <Script file="SetWranglerData.lua"/>
        <Script file="SetWranglerDruidData.lua"/>
        <Script file="SetWranglerHunterData.lua"/>
        <Script file="SetWranglerMageData.lua"/>
        <Script file="SetWranglerPaladinData.lua"/>
        <Script file="SetWranglerPriestData.lua"/>
        <Script file="SetWranglerRogueData.lua"/>
        <Script file="SetWranglerShamanData.lua"/>
        <Script file="SetWranglerWarlockData.lua"/>
        <Script file="SetWranglerWarriorData.lua"/>
  <Script file="SetWranglerOtherData.lua"/>
  <Script file="SetWranglerWeaponData.lua"/>
  <Script file="SetWranglerPVPAData.lua"/>
  <Script file="SetWranglerPVPHData.lua"/>
  <Script file="SetWranglerLocalData.lua"/>
  <Button name="SetWranglerButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="400" y="36"/>
                </Size>
                <Frames>
                        <CheckButton name="$parentCheckButton" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="4" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnEnter>
                                                this:GetParent():LockHighlight();
                                        </OnEnter>
                                        <OnLeave>
                                                this:GetParent():UnlockHighlight();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <Button name="$parentIcon" id="500">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="40" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnEnter>
                                                SetWrangler_OnButtonEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                                this:GetParent():UnlockHighlight();
                                        </OnLeave>
                                        <OnClick>
                                                SetWranglerItem_OnClick(arg1);
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        </OnClick>
                                </Scripts>
                                <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
                                <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
                        </Button>
                        <Frame name="$parentButtonText" setAllPoints="true">
                                <Layers>
                                        <Layer level="BORDER">
                                                <FontString name="$parentNameLocation" inherits="GameFontNormal" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="77" y="-6"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativeTo="$parentNameLocation" relativePoint="BOTTOMLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                        </OnLoad>
                        <OnClick>
                                SetWranglerItem_OnClick(arg1);
                                PlaySound("igMainMenuOptionCheckBoxOn");
                        </OnClick>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>
        <Button name="SetWranglerFrameTabTemplate" hidden="true" inherits="CharacterFrameTabButtonTemplate" virtual="true">
                <Scripts>
                        <OnClick>
                                PanelTemplates_Tab_OnClick(SetWranglerFrame);
                                
                        </OnClick>
                </Scripts>
        </Button>
        <Frame name="SetWranglerFrame"  toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
                <Size>
                        <AbsDimension x="1020" y="512"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="0" y="-104"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <HitRectInsets>
                        <AbsInset left="0" right="30" top="0" bottom="45"/>
                </HitRectInsets>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
                                        <Size>
                                                <AbsDimension x="60" y="60"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="7" y="-6"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="ARTWORK">
                                <Texture name="SetWranglerFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture name="SetWranglerFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture name="SetWranglerFrameTop1" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottom1" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameTop2" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="384" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottom2" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="384" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameTop3" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottom3" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameTop4" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="640" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottom4" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="640" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameTop5" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="768" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottom5" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="768" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerFrameBottomLeft" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture name="SetWranglerFrameBottomRight" file="Interface\PaperDollInfoFrame\SkillFrame-BotRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="OVERLAY">
                                <FontString name="SetWranglerFrameTitleText" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-18"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="SetWranglerFrameInfoText" inherits="GameFontNormal" text=""  justifyH="LEFT" justifyV="TOP">
                                        <Size>
                                                <AbsDimension x="280" y="330"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-46" y="-76"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <Texture name="SetWranglerFrameDivider" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                        <Size>
                                                <AbsDimension x="5" y="336"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-330" y="-73"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.06" right="0.08" top="0.30" bottom="1.0"/>
                                </Texture>
                                <Texture name="SetWranglerRankIcon" file="Interface\PvPRankBadges\PvPRank07">
                                        <Size>
                                                <AbsDimension x="20" y="20"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="SetWranglerFrameInfoText" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-21"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="SetWranglerFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-30" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Frame name="SetWranglerSetTabFrame" hidden="false" setAllPoints="true">
                                <Frames>
                                        <Button name="SetWranglerCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
                                                <Size>
                                                        <AbsDimension x="79" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT" relativeTo="SetWranglerFrame" relativePoint="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-42" y="81"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                HideUIPanel(SetWranglerFrame);          
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
          <Button name="SetWranglerOptionsButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_OPTIONS">
            <Size>
              <AbsDimension x="79" y="20"/>
            </Size>
            <Anchors>
              <Anchor point="RIGHT" relativeTo="SetWranglerCloseButton" relativePoint="LEFT">
                <Offset>
                  <AbsDimension x="-5" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                SetWrangler_OnOptions();
              </OnClick>
            </Scripts>
          </Button>
                                        <Button name="SetWranglerPreviewButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_PREVIEW">
                                                <Size>
                                                        <AbsDimension x="79" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT" relativeTo="SetWranglerFrame" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="16" y="81"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("gsTitleOptionOK");
                                                                SetWrangler_OnPreview();
                                                        </OnClick>
                                                        <OnEnter>
                                                                SetWranglerFunctionButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
          <Button name="SetWranglerTabButtonNext" inherits="UIPanelButtonTemplate" text="-">
            <Size>
              <AbsDimension x="24" y="20"/>
            </Size>
            <Anchors>
              <Anchor point="TOPRIGHT" relativeTo="SetWranglerFrameCloseButton" relativePoint="BOTTOMRIGHT">
                <Offset>
                  <AbsDimension x="-12" y="-10"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="OVERLAY">
                <FontString name="SetWranglerTabPageText" inherits="GameFontNormalSmall" text ="">
                  <Anchors>
                    <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
                      <Offset>
                        <AbsDimension x="0" y="3"/>
                      </Offset>
                    </Anchor>
                  </Anchors>
                </FontString>
              </Layer>
            </Layers>
            <Scripts>
              <OnClick>
                PlaySound("gsTitleOptionOK");
                SetWrangler_OnTabNavClick();
              </OnClick>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </Button>
          <Button name="SetWranglerTabButtonBack" inherits="UIPanelButtonTemplate" text="-">
            <Size>
              <AbsDimension x="24" y="20"/>
            </Size>
            <Anchors>
              <Anchor point="TOPRIGHT" relativeTo="SetWranglerTabButtonNext" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="1" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>
                PlaySound("gsTitleOptionOK");
                SetWrangler_OnTabNavClick();
              </OnClick>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </Button>
                                        <Button name="SetWranglerLinkButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_LINK">
                                                <Size>
                                                        <AbsDimension x="79" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT" relativeTo="SetWranglerPreviewButton" relativePoint="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("gsTitleOptionOK");
                                                                SetWrangler_OnLink();
                                                        </OnClick>
                                                        <OnEnter>
                                                                SetWranglerFunctionButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Frame name="SetWranglerLinkDropDown" inherits="UIDropDownMenuTemplate"  frameStrata="HIGH" enableMouse="true">
                                                <Size>
                                                        <AbsDimension x="100" y="15"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SetWranglerLinkButton">
                                                                <Offset>
                                                                        <AbsDimension x="45" y="-3"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <FontString name="SetWranglerLinkDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_LINKTO">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="15" y="3"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
          </Frame>

          <Frame name="SetWranglerSetDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="true">
            <Size>
              <AbsDimension x="150" y="15"/>
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SetWranglerFrame">
                <Offset>
                  <AbsDimension x="80" y="-41"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="BACKGROUND">
                <FontString name="SetWranglerSetDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_SETS">
                  <Anchors>
                    <Anchor point="RIGHT" relativePoint="LEFT">
                      <Offset>
                        <AbsDimension x="15" y="3"/>
                      </Offset>
                    </Anchor>
                  </Anchors>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
          <CheckButton name="SetWranglerLocalCacheCheckButton"  inherits="UICheckButtonTemplate" id="1">
            <Size>
              <AbsDimension x="20" y="20"/>
            </Size>
            <Anchors>
              <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SetWranglerLinkDropDown">
                <Offset>
                  <AbsDimension x="40" y="3"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer level="BACKGROUND">
                <FontString name="SetWranglerLocalCacheText" inherits="GameFontNormalSmall" text="SW_TEXT_CACHE">
                  <Anchors>
                    <Anchor point="LEFT" relativePoint="RIGHT">
                      <Offset>
                        <AbsDimension x="4" y="1"/>
                      </Offset>
                    </Anchor>
                  </Anchors>
                </FontString>
              </Layer>
            </Layers>
            <Scripts>
              <OnClick>
                PlaySound("gsTitleOptionOK");
                SetWrangler_OnLocalCache();
              </OnClick>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </CheckButton>
                                        <Frame name="SetWranglerRightClickMenu" inherits="UIDropDownMenuTemplate" hidden="true">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
                                        
                                        <Button name="$parentTab1" inherits="TabButtonTemplate" text="--" id="1" hidden="true">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
                                                                <Offset>
                                                                        <AbsDimension x="70" y="-39"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(1);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab2" inherits="TabButtonTemplate" text="--" id="2" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(2);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab3" inherits="TabButtonTemplate" text="--" id="3" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(3);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab4" inherits="TabButtonTemplate" text="--" id="4" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab3" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(4);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab5" inherits="TabButtonTemplate" text="--" id="5" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab4" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(5);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab6" inherits="TabButtonTemplate" text="--" id="6" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab5" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(6);
                                                        </OnClick>
                                                        <OnLoad>
                                                                this:SetFrameLevel(SetWranglerSetTabFrameTab1:GetFrameLevel()-1);
                                                        </OnLoad>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab7" inherits="TabButtonTemplate" text="--" id="7" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab6" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(7);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab8" inherits="TabButtonTemplate" text="--" id="8" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab7" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(8);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab9" inherits="TabButtonTemplate" text="--" id="9" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab8" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(9);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab10" inherits="TabButtonTemplate" text="--" id="10" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab9" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(10);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab11" inherits="TabButtonTemplate" text="--" id="11" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab10" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(11);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentTab12" inherits="TabButtonTemplate" text="--" id="12" hidden="true">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="$parentTab11" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                SetWranglerOnEventOnSetClick(12);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>



                                        <Button name="SetWranglerButtonTitle" id="1000">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
                                                                <Offset>
                                                                        <AbsDimension x="25" y="-77"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Size>
                                                        <AbsDimension x="400" y="36"/>
                                                </Size>
                                                <Frames>
                                                        <CheckButton name="$parentCheckButton" inherits="UICheckButtonTemplate">
                                                                <Anchors>
                                                                        <Anchor point="TOPLEFT">
                                                                                <Offset>
                                                                                        <AbsDimension x="2" y="-3"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>
                                                                        <OnEnter>
                                                                                this:GetParent():LockHighlight();
                                                                        </OnEnter>
                                                                        <OnLeave>
                                                                                this:GetParent():UnlockHighlight();
                                                                        </OnLeave>
                                                                        <OnClick>
                                                                                SetWrangler_OnCheckButtonClick();
                                                                        </OnClick>
                                                                </Scripts>
                                                        </CheckButton>
                                                        <Frame name="$parentButtonText" setAllPoints="true">
                                                                <Layers>
                                                                        <Layer level="BORDER">
                                                                                <FontString name="$parentNameLocation" inherits="GameFontNormalLarge" justifyH="LEFT">
                                                                                        <Anchors>
                                                                                                <Anchor point="TOPLEFT">
                                                                                                        <Offset>
                                                                                                                <AbsDimension x="39" y="-6"/>
                                                                                                        </Offset>
                                                                                                </Anchor>
                                                                                        </Anchors>
                                                                                </FontString>
                                                                                <FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                                                        <Anchors>
                                                                                                <Anchor point="TOPLEFT" relativeTo="$parentNameLocation" relativePoint="BOTTOMLEFT">
                                                                                                        <Offset>
                                                                                                                <AbsDimension x="0" y="0"/>
                                                                                                        </Offset>
                                                                                                </Anchor>
                                                                                        </Anchors>
                                                                                </FontString>
                                                                        </Layer>
                                                                </Layers>
                                                        </Frame>
                                                </Frames>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                                                        </OnLoad>
                                                        <OnClick>
                                                                SetWranglerTitleButton_OnClick(arg1);
                                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                                        </OnClick>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
                                        </Button>
                                        <Button name="$parentButton1" inherits="SetWranglerButtonTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
                                                                <Offset>
                                                                        <AbsDimension x="23" y="-114"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton2" inherits="SetWranglerButtonTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton1" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton3" inherits="SetWranglerButtonTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton2" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton4" inherits="SetWranglerButtonTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton3" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton5" inherits="SetWranglerButtonTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton4" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton6" inherits="SetWranglerButtonTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton5" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton7" inherits="SetWranglerButtonTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton6" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="$parentButton8" inherits="SetWranglerButtonTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="$parentButton7" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

          <Button name="$parentInfoIcon1" id="1" hidden="true">
            <Size>
              <AbsDimension x="32" y="32"/>
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="SetWranglerFrameInfoText" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="3" y="-116"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Frames>
              <Frame name="$parentButtonText" setAllPoints="true">
                <Layers>
                  <Layer level="BORDER">
                    <FontString name="SetWranglerInfoIconTitle1" inherits="GameFontNormal" justifyH="LEFT" text="asdasd">
                      <Anchors>
                        <Anchor point="TOPLEFT">
                          <Offset>
                            <AbsDimension x="37" y="-4"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                    <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_REVERED">
                      <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle1" relativePoint="BOTTOMLEFT">
                          <Offset>
                            <AbsDimension x="0" y="0"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </Frame>
            </Frames>
            <Scripts>
              <OnEnter>
                SetWrangler_OnInfoButtonEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
            <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
            <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
          </Button>
          <Button name="$parentInfoIcon2" id="2" hidden="true">
            <Size>
              <AbsDimension x="32" y="32"/>
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentInfoIcon1" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="0" y="-50"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Frames>
              <Frame name="$parentButtonText" setAllPoints="true">
                <Layers>
                  <Layer level="BORDER">
                    <FontString name="SetWranglerInfoIconTitle2" inherits="GameFontNormal" justifyH="LEFT">
                      <Anchors>
                        <Anchor point="TOPLEFT">
                          <Offset>
                            <AbsDimension x="37" y="-4"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                    <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_HONORED">
                      <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle2" relativePoint="BOTTOMLEFT">
                          <Offset>
                            <AbsDimension x="0" y="0"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </Frame>
            </Frames>
            <Scripts>
              <OnEnter>
                SetWrangler_OnInfoButtonEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
            <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
            <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
          </Button>
          <Button name="$parentInfoIcon3" id="3" hidden="true">
            <Size>
              <AbsDimension x="32" y="32"/>
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentInfoIcon2" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="0" y="-50"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Frames>
              <Frame name="$parentButtonText" setAllPoints="true">
                <Layers>
                  <Layer level="BORDER">
                    <FontString name="SetWranglerInfoIconTitle3" inherits="GameFontNormal" justifyH="LEFT">
                      <Anchors>
                        <Anchor point="TOPLEFT">
                          <Offset>
                            <AbsDimension x="37" y="-4"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                    <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_FRIENDLY">
                      <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle3" relativePoint="BOTTOMLEFT">
                          <Offset>
                            <AbsDimension x="0" y="0"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                    </FontString>
                  </Layer>
                </Layers>
              </Frame>
            </Frames>
            <Scripts>
              <OnEnter>
                SetWrangler_OnInfoButtonEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
            <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
            <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
          </Button>
                                </Frames>
                        </Frame>
                
                        <Button name="SetWranglerFrameTab1" inherits="SetWranglerFrameTabTemplate" id="1" text="--">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="11" y="45"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_DRUID);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab2" inherits="SetWranglerFrameTabTemplate" id="2" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab1" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_HUNTER);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab3" inherits="SetWranglerFrameTabTemplate" id="3" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab2" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_MAGE);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab4" inherits="SetWranglerFrameTabTemplate" id="4" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab3" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_PALADIN);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab5" inherits="SetWranglerFrameTabTemplate" id="5" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab4" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_PRIEST);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab6" inherits="SetWranglerFrameTabTemplate" id="6" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab5" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_ROGUE);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab7" inherits="SetWranglerFrameTabTemplate" id="7" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab6" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_SHAMAN);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab8" inherits="SetWranglerFrameTabTemplate" id="8" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab7" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_WARLOCK);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab9" inherits="SetWranglerFrameTabTemplate" id="9" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab8" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(SW_CLASS_WARRIOR);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab10" inherits="SetWranglerFrameTabTemplate" id="10" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab9" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(10);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab11" inherits="SetWranglerFrameTabTemplate" id="11" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab10" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(11);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab12" inherits="SetWranglerFrameTabTemplate" id="12" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab11" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(12);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="SetWranglerFrameTab13" inherits="SetWranglerFrameTabTemplate" id="13" text="--">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SetWranglerFrameTab12" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SetWranglerOnEventOnClassClick(13);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                </Frames>
                <Scripts>
                        <OnLoad>
                                SetWranglerOnLoad();
                        </OnLoad>
                        <OnShow>
                                PlaySound("igCharacterInfoOpen");
                                SetWrangler_OnShow();
                        </OnShow>
                        <OnHide>
                                PlaySound("igCharacterInfoClose");
                        </OnHide>
                        <OnEvent>
                                SetWranglerOnEvent(event);
                        </OnEvent>
                        <OnUpdate>
                                SetWrangler_OnUpdate(arg1);
                        </OnUpdate>
                        <OnMouseWheel>
                                return;
                        </OnMouseWheel>
                </Scripts>
        </Frame>
        <GameTooltip name="SWCacheTooltip" inherits="GameTooltipTemplate" parent="UIParent" enableMouse="true" toplevel="true" movable="true" frameStrata="HIGH" hidden="true">
                <Size>
                        <AbsDimension x="1" y="1"/>
                </Size>
                <Anchors>
                        <Anchor point="BOTTOM">
                                <Offset>
                                        <AbsDimension x="0" y="-500"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="SWItemRefCloseButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="1" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                HideUIPanel(ItemRefTooltip);
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                GameTooltip_OnLoad();
                                this:SetPadding(16);
                                this:RegisterForDrag("LeftButton");
                        </OnLoad>
                        <OnDragStart>
                                this:StartMoving();
                        </OnDragStart>
                        <OnDragStop>
                                this:StopMovingOrSizing();
                                ValidateFramePosition(this);
                        </OnDragStop> 
                </Scripts>
        </GameTooltip>
</Ui>