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/ C:ProjectsWoWBinInterfaceFrameXMLUI.xsd">

<Script file="localization.lua"/>
<Script file="WatchTower.lua"/> 

   <Frame name="WT_FrameTemplate" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true"> 
                <Size>
                        <AbsDimension x="400" y="250"/>
                </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">
                                                <FontString name="WTTitle" inherits="GameFontHighlight" text="WATCHTOWERTITLE">
                                                        <Size>
                                                                <AbsDimension x="125" y="15"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativeTo="WT_FrameTemplate">
                                                                        <Offset>
                                                                                <AbsDimension x="139" y="-15"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                        </Layer>
                                </Layers>
                
   <Frames> 
                        <CheckButton name="WT_Checkbox0" id="0">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="330" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="PARTYLABEL">
                                                <FontString name="WT_PARTY_TEXT" inherits="GameFontHighlight" text="WT_PARTY">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT" >
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);
                                        
                                </OnLoad>
                                <OnClick>
                                        WatchTower_SendParty = not WatchTower_SendParty;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>

                        <CheckButton name="WT_Checkbox1" id="1">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="330" y="-60"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="PARTYLABEL">
                                                <FontString name="WT_RAID_TEXT" inherits="GameFontHighlight" text="WT_RAID">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT" >
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);
                                        
                                </OnLoad>
                                <OnClick>
                                        WatchTower_SendRaid = not WatchTower_SendRaid;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        
                        <CheckButton name="WT_Checkbox2" id="2">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="330" y="-80"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="GUILDLABEL">
                                        <FontString name="WT_GUILD_TEXT" inherits="GameFontHighlight" text="WT_GUILD">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);
                                        
                                </OnLoad>
                                <OnClick>
                                        WatchTower_SendGuild = not WatchTower_SendGuild;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>



                        <CheckButton name="WT_Checkbox3" id="3">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="330" y="-100"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="WT_DEFENSE_LABEL">
                                        <FontString name="WT_DEFENSE_TEXT" inherits="GameFontHighlight" text="WT_DEFENSE">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);
                                        
                                </OnLoad>
                                <OnClick>
                                        WatchTower_SendLocal = not WatchTower_SendLocal;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>  
                          <CheckButton name="WT_Checkbox10" id="10">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_PVP_LABEL">
                                                <FontString name="WT_REPORT_PVP_TEXT" inherits="GameFontHighlight" text="WT_REPORT_PVP">

                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT" >
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportPvP = not WatchTower_ReportPvP;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>

                        <CheckButton name="WT_Checkbox11" id="11">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-60"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_FACTION_LABEL">
                                                <FontString name="WT_REPORT_FACTION_TEXT" inherits="GameFontHighlight" text="WT_REPORT_FACTION">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT" >
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportFaction = not WatchTower_ReportFaction;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>

                        <CheckButton name="WT_Checkbox12" id="12">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-80"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_GUILD_LABEL">
                                        <FontString name="WT_REPORT_GUILD_TEXT" inherits="GameFontHighlight" text="WT_REPORT_GUILD">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportGuild = not WatchTower_ReportGuild;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        <CheckButton name="WT_Checkbox13" id="13">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-100"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_NAME_LABEL">
                                        <FontString name="WT_REPORT_NAME_TEXT" inherits="GameFontHighlight" text="WT_REPORT_NAME">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportName = not WatchTower_ReportName;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>  
                        <CheckButton name="WT_Checkbox14" id="14">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-120"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_RACE_LABEL">
                                        <FontString name="WT_REPORT_RACE_TEXT" inherits="GameFontHighlight" text="WT_REPORT_RACE">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportRace = not WatchTower_ReportRace;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        <CheckButton name="WT_Checkbox15" id="15">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-140"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_CLASS_LABEL">
                                        <FontString name="WT_REPORT_CLASS_TEXT" inherits="GameFontHighlight" text="WT_REPORT_CLASS">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportClass = not WatchTower_ReportClass;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        <CheckButton name="WT_Checkbox16" id="16">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-160"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_LEVEL_LABEL">
                                        <FontString name="WT_REPORT_LEVEL_TEXT" inherits="GameFontHighlight" text="WT_REPORT_LEVEL">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportLevel = not WatchTower_ReportLevel;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        <CheckButton name="WT_Checkbox17" id="17">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-180"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_LOCATION_LABEL">
                                        <FontString name="WT_REPORT_LOCATION_TEXT" inherits="GameFontHighlight" text="WT_REPORT_LOCATION">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportLocation = not WatchTower_ReportLocation;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>
                        <CheckButton name="WT_Checkbox18" id="18">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="130" y="-200"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer name="REPORT_COORDINATES_LABEL">
                                        <FontString name="WT_REPORT_COORDINATES_TEXT" inherits="GameFontHighlight" text="WT_REPORT_COORDINATES">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-5" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                </Layer>
                                        </Layers>
                                <Scripts>
                                <OnLoad>
                                        this:SetFrameLevel(10);

                                </OnLoad>
                                <OnClick>
                                        WatchTower_ReportCoordinates = not WatchTower_ReportCoordinates;
                                        if ( this:GetChecked() ) then
                                                PlaySound("igMainMenuOptionCheckBoxOff");
                                        else
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                        end
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
                        </CheckButton>

                <Button name="WT_CloseButton" inherits="UIPanelCloseButton">
                        <Anchors>
                                <Anchor point="TOPRIGHT">
                                        <Offset>
                                                <AbsDimension x="-5" y="-5"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                        HideUIPanel(WT_FrameTemplate);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="WT_ExitButton" inherits="UIPanelButtonTemplate" text="Exit">
                        <Size>
                                <AbsDimension x="77" y="21"/>
                        </Size>
                        <Anchors>
                                <Anchor point="BOTTOMRIGHT" relativeTo="WT_FrameTemplate" relativePoint="BOTTOMRIGHT">
                                        <Offset>
                                                <AbsDimension x="-15" y="15"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                        HideUIPanel(WT_FrameTemplate);
                                </OnClick>
                        </Scripts>
                </Button>
   </Frames> 
  
<Scripts>
                                <OnLoad>
                                        WT_OnLoad();
                                </OnLoad>
                                <OnEvent> 
                                        WT_OnEvent(event);
                                </OnEvent>
</Scripts>
    </Frame> 
        <Button name="WT_Template" hidden="true" virtual="true">
                <Size>
                        <AbsDimension x="12" y="12"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Scripts>
                        <OnEnter>
                                local x, y = this:GetCenter();
                                local parentX, parentY = this:GetParent():GetCenter();
                                if ( x > parentX ) then
                                        WorldMapTooltip:SetOwner(this, "ANCHOR_LEFT");
                                else
                                        WorldMapTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                end
                                WorldMapTooltip:SetText(this.toolTip);
                                WorldMapTooltip:Show();
                        </OnEnter>
                        <OnLeave>
                                WorldMapTooltip:Hide();
                        </OnLeave>
                </Scripts>
                <NormalTexture name="$parentTexture" file="Interface\AddOns\Gatherer\IconGatherTest"/>
        </Button>

        <Button name="WTNote1000" inherits="WT_Template" id="1000" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1001" inherits="WT_Template" id="1001" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1002" inherits="WT_Template" id="1002" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1003" inherits="WT_Template" id="1003" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1004" inherits="WT_Template" id="1004" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1005" inherits="WT_Template" id="1005" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1006" inherits="WT_Template" id="1006" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1007" inherits="WT_Template" id="1007" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1008" inherits="WT_Template" id="1008" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1009" inherits="WT_Template" id="1009" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1010" inherits="WT_Template" id="1010" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1011" inherits="WT_Template" id="1011" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1012" inherits="WT_Template" id="1012" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1013" inherits="WT_Template" id="1013" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1014" inherits="WT_Template" id="1014" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1015" inherits="WT_Template" id="1015" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1016" inherits="WT_Template" id="1016" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1017" inherits="WT_Template" id="1017" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1018" inherits="WT_Template" id="1018" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1019" inherits="WT_Template" id="1019" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1020" inherits="WT_Template" id="1020" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1021" inherits="WT_Template" id="1021" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1022" inherits="WT_Template" id="1022" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1023" inherits="WT_Template" id="1023" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1024" inherits="WT_Template" id="1024" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1025" inherits="WT_Template" id="1025" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1026" inherits="WT_Template" id="1026" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1027" inherits="WT_Template" id="1027" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1028" inherits="WT_Template" id="1028" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1029" inherits="WT_Template" id="1029" parent="WorldMapDetailFrame" toplevel="true"/>
        <Button name="WTNote1030" inherits="WT_Template" id="1030" parent="WorldMapDetailFrame" toplevel="true"/>



</Ui>

Generated by GNU Enscript 1.6.5.90.