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">
<Script file="MetaMapBLT.loc"/>
<Script file="MetaMapBLT.lua"/>
<GameTooltip name="MetaMapBLTTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/>
<FontString name="MetaMapBLT_FontTemplate" font="Fonts\FRIZQT__.TTF" virtual="true">
<FontHeight>
<AbsValue val="14"/>
</FontHeight>
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
</FontString>
<FontString name="MetaMapBLT_FontTemplateLarge" font="Fonts\FRIZQT__.TTF" virtual="true">
<FontHeight>
<AbsValue val="16"/>
</FontHeight>
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
</FontString>
<FontString name="MetaMapBLT_FontTemplateSmall" font="Fonts\FRIZQT__.TTF" virtual="true">
<FontHeight>
<AbsValue val="12"/>
</FontHeight>
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
</FontString>
<Button name="MetaMapBLT_ItemTemplate" virtual="true" hidden="false">
<Size>
<AbsDimension x="350" y="34"/>
</Size>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parent_Icon">
<Size>
<AbsDimension x="27" y="27"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
</Anchors>
</Texture>
<FontString name="$parent_Name" inherits="MetaMapBLT_FontTemplate" justifyH="LEFT">
<Size>
<AbsDimension x="300" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Extra" inherits="MetaMapBLT_FontTemplateSmall" justifyH="LEFT">
<Size>
<AbsDimension x="300" y="9"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
MetaMapBLTItem_OnEnter();
</OnEnter>
<OnLeave>
MetaMapBLTItem_OnLeave();
</OnLeave>
<OnClick>
MetaMapBLTItem_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="MetaMapBLT_ClassButtonTemplate" virtual="true">
<Size>
<AbsDimension x="65" y="10"/>
</Size>
<Layers>
<Layer level="ARTWORK" hidden="true">
<FontString name="$parentClassName" inherits="GameFontNormal" text=""/>
</Layer>
</Layers>
<Scripts>
<OnClick>
MetaMapBLT_MenuOnClick();
</OnClick>
</Scripts>
<NormalFont inherits="GameFontNormal"/>
<HighlightFont inherits="GameFontHighlight"/>
</Button>
<Frame name="MetaMapBLT_SubFrame" parent="MetaMapContainerFrame" hidden="true">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\RaidFrame\UI-RaidFrame-GroupBg" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="0" right="0" top="0" bottom="0"/>
</BackgroundInsets>
</Backdrop>
<Frames>
<Button name="MetaMapBLTItem_1" inherits="MetaMapBLT_ItemTemplate" id="1">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOP">
<Offset>
<AbsDimension x="20" y="-50"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="MetaMapBLTItem_2" inherits="MetaMapBLT_ItemTemplate" id="2">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_1" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_3" inherits="MetaMapBLT_ItemTemplate" id="3">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_2" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_4" inherits="MetaMapBLT_ItemTemplate" id="4">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_3" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_5" inherits="MetaMapBLT_ItemTemplate" id="5">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_4" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_6" inherits="MetaMapBLT_ItemTemplate" id="6">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_5" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_7" inherits="MetaMapBLT_ItemTemplate" id="7">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_6" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_8" inherits="MetaMapBLT_ItemTemplate" id="8">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_7" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_9" inherits="MetaMapBLT_ItemTemplate" id="9">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_8" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_10" inherits="MetaMapBLT_ItemTemplate" id="10">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_9" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_11" inherits="MetaMapBLT_ItemTemplate" id="11">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_10" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_12" inherits="MetaMapBLT_ItemTemplate" id="12">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_11" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_13" inherits="MetaMapBLT_ItemTemplate" id="13">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_12" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_14" inherits="MetaMapBLT_ItemTemplate" id="14">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_13" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_15" inherits="MetaMapBLT_ItemTemplate" id="15">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_14" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_16" inherits="MetaMapBLT_ItemTemplate" id="16">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_1" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="MetaMapBLTItem_17" inherits="MetaMapBLT_ItemTemplate" id="17">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_16" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_18" inherits="MetaMapBLT_ItemTemplate" id="18">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_17" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_19" inherits="MetaMapBLT_ItemTemplate" id="19">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_18" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_20" inherits="MetaMapBLT_ItemTemplate" id="20">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_19" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_21" inherits="MetaMapBLT_ItemTemplate" id="21">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_20" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_22" inherits="MetaMapBLT_ItemTemplate" id="22">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_21" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_23" inherits="MetaMapBLT_ItemTemplate" id="23">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_22" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_24" inherits="MetaMapBLT_ItemTemplate" id="24">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_23" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_25" inherits="MetaMapBLT_ItemTemplate" id="25">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_24" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_26" inherits="MetaMapBLT_ItemTemplate" id="26">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_25" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_27" inherits="MetaMapBLT_ItemTemplate" id="27">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_26" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_28" inherits="MetaMapBLT_ItemTemplate" id="28">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_27" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_29" inherits="MetaMapBLT_ItemTemplate" id="29">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_28" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Button name="MetaMapBLTItem_30" inherits="MetaMapBLT_ItemTemplate" id="30">
<Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_29" relativePoint="BOTTOMLEFT"/></Anchors>
</Button>
<Frame name="MetaMapBLT_ClassMenu" hidden="true">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="MetaMapBLT_DruidButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_DRUID">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Druid");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_HunterButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_HUNTER">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_DruidButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Hunter");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_MageButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_MAGE">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_HunterButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Mage");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_PaladinButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_PALADIN">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_MageButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Paladin");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_PriestButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_PRIEST">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_PaladinButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Priest");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_RogueButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_ROGUE">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_PriestButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Rogue");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_ShamanButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_SHAMAN">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_RogueButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Shaman");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_WarlockButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_WARLOCK">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_ShamanButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Warlock");
</OnLoad>
</Scripts>
</Button>
<Button name="MetaMapBLT_WarriorButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_WARRIOR">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_WarlockButton">
<Offset><AbsDimension x="10" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."ClassName"):SetText("Warrior");
</OnLoad>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
this:SetWidth(this:GetParent():GetWidth());
this:SetHeight(48);
</OnShow>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
this:SetWidth(MetaMapContainerFrame:GetWidth());
this:SetHeight(MetaMapContainerFrame:GetHeight());
this:SetBackdropColor(0,0,0,0.65);
MetaMapBLT_SetClassColors();
</OnLoad>
<OnHide>
MetaMapBLT_ToggleDR(0);
</OnHide>
</Scripts>
</Frame>
</Ui>