vanilla-wow-addons – Rev 1
?pathlinks?
<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">
<!-- Main frame linked to bottom tabs. -->
<Frame name="TitanBG_Menu_Template" parent="TitanBG_Menu" toplevel="true" movable="true" enableMouse="true" virtual="true">
<Size><AbsDimension x="640" y="512"/></Size>
<Anchors>
<Anchor point="CENTER">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<HitRectInsets><AbsInset left="0" right="44" top="0" bottom="13"/></HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<!-- BACKGROUND TEXTURES -->
<Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
<Size><AbsDimension x="256" y="256"/></Size>
<Anchors><Anchor point="TOPLEFT"/></Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Top">
<Size><AbsDimension x="256" y="256"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="256" y="0"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-TopRight">
<Size><AbsDimension x="128" y="256"/></Size>
<Anchors><Anchor point="TOPRIGHT"/></Anchors>
</Texture>
<Texture name="$parent_Texture_Left" file="Interface\HelpFrame\HelpFrame-BotLeft">
<Size><AbsDimension x="256" y="256"/></Size>
<Anchors><Anchor point="BOTTOMLEFT"/></Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Bottom">
<Size><AbsDimension x="256" y="256"/></Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset><AbsDimension x="256" y="0"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-BotRight">
<Size><AbsDimension x="128" y="256"/></Size>
<Anchors><Anchor point="BOTTOMRIGHT"/></Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<!-- HEADER -->
<Texture name="$parent_Texture_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="336" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parent_Text_Header" inherits="GameFontRed" text="TITANBG_MENU_HEADER">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Texture_Header">
<Offset><AbsDimension x="0" y="-14"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Text_Notice" inherits="GameFontHighlightSmall" text="TITANBG_MESSAGE_NOTICE">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Texture_Left">
<Offset><AbsDimension x="18" y="28"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="HelpFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset><AbsDimension x="-42" y="-3"/></Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
<Frame name="TitanBG_MenuDivider_Template" virtual="true">
<Size><AbsDimension x="577" y="19"/></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider">
<Size><AbsDimension x="256" y="20"/></Size>
<Anchors><Anchor point="TOPLEFT"/></Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.3125"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider">
<Size><AbsDimension x="321" y="20"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
<Offset><AbsDimension x="0" y="1"/></Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0.3125" bottom="0.625"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="TitanBG_Menu" inherits="TitanBG_Menu_Template" parent="UIParent" hidden="true">
<Frames>
<!-- GENERAL -->
<Frame name="$parent_DD_General" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General">
<Offset><AbsDimension x="-17" y="-8"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_General_Battleground" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Battleground">
<Offset><AbsDimension x="-17" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Battleground);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_General_Interface" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Interface">
<Offset><AbsDimension x="-17" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Interface);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_General_Interface_WhichSound" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Interface">
<Offset><AbsDimension x="-17" y="-36"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Interface_WhichSound);
</OnShow>
</Scripts>
</Frame>
<!-- DIVIDER -->
<Frame name="$parent_Divider_1" inherits="TitanBG_MenuDivider_Template">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Header_General_Interface">
<Offset>
<AbsDimension x="-32" y="-98"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<!-- DISPLAY -->
<Frame name="$parent_DD_Display" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display">
<Offset><AbsDimension x="-17" y="-8"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_World_Button" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
<Offset><AbsDimension x="-17" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Button);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_World_Tooltip" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
<Offset><AbsDimension x="164" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Tooltip);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_World_Popup" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
<Offset><AbsDimension x="344" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Popup);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_Battleground_Button" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
<Offset><AbsDimension x="-17" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Button);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_Battleground_Tooltip" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
<Offset><AbsDimension x="164" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Tooltip);
</OnShow>
</Scripts>
</Frame>
<Frame name="$parent_DD_Display_Battleground_Panel" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
<Offset><AbsDimension x="344" y="-6"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Panel);
</OnShow>
</Scripts>
</Frame>
</Frames>
<Layers>
<Layer level="OVERLAY">
<!-- GENERAL -->
<FontString name="$parent_Header_General" inherits="GameFontNormalLarge" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="25" y="-60"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Header_General_Battleground" inherits="GameFontNormal" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General">
<Offset><AbsDimension x="20" y="-40"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Header_General_Interface" inherits="GameFontNormal" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Battleground">
<Offset><AbsDimension x="0" y="-38"/></Offset>
</Anchor>
</Anchors>
</FontString>
<!-- DISPLAY -->
<FontString name="$parent_Header_Display" inherits="GameFontNormalLarge" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Header_General_Interface">
<Offset>
<AbsDimension x="-20" y="-120"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Header_Display_World" inherits="GameFontNormal" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display">
<Offset><AbsDimension x="20" y="-40"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Header_Display_Battleground" inherits="GameFontNormal" justifyH="LEFT">
<Size><AbsDimension x="550" y="0"/></Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
<Offset><AbsDimension x="0" y="-38"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
TitanBG_Menu_LoadMenuFrames();
</OnLoad>
<OnDragStart>
this:StartMoving();
this.isMoving = true;
</OnDragStart>
<OnDragStop>
this:StopMovingOrSizing();
this.isMoving = false;
</OnDragStop>
</Scripts>
</Frame>
</Ui>