vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<!--
        Set Wrangler Options
-->
<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"/>
        <CheckButton name="SWOptionsCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
                <Scripts>
                        <OnClick>
                                
                        </OnClick>
                </Scripts>
        </CheckButton>
        <Frame name="SWOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
                <Size>
                        <AbsDimension x="310" y="230"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="SWOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="400" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="SW_TEXT_OPTIONS_TITLE">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="SWOptionsFrameHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Frame name="SWToggleFrame" enableMouse="true">
                                <Size>
                                        <AbsDimension x="280" y="150"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="-34"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="SWLocalCacheText" inherits="GameFontNormalSmall" text="SW_TEXT_CACHE">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="35" y="-15"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="SWDropDownText" inherits="GameFontNormalSmall" text="SW_TEXT_DROPDOWN">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="35" y="-40"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
            <FontString name="SWDisconnectText" inherits="GameFontNormalSmall" text="SW_TEXT_DISCONNECTFREE">
              <Anchors>
                <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                  <Offset>
                    <AbsDimension x="35" y="-65"/>
                  </Offset>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
                                </Layers>
                                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <BackgroundInsets>
                                                <AbsInset left="4" right="4" top="4" bottom="4"/>
                                        </BackgroundInsets>
                                        <TileSize>
                                                <AbsValue val="32"/>
                                        </TileSize>
                                        <EdgeSize>
                                                <AbsValue val="18"/>
                                        </EdgeSize>
                                </Backdrop>
                                <Frames>
                                        <CheckButton name="SWOptionsLocalCacheCheckButton" inherits="SWOptionsCheckButtonTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
            <Scripts>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
                                        </CheckButton>
                                        <CheckButton name="SWOptionsDropDownCheckButton" inherits="SWOptionsCheckButtonTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-30"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
            <Scripts>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </CheckButton>
          <CheckButton name="SWOptionsDisconnectFreeCheckButton" inherits="SWOptionsCheckButtonTemplate" id="3">
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="5" y="-55"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </CheckButton>
        </Frames>
      </Frame>
      <Frame name="SWOptionsPreviewModeDropDown" inherits="UIDropDownMenuTemplate"  enableMouse="true">
        <Size>
          <AbsDimension x="100" y="15"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="85" y="-130"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <FontString name="SWOptionsPreviewModeDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_PREVIEWMODE">
              <Anchors>
                <Anchor point="RIGHT" relativePoint="LEFT">
                  <Offset>
                    <AbsDimension x="15" y="3"/>
                  </Offset>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
        <Frames>
          <Button name="SWOptionsMOFakeButton" enableMouse="true">
            <Size>
              <AbsDimension x="100" y="15"/>
            </Size>
            <Anchors>
              <Anchor point="RIGHT" relativePoint="LEFT">
                <Offset>
                  <AbsDimension x="15" y="3"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnEnter>
                SetWranglerFunctionButton_OnEnter();
              </OnEnter>
              <OnLeave>
                GameTooltip:Hide();
              </OnLeave>
            </Scripts>
          </Button>
        </Frames>
      </Frame>
                        <Button name="SWOptionsFrameOkay" inherits="OptionsButtonTemplate" text="Okay">
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                PlaySound("gsTitleOptionOK");
                                                SWOptionsFrame_OnOK();
                                        </OnClick>
                                </Scripts>
                        </Button>                       
                </Frames>
                <Scripts>
                        <OnLoad>
                                SWOptionsFrame_OnLoad();
                        </OnLoad>
                        <OnShow>
                                SWOptionsFrame_OnShow();
                        </OnShow>
                        <OnHide>
                                SWOptionsFrame_OnHide();
                        </OnHide>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.