<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="WorldMapFrame.lua"/>
<Include file="WorldMapFrameTemplates.xml"/>
<Frame name="WorldMapFrame" setAllPoints="true" hidden="true" enableKeyboard="true" enableMouse="true" clampedToScreen="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="BlackoutWorld">
<Anchors>
<Anchor point="BOTTOMLEFT"/>
<Anchor point="TOPRIGHT"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentMiniBorderLeft" file="Interface\WorldMap\UI-WorldMapSmall-Left.tga" hidden="true">
<Size x="512" y="512"/>
<Anchors>
<Anchor point="TOPLEFT" x="12" y="-28"/>
</Anchors>
</Texture>
<Texture name="$parentMiniBorderRight" file="Interface\WorldMap\UI-WorldMapSmall-Right.tga" hidden="true">
<Size x="128" y="512"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiniBorderLeft" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
</Texture>
<Texture name="$parentTexture1">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-512" y="384"/>
</Anchors>
</Texture>
<Texture name="$parentTexture2">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-256" y="384"/>
</Anchors>
</Texture>
<Texture name="$parentTexture3">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="0" y="384"/>
</Anchors>
</Texture>
<Texture name="$parentTexture4">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="256" y="384"/>
</Anchors>
</Texture>
<Texture name="$parentTexture5">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-512" y="128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture6">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-256" y="128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture7">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="0" y="128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture8">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="256" y="128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture9">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-512" y="-128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture10">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="-256" y="-128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture11">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="0" y="-128"/>
</Anchors>
</Texture>
<Texture name="$parentTexture12">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="CENTER" x="256" y="-128"/>
</Anchors>
</Texture>
<FontString name="$parentTitle" inherits="GameFontNormal" text="WORLD_MAP">
<Anchors>
<Anchor point="CENTER" x="0" y="372"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentTexture13" hidden="true">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture9" x="4" y="-13"/>
</Anchors>
</Texture>
<Texture name="$parentTexture14" hidden="true">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture11" x="188" y="-220"/>
</Anchors>
</Texture>
<Texture name="$parentTexture15" hidden="true">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture12" x="220" y="-201"/>
</Anchors>
</Texture>
<Texture name="$parentTexture16" hidden="true">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture3" x="187" y="-59"/>
</Anchors>
</Texture>
<Texture name="$parentTexture17" hidden="true">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture4" x="220" y="-62"/>
</Anchors>
</Texture>
<Texture name="$parentTexture18" hidden="true">
<Size x="690" y="4"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture9" x="12" y="-223"/>
</Anchors>
<Color r="0" g="0" b="0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="WorldMapTitleDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
<Anchors>
<Anchor point="TOP" x="-80" y="-35"/>
</Anchors>
</Frame>
<Frame name="WorldMapPositioningGuide">
<Size x="1024" y="768" />
<Anchors>
<Anchor point="CENTER" x="0" y="0" />
</Anchors>
</Frame>
<Frame name="WorldMapZoneMinimapDropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapPositioningGuide" relativePoint="TOPLEFT" x="20" y="-35"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="GameFontNormalSmall" text="BATTLEFIELD_MINIMAP">
<Anchors>
<Anchor point="TOPLEFT" x="20" y="10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
WorldMapTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT");
WorldMapTooltip:SetText(TOGGLE_BATTLEFIELDMINIMAP_TOOLTIP, nil, nil, nil, nil, 1);
WorldMapTooltip:Show();
</OnEnter>
<OnLeave>
WorldMapTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame name="WorldMapContinentDropDown" inherits="UIDropDownMenuTemplate" id="1">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide" x="-50" y="-35"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="GameFontNormalSmall" text="CONTINENT">
<Anchors>
<Anchor point="TOPLEFT" x="20" y="10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="WorldMapZoneDropDown" inherits="UIDropDownMenuTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapPositioningGuide" relativePoint="TOP" x="-70" y="-35"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="GameFontNormalSmall" text="ZONE">
<Anchors>
<Anchor point="TOPLEFT" x="20" y="10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="WorldMapZoomOutButton" inherits="UIPanelButtonTemplate" text="ZOOM_OUT">
<Size>
<AbsDimension x="110" y="22"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="WorldMapZoneDropDown" relativePoint="RIGHT" x="-10" y="3"/>
</Anchors>
<Scripts>
<OnClick function="WorldMapZoomOutButton_OnClick"/>
</Scripts>
</Button>
<Frame name="WorldMapDetailFrame" hidden="false">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide" x="-726" y="-99"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="WorldMapDetailTile1">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile2">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile1" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile3">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile2" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile4">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile3" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile5">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile1" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile6">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile5" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile7">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile6" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile8">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile7" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile9">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile5" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile10">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile9" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile11">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile10" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="WorldMapDetailTile12">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile11" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="WorldMapHighlight" alphaMode="ADD" hidden="true">
<Size x="128" y="128"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="WorldMapZoneInfo" inherits="SubZoneTextFont" justifyH="CENTER" hidden="true">
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="20"/>
</Anchors>
</FontString>
<FontString name="MapFramerateLabel" hidden="true" inherits="SystemFont_Shadow_Med1" text="FRAMERATE_LABEL">
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="64"/>
</Anchors>
</FontString>
<FontString name="MapFramerateText" hidden="true" inherits="SystemFont_Shadow_Med1">
<Anchors>
<Anchor point="LEFT" relativeTo="MapFramerateLabel" relativePoint="RIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="WorldMapLevelDropDown" inherits="UIDropDownMenuTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" relativePoint="TOPLEFT" x="780" y="34"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="GameFontNormalSmall" text="FLOOR" parentKey="header">
<Anchors>
<Anchor point="TOPLEFT" x="20" y="10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="WorldMapLevelUpButton">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapLevelDropDown" relativePoint="TOPRIGHT" x="-10" y="8"/>
</Anchors>
<Scripts>
<OnClick function="WorldMapLevelUp_OnClick"/>
</Scripts>
<NormalTexture file="Interface\Buttons\Arrow-Up-Up"/>
<PushedTexture file="Interface\Buttons\Arrow-Up-Down"/>
<DisabledTexture file="Interface\Buttons\Arrow-Up-Disabled"/>
</Button>
<Button name="WorldMapLevelDownButton">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="WorldMapLevelDropDown" relativePoint="BOTTOMRIGHT" x="-10" y="2"/>
</Anchors>
<Scripts>
<OnClick function="WorldMapLevelDown_OnClick"/>
</Scripts>
<NormalTexture file="Interface\Buttons\Arrow-Down-Up"/>
<PushedTexture file="Interface\Buttons\Arrow-Down-Down"/>
<DisabledTexture file="Interface\Buttons\Arrow-Down-Disabled"/>
</Button>
<Button name="WorldMapMagnifyingGlassButton" hidden="true">
<Size x="179" y="40"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide" x="-468" y="-86"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\WorldMap\WorldMap-MagnifyingGlass">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetFrameLevel() + 2);
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick function="WorldMapZoomOutButton_OnClick"/>
</Scripts>
<ButtonText text="ZOOM_OUT_BUTTON_TEXT">
<Anchors>
<Anchor point="TOPLEFT" x="32" y="-5"/>
</Anchors>
</ButtonText>
<NormalFont style="GameFontHighlightSmall"/>
</Button>
<Button name="WorldMapFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="WorldMapPositioningGuide" x="4" y="4"/>
</Anchors>
</Button>
<Button name="WorldMapFrameSizeDownButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="WorldMapPositioningGuide" x="-16" y="4"/>
</Anchors>
<Scripts>
<OnClick function="WorldMapFrame_ToggleWindowSize" />
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-SmallerButton-Up"/>
<PushedTexture file="Interface\Buttons\UI-Panel-SmallerButton-Down"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
</Button>
<Button name="WorldMapFrameSizeUpButton" hidden="true">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapFrameSizeDownButton" x="0" y="0"/>
</Anchors>
<Scripts>
<OnClick function="WorldMapFrame_ToggleWindowSize" />
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-BiggerButton-Up"/>
<PushedTexture file="Interface\Buttons\UI-Panel-BiggerButton-Down"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
</Button>
<QuestPOIFrame name="WorldMapBlobFrame">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="WorldMapBlobFrameTexture" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnLoad function="WorldMapBlobFrame_OnLoad" />
<OnUpdate function="WorldMapBlobFrame_OnUpdate"/>
</Scripts>
</QuestPOIFrame>
<ArchaeologyDigSiteFrame name="WorldMapArchaeologyDigSites">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame"/>
<Anchor point="BOTTOMRIGHT" relativeTo="WorldMapDetailFrame"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFillAlpha(128);
self:SetFillTexture("Interface\\WorldMap\\UI-ArchaeologyBlob-Inside");
self:SetBorderTexture("Interface\\WorldMap\\UI-ArchaeologyBlob-Outside");
self:EnableSmoothing(true);
--self:SetNumSplinePoints(30);
self:SetBorderScalar(0.5);
</OnLoad>
<OnUpdate function="ArchaeologyDigSiteFrame_OnUpdate"/>
</Scripts>
</ArchaeologyDigSiteFrame>
<ScenarioPOIFrame name="ScenarioPOIFrame">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="WorldMapBlobFrameTexture" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFillTexture("Interface\\WorldMap\\UI-QuestBlob-Inside");
self:SetBorderTexture("Interface\\WorldMap\\UI-QuestBlob-Outside");
self:SetFillAlpha(128);
self:SetBorderAlpha(192);
self:SetBorderScalar(1.0);
</OnLoad>
<OnUpdate function="ScenarioPOIFrame_OnUpdate"/>
</Scripts>
</ScenarioPOIFrame>
<Button name="WorldMapButton">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
</Anchors>
<Frames>
<Frame name="WorldMapPlayer" id="0">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnLoad>
self.unit = "player";
self:SetFrameLevel(self:GetFrameLevel()+1);
</OnLoad>
<OnEnter>
WorldMapUnit_OnEnter(self, motion);
</OnEnter>
<OnLeave>
WorldMapUnit_OnLeave(self, motion);
</OnLeave>
<OnMouseUp>
WorldMapUnit_OnMouseUp(self, button, "WorldMapRaid", "WorldMapParty");
</OnMouseUp>
</Scripts>
</Frame>
<Frame name="WorldMapUnitDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true"/>
<Frame name="WorldMapParty1" inherits="WorldMapPartyUnitTemplate" id="1"/>
<Frame name="WorldMapParty2" inherits="WorldMapPartyUnitTemplate" id="2"/>
<Frame name="WorldMapParty3" inherits="WorldMapPartyUnitTemplate" id="3"/>
<Frame name="WorldMapParty4" inherits="WorldMapPartyUnitTemplate" id="4"/>
<Frame name="WorldMapRaid1" inherits="WorldMapRaidUnitTemplate" id="1"/>
<Frame name="WorldMapRaid2" inherits="WorldMapRaidUnitTemplate" id="2"/>
<Frame name="WorldMapRaid3" inherits="WorldMapRaidUnitTemplate" id="3"/>
<Frame name="WorldMapRaid4" inherits="WorldMapRaidUnitTemplate" id="4"/>
<Frame name="WorldMapRaid5" inherits="WorldMapRaidUnitTemplate" id="5"/>
<Frame name="WorldMapRaid6" inherits="WorldMapRaidUnitTemplate" id="6"/>
<Frame name="WorldMapRaid7" inherits="WorldMapRaidUnitTemplate" id="7"/>
<Frame name="WorldMapRaid8" inherits="WorldMapRaidUnitTemplate" id="8"/>
<Frame name="WorldMapRaid9" inherits="WorldMapRaidUnitTemplate" id="9"/>
<Frame name="WorldMapRaid10" inherits="WorldMapRaidUnitTemplate" id="10"/>
<Frame name="WorldMapRaid11" inherits="WorldMapRaidUnitTemplate" id="11"/>
<Frame name="WorldMapRaid12" inherits="WorldMapRaidUnitTemplate" id="12"/>
<Frame name="WorldMapRaid13" inherits="WorldMapRaidUnitTemplate" id="13"/>
<Frame name="WorldMapRaid14" inherits="WorldMapRaidUnitTemplate" id="14"/>
<Frame name="WorldMapRaid15" inherits="WorldMapRaidUnitTemplate" id="15"/>
<Frame name="WorldMapRaid16" inherits="WorldMapRaidUnitTemplate" id="16"/>
<Frame name="WorldMapRaid17" inherits="WorldMapRaidUnitTemplate" id="17"/>
<Frame name="WorldMapRaid18" inherits="WorldMapRaidUnitTemplate" id="18"/>
<Frame name="WorldMapRaid19" inherits="WorldMapRaidUnitTemplate" id="19"/>
<Frame name="WorldMapRaid20" inherits="WorldMapRaidUnitTemplate" id="20"/>
<Frame name="WorldMapRaid21" inherits="WorldMapRaidUnitTemplate" id="21"/>
<Frame name="WorldMapRaid22" inherits="WorldMapRaidUnitTemplate" id="22"/>
<Frame name="WorldMapRaid23" inherits="WorldMapRaidUnitTemplate" id="23"/>
<Frame name="WorldMapRaid24" inherits="WorldMapRaidUnitTemplate" id="24"/>
<Frame name="WorldMapRaid25" inherits="WorldMapRaidUnitTemplate" id="25"/>
<Frame name="WorldMapRaid26" inherits="WorldMapRaidUnitTemplate" id="26"/>
<Frame name="WorldMapRaid27" inherits="WorldMapRaidUnitTemplate" id="27"/>
<Frame name="WorldMapRaid28" inherits="WorldMapRaidUnitTemplate" id="28"/>
<Frame name="WorldMapRaid29" inherits="WorldMapRaidUnitTemplate" id="29"/>
<Frame name="WorldMapRaid30" inherits="WorldMapRaidUnitTemplate" id="30"/>
<Frame name="WorldMapRaid31" inherits="WorldMapRaidUnitTemplate" id="31"/>
<Frame name="WorldMapRaid32" inherits="WorldMapRaidUnitTemplate" id="32"/>
<Frame name="WorldMapRaid33" inherits="WorldMapRaidUnitTemplate" id="33"/>
<Frame name="WorldMapRaid34" inherits="WorldMapRaidUnitTemplate" id="34"/>
<Frame name="WorldMapRaid35" inherits="WorldMapRaidUnitTemplate" id="35"/>
<Frame name="WorldMapRaid36" inherits="WorldMapRaidUnitTemplate" id="36"/>
<Frame name="WorldMapRaid37" inherits="WorldMapRaidUnitTemplate" id="37"/>
<Frame name="WorldMapRaid38" inherits="WorldMapRaidUnitTemplate" id="38"/>
<Frame name="WorldMapRaid39" inherits="WorldMapRaidUnitTemplate" id="39"/>
<Frame name="WorldMapRaid40" inherits="WorldMapRaidUnitTemplate" id="40"/>
<Frame name="WorldMapFlag1" inherits="WorldMapFlagTemplate" id="1"/>
<Frame name="WorldMapFlag2" inherits="WorldMapFlagTemplate" id="2"/>
<Frame name="WorldMapFlag3" inherits="WorldMapFlagTemplate" id="3"/>
<Frame name="WorldMapFlag4" inherits="WorldMapFlagTemplate" id="4"/>
<Frame name="WorldMapCorpse" inherits="WorldMapCorpseTemplate"/>
<Frame name="WorldMapDeathRelease" inherits="WorldMapCorpseTemplate">
<Scripts>
<OnEnter>
local x, y = self:GetCenter();
local parentX, parentY = self:GetParent():GetCenter();
if ( x > parentX ) then
WorldMapTooltip:SetOwner(self, "ANCHOR_LEFT");
else
WorldMapTooltip:SetOwner(self, "ANCHOR_RIGHT");
end
WorldMapTooltip:SetText(SPIRIT_HEALER_RELEASE_RED);
WorldMapTooltip:Show();
</OnEnter>
</Scripts>
</Frame>
<Model name="WorldMapPing" file="Interface\MiniMap\Ping\MinimapPing.mdx" scale="0.4" hidden="true">
<Size x="50" y="50"/>
<Anchors>
<Anchor point="CENTER" relativeTo="WorldMapFrame"/>
</Anchors>
<Scripts>
<OnLoad>
self.fadeOut = nil;
self:SetSequence(0);
</OnLoad>
</Scripts>
</Model>
<Frame name="WorldMapFrameAreaFrame">
<Size x="400" y="128"/>
<Anchors>
<Anchor point="TOP" x="0" y="-10"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="WorldMapFrameAreaLabel" inherits="WorldMapTextFont" text="BLAH!" justifyV="TOP">
<Size x="900" y="0"/>
<Anchors>
<Anchor point="TOP" x="0" y="-20"/>
</Anchors>
</FontString>
<FontString name="WorldMapFrameAreaDescription" inherits="SubZoneTextFont">
<Anchors>
<Anchor point="TOP" relativeTo="WorldMapFrameAreaLabel" relativePoint="BOTTOM" x="0" y="-10"/>
</Anchors>
</FontString>
<FontString name="WorldMapFrameAreaPetLevels" inherits="SubZoneTextFont">
<Anchors>
<Anchor point="TOP" relativeTo="WorldMapFrameAreaLabel" relativePoint="BOTTOM" x="0" y="-10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="OutlandButton" hidden="true">
<Size x="320" y="320"/>
<Anchors>
<Anchor point="TOPLEFT" x="115" y="-90"/>
</Anchors>
<Scripts>
<OnClick>
SetMapZoom(3);
</OnClick>
</Scripts>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Cosmic\Cosmic-Outland-Highlight">
<Size x="856" y="605"/>
<Anchors>
<Anchor point="CENTER" x="176" y="-87"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="AzerothButton" hidden="true">
<Size x="366" y="366"/>
<Anchors>
<Anchor point="TOPLEFT" x="593" y="-255"/>
</Anchors>
<Scripts>
<OnClick>
SetMapZoom(0);
</OnClick>
</Scripts>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Cosmic\Cosmic-Azeroth-Highlight">
<Size x="898" y="647"/>
<Anchors>
<Anchor point="CENTER" x="-224" y="104"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="TheMaelstromButton" inherits="WorldMapMaelstromButtonTemplate" text="TheMaelstrom">
<Size x="120" y="120"/>
<Anchors>
<Anchor point="TOPLEFT" x="305" y="-140"/>
</Anchors>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\TheMaelstrom\TheMaelstromHighlight" alphaMode="ADD">
<Size x="128" y="128"/>
<Anchors>
<Anchor point="CENTER" x="0" y="-2"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="DeepholmButton" inherits="WorldMapMaelstromButtonTemplate" text="Deepholm">
<Size x="120" y="120"/>
<Anchors>
<Anchor point="TOPLEFT" x="450" y="-130"/>
</Anchors>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Deepholm\DeepholmHighlight" alphaMode="ADD">
<Size x="160" y="160"/>
<Anchors>
<Anchor point="CENTER" x="5" y="-20"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="KezanButton" inherits="WorldMapMaelstromButtonTemplate" text="Kezan">
<Size x="254" y="240"/>
<Anchors>
<Anchor point="TOPLEFT" x="236" y="-380"/>
</Anchors>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Kezan\KezanHighlight" alphaMode="ADD">
<Size x="360" y="360"/>
<Anchors>
<Anchor point="CENTER" x="-5" y="-65"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="LostIslesButton" inherits="WorldMapMaelstromButtonTemplate" text="TheLostIsles">
<Size x="152" y="180"/>
<Anchors>
<Anchor point="TOPLEFT" x="75" y="-266"/>
</Anchors>
<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\TheLostIsles\TheLostIslesHighlight" alphaMode="ADD">
<Size x="250" y="250"/>
<Anchors>
<Anchor point="CENTER" x="5" y="-40"/>
</Anchors>
</HighlightTexture>
</Button>
</Frames>
<!-- This animation blanks the wall display in Wintergrasp. Remove for now, revisit later.
<Animations>
<AnimationGroup name="$parentPulser" looping="BOUNCE">
<Animation duration="2.0">
<Scripts>
<OnLoad>
self.min = 0.15;
self.max = 0.35;
</OnLoad>
<OnUpdate function="WorldMapQuestPOIPulser_OnUpdate"/>
</Scripts>
</Animation>
<Scripts>
<OnLoad>
self:Play();
</OnLoad>
</Scripts>
</AnimationGroup>
</Animations>
-->
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnMouseUp function="WorldMapButton_OnClick"/>
<OnUpdate function="WorldMapButton_OnUpdate"/>
</Scripts>
</Button>
<Frame name="WorldMapPOIFrame">
<Size x="1002" y="668"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
</Anchors>
</Frame>
<Frame name="WorldMapBossButtonFrame">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeTo="WorldMapDetailFrame" x="0" y="0"/>
</Anchors>
</Frame>
<ScrollFrame name="WorldMapQuestScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size x="283" y="670"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" relativePoint="TOPRIGHT" x="6" y="0"/>
</Anchors>
<ScrollChild>
<Frame name="WorldMapQuestScrollChildFrame">
<Size x="283" y="50"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Frames>
<Frame name="WorldMapQuestSelectedFrame" hidden="false">
<Size x="301" y="50"/>
<Layers>
<Layer level="ARTWORK">
<Texture name="WorldMapQuestSelectBar" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
WorldMapQuestSelectBar:SetVertexColor(1, 0.824, 0);
</OnLoad>
</Scripts>
</Frame>
<Frame name="WorldMapQuestHighlightedFrame" hidden="false">
<Size x="301" y="50"/>
<Layers>
<Layer level="ARTWORK">
<Texture name="WorldMapQuestHighlightBar" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
WorldMapQuestHighlightBar:SetVertexColor(0.243, 0.570, 1);
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
</ScrollChild>
</ScrollFrame>
<ScrollFrame name="WorldMapQuestDetailScrollFrame" inherits="MinimalScrollFrameTemplate">
<Size x="302" y="199"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="WorldMapDetailFrame" relativePoint="BOTTOMLEFT" x="20" y="-207"/>
</Anchors>
<ScrollChild>
<Frame name="WorldMapQuestDetailScrollChildFrame">
<Size x="300" y="199"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Frame>
</ScrollChild>
</ScrollFrame>
<ScrollFrame name="WorldMapQuestRewardScrollFrame" inherits="MinimalScrollFrameTemplate">
<Size x="323" y="199"/>
<Anchors>
<Anchor point="LEFT" relativeTo="WorldMapQuestDetailScrollFrame" relativePoint="RIGHT" x="28" y="0"/>
</Anchors>
<ScrollChild>
<Frame name="WorldMapQuestRewardScrollChildFrame">
<Size x="323" y="199"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Frame>
</ScrollChild>
</ScrollFrame>
<CheckButton name="WorldMapTrackQuest" inherits="OptionsCheckButtonTemplate" hidden="true">
<Size x="24" y="24"/>
<Scripts>
<OnLoad>
local text = _G[self:GetName().."Text"];
text:SetText(TRACK_QUEST);
self:SetPoint("BOTTOMLEFT", WorldMapPositioningGuide, "BOTTOMLEFT", 10, 4);
</OnLoad>
<OnClick>
local isChecked = self:GetChecked();
if ( isChecked ) then
PlaySound("igMainMenuOptionCheckBoxOn");
else
PlaySound("igMainMenuOptionCheckBoxOff");
end
WorldMapTrackQuest_Toggle(isChecked);
</OnClick>
<OnEnter>
WorldMapTooltip:SetOwner(self, "ANCHOR_RIGHT");
WorldMapTooltip:SetText(OPTION_TOOLTIP_MAP_TRACK_QUEST, nil, nil, nil, nil, 1);
</OnEnter>
<OnLeave>
WorldMapTooltip:Hide();
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="WorldMapQuestShowObjectives" inherits="OptionsCheckButtonTemplate">
<Size x="24" y="24"/>
<Scripts>
<OnLoad>
local text = _G[self:GetName().."Text"];
text:SetText(SHOW_QUEST_OBJECTIVES_ON_MAP_TEXT);
self:SetPoint("BOTTOMRIGHT", WorldMapPositioningGuide, "BOTTOMRIGHT", -15 - text:GetWidth(), 4);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOn");
else
PlaySound("igMainMenuOptionCheckBoxOff");
end
SetCVar("questPOI", self:GetChecked());
WorldMapQuestShowObjectives_Toggle();
if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
WatchFrame_GetCurrentMapQuests();
WatchFrame_Update();
end
WorldMapFrame_DisplayQuests();
</OnClick>
<OnEnter>
WorldMapTooltip:SetOwner(self, "ANCHOR_LEFT");
WorldMapTooltip:SetText(OPTION_TOOLTIP_SHOW_QUEST_OBJECTIVES_ON_MAP, nil, nil, nil, nil, 1);
</OnEnter>
<OnLeave>
WorldMapTooltip:Hide();
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="WorldMapShowDigSites" inherits="OptionsCheckButtonTemplate" hidden="true">
<Size x="24" y="24"/>
<Scripts>
<OnLoad>
local _, _, arch = GetProfessions();
if arch then
self:Show();
local showDig = GetCVarBool("digSites");
self:SetChecked(showDig);
if showDig then
WorldMapArchaeologyDigSites:Show();
else
WorldMapArchaeologyDigSites:Hide();
end
else
self:Hide();
end
local text = _G[self:GetName().."Text"];
text:SetText(ARCHAEOLOGY_SHOW_DIG_SITES);
self:SetPoint("RIGHT", WorldMapQuestShowObjectives, "LEFT", -140, 0);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOn");
WorldMapArchaeologyDigSites:Show();
else
PlaySound("igMainMenuOptionCheckBoxOff");
WorldMapArchaeologyDigSites:Hide();
end
SetCVar("digSites", self:GetChecked());
RefreshWorldMap();
</OnClick>
<OnEnter>
WorldMapTooltip:SetOwner(self, "ANCHOR_LEFT");
WorldMapTooltip:SetText(OPTION_TOOLTIP_SHOW_DIG_SITES, nil, nil, nil, nil, 1);
</OnEnter>
<OnLeave>
WorldMapTooltip:Hide();
</OnLeave>
</Scripts>
</CheckButton>
<Frame name="WorldMapShowDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="WorldMapPositioningGuide" relativePoint="BOTTOMRIGHT" x="10" y="-2" />
</Anchors>
<Scripts>
<OnLoad function="WorldMapShowDropDown_OnLoad" />
<OnShow function="WorldMapShowDropDown_OnLoad" />
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="WorldMapFrame_OnLoad"/>
<OnShow function="WorldMapFrame_OnShow"/>
<OnHide function="WorldMapFrame_OnHide"/>
<OnEvent function="WorldMapFrame_OnEvent"/>
<OnUpdate function="WorldMapFrame_OnUpdate"/>
<OnKeyDown function="WorldMapFrame_OnKeyDown"/>
</Scripts>
</Frame>
<GameTooltip name="WorldMapCompareTooltip1" clampedToScreen="true" frameStrata="TOOLTIP" hidden="true" parent="WorldMapFrame" inherits="ShoppingTooltipTemplate"/>
<GameTooltip name="WorldMapCompareTooltip2" clampedToScreen="true" frameStrata="TOOLTIP" hidden="true" parent="WorldMapFrame" inherits="ShoppingTooltipTemplate"/>
<GameTooltip name="WorldMapCompareTooltip3" clampedToScreen="true" frameStrata="TOOLTIP" hidden="true" parent="WorldMapFrame" inherits="ShoppingTooltipTemplate"/>
<GameTooltip name="WorldMapTooltip" frameStrata="TOOLTIP" hidden="true" parent="WorldMapFrame" inherits="GameTooltipTemplate">
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
self.shoppingTooltips = { WorldMapCompareTooltip1, WorldMapCompareTooltip2, WorldMapCompareTooltip3 };
</OnLoad>
</Scripts>
</GameTooltip>
<Frame name="WorldMapScreenAnchor" hidden="true" movable="true">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="TOPLEFT" x="10" y="-118"/>
</Anchors>
</Frame>
<Button name="WorldMapTitleButton" parent="WorldMapFrame">
<Size x="544" y="22" />
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentMiniBorderLeft" x="0" y="0" />
</Anchors>
<Scripts>
<OnLoad function="WorldMapTitleButton_OnLoad" />
<OnClick function="WorldMapTitleButton_OnClick" />
<OnDragStart function="WorldMapTitleButton_OnDragStart" />
<OnDragStop function="WorldMapTitleButton_OnDragStop" />
</Scripts>
</Button>
</Ui>