Files
moonwell-client/reference/FrameXML/Minimap.xml
T

755 lines
23 KiB
XML

<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="Minimap.lua"/>
<Frame name="EyeTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="45" y="45"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" setAllPoints="true" file="Interface\LFGFrame\LFG-Eye" parentKey="texture"/>
</Layer>
</Layers>
</Frame>
<Button name="MiniMapButtonTemplate" virtual="true">
<Scripts>
<OnHide>
if (self.isDown) then
MinimapButton_OnMouseUp(self);
end
</OnHide>
<OnMouseDown>
MinimapButton_OnMouseDown(self, button);
</OnMouseDown>
<OnMouseUp>
MinimapButton_OnMouseUp(self, button);
</OnMouseUp>
</Scripts>
</Button>
<Frame name="MinimapCluster" frameStrata="BACKGROUND" enableMouse="true" parent="UIParent">
<Size>
<AbsDimension x="192" y="192"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<HitRectInsets>
<AbsInset left="30" right="10" top="0" bottom="30"/>
</HitRectInsets>
<Layers>
<Layer level="ARTWORK">
<Texture name="MinimapBorderTop" file="Interface\Minimap\UI-Minimap-Border">
<Size>
<AbsDimension x="192" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.25" right="1.0" top="0.0" bottom="0.125"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="MinimapZoneTextButton">
<Size>
<AbsDimension x="150" y="12"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="7" y="83"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="MinimapZoneText" inherits="GameFontNormal" nonspacewrap="true">
<Size>
<AbsDimension x="150" y="12"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_LEFT");
local pvpType, isSubZonePvP, factionName = GetZonePVPInfo();
Minimap_SetTooltip( pvpType, factionName );
GameTooltip:Show();
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Minimap name="Minimap" enableMouse="true" minimapPlayerModel="Interface\Minimap\MinimapArrow.mdx" minimapArrowModel="Interface\Minimap\Rotating-MinimapArrow.mdl">
<Size>
<AbsDimension x="140" y="140"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="TOP">
<Offset>
<AbsDimension x="9" y="-92"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="MiniMapMailFrame" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="21" y="-53"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="MiniMapMailIcon" file="Interface\Icons\INV_Letter_15">
<Size>
<AbsDimension x="18" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="MiniMapMailBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterEvent("UPDATE_PENDING_MAIL");
self:SetFrameLevel(self:GetFrameLevel()+1)
</OnLoad>
<OnEvent>
if ( event == "UPDATE_PENDING_MAIL" ) then
if ( HasNewMail() ) then
self:Show();
if( GameTooltip:IsOwned(self) ) then
MinimapMailFrameUpdate();
end
else
self:Hide();
end
end
</OnEvent>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT");
if( GameTooltip:IsOwned(self) ) then
MinimapMailFrameUpdate();
end
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Frame>
<Button name="MiniMapBattlefieldFrame" hidden="true">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="13" y="-13"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="MiniMapBattlefieldIcon" file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-1" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="BattlefieldIconText" inherits="GameFontNormal" nonspacewrap="true">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture name="MiniMapBattlefieldBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="BattlegroundShine" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="3" y="3"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.5625" right="1" top="0" bottom="1"/>
<Color r="1" g="1" b="1" a="0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="MiniMapBattlefieldDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true">
<Scripts>
<OnLoad function="MiniMapBattlefieldDropDown_OnLoad"/>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
self:SetFrameLevel(self:GetFrameLevel()+1);
MiniMapBattlefieldFrame.timeInQueue = 0;
</OnLoad>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_LEFT");
if (self.tooltip) then
GameTooltip:SetText(self.tooltip);
end
self:SetScript("OnUpdate", MiniMapBattlefieldFrame_OnUpdate);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
self:SetScript("OnUpdate", nil);
</OnLeave>
<OnClick>
-- Hide tooltip
GameTooltip:Hide();
if ( MiniMapBattlefieldFrame.status == "active") then
if ( button == "RightButton" ) then
ToggleDropDownMenu(1, nil, MiniMapBattlefieldDropDown, "MiniMapBattlefieldFrame", 0, -5);
elseif ( IsShiftKeyDown() ) then
ToggleBattlefieldMinimap();
else
ToggleWorldStateScoreFrame();
end
elseif ( button == "RightButton" ) then
ToggleDropDownMenu(1, nil, MiniMapBattlefieldDropDown, "MiniMapBattlefieldFrame", 0, -5);
end
</OnClick>
</Scripts>
</Button>
<Frame name="MinimapPing" hidden="true">
<Size>
<AbsDimension x="50" y="50"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="Minimap"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentCenter" file="Interface\Minimap\UI-Minimap-Ping-Center">
<Size x="15" y="15"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture name="$parentExpander" file="Interface\Minimap\UI-Minimap-Ping-Expand">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture name="$parentSpinner" file="Interface\Minimap\UI-Minimap-Ping-Rotate">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="MinimapPing_OnLoad"/>
<OnEvent function="MinimapPing_OnEvent"/>
<OnUpdate function="MinimapPing_OnUpdate"/>
</Scripts>
</Frame>
<Frame name="MinimapBackdrop">
<Size>
<AbsDimension x="192" y="192"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="MinimapCluster">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="MinimapBorder" file="Interface\Minimap\UI-Minimap-Border">
<TexCoords left="0.25" right="1.0" top="0.125" bottom="0.875"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="MinimapNorthTag" file="Interface\Minimap\CompassNorthTag">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="Minimap">
<Offset>
<AbsDimension x="0" y="67"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="MinimapCompassTexture" file="Interface\Minimap\CompassRing">
<Size>
<AbsDimension x="365" y="365"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="Minimap">
<Offset x="-2" y="0"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="MiniMapWorldMapButton" hidden="false" inherits="MiniMapButtonTemplate">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-21" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture name="$parentIcon" file="Interface\WorldMap\UI-World-Icon">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-2" y="2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="MiniMapWorldBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.tooltipText = MicroButtonTooltipText(WORLDMAP_BUTTON, "TOGGLEWORLDMAP");
self.newbieText = NEWBIE_TOOLTIP_WORLDMAP;
self:RegisterEvent("UPDATE_BINDINGS");
</OnLoad>
<OnEnter>
GameTooltip_AddNewbieTip(self, self.tooltipText, 1.0, 1.0, 1.0, self.newbieText);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
<OnEvent>
self.tooltipText = MicroButtonTooltipText(WORLDMAP_BUTTON, "TOGGLEWORLDMAP");
self.newbieText = NEWBIE_TOOLTIP_WORLDMAP;
</OnEvent>
<OnClick>
ToggleFrame(WorldMapFrame);
</OnClick>
</Scripts>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
<Frame name="MiniMapTracking">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="13" y="-40"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground" file="Interface\Minimap\UI-Minimap-Background">
<Size x="25" y="25"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="2" y="-4"/>
</Anchor>
</Anchors>
<Color r="1" g="1" b="1" a="0.6"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentIcon">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="6" y="-6"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentIconOverlay" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentIcon"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true">
<Scripts>
<OnLoad function="MiniMapTrackingDropDown_OnLoad"/>
</Scripts>
</Frame>
<Button name="$parentButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture name="$parentBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size x="54" y="54"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentShine" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD" hidden="true">
<Size x="27" y="27"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="2" y="-2"/>
</Anchor>
</Anchors>
<TexCoords left="0.5625" right="1" top="0" bottom="1"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterEvent("MINIMAP_UPDATE_TRACKING");
MiniMapTracking_Update();
</OnLoad>
<OnEvent function="MiniMapTracking_Update"/>
<OnClick>
ToggleDropDownMenu(1, nil, MiniMapTrackingDropDown, "MiniMapTracking", 0, -5);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
<OnMouseDown>
MiniMapTrackingIcon:SetPoint("TOPLEFT", MiniMapTracking, "TOPLEFT", 8, -8);
MiniMapTrackingIconOverlay:Show();
</OnMouseDown>
<OnMouseUp>
MiniMapTrackingIcon:SetPoint("TOPLEFT", MiniMapTracking, "TOPLEFT", 6, -6);
MiniMapTrackingIconOverlay:Hide();
</OnMouseUp>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetTracking();
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
</Frames>
</Frame>
<Button name="MiniMapLFGFrame" hidden="true" inherits="MiniMapButtonTemplate">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentIcon" inherits="EyeTemplate" hidden="false" parentKey="eye">
<Size x="30" y="30"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Frame>
<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate">
<Scripts>
<OnLoad>
UIDropDownMenu_Initialize(self, MiniMapLFGFrameDropDown_Update, "MENU");
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self:RegisterEvent("LFG_UPDATE");
self:RegisterEvent("PLAYER_ENTERING_WORLD");
self:RegisterEvent("LFG_ROLE_CHECK_UPDATE");
self:RegisterEvent("LFG_PROPOSAL_UPDATE");
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
self:SetFrameLevel(self:GetFrameLevel()+1)
</OnLoad>
<OnClick function="MiniMapLFGFrame_OnClick"/>
<OnEvent function="MiniMapLFG_UpdateIsShown"/>
<OnEnter function="MiniMapLFGFrame_OnEnter"/>
<OnLeave function="MiniMapLFGFrame_OnLeave"/>
</Scripts>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
<Button name="MinimapZoomIn">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="71" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="4" right="4" top="2" bottom="6"/>
</HitRectInsets>
<Scripts>
<OnClick function="Minimap_ZoomInClick"/>
<OnEnter>
if ( GetCVar("UberTooltips") == "1" ) then
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
GameTooltip:SetText(ZOOM_IN);
end
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Up"/>
<PushedTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Down"/>
<DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
<Button name="MinimapZoomOut">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="51" y="-39"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="4" right="4" top="2" bottom="6"/>
</HitRectInsets>
<Scripts>
<OnClick function="Minimap_ZoomOutClick"/>
<OnEnter>
if ( GetCVar("UberTooltips") == "1" ) then
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
GameTooltip:SetText(ZOOM_OUT);
end
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Up"/>
<PushedTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Down"/>
<DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
<Button name="MiniMapRecordingButton" hidden="true">
<Size>
<AbsDimension x="27" y="27"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-1" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture name="MiniMapWorldIcon" file="Interface\Minimap\MovieRecordingIcon">
<Size>
<AbsDimension x="15" y="15"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="MiniMapRecordingBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="41" y="41"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if ( GetCVar("UberTooltips") == "1" ) then
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
MINIMAP_RECORDING_INDICATOR_ON = true;
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
MINIMAP_RECORDING_INDICATOR_ON = false;
</OnLeave>
<OnLoad>
self:RegisterEvent("MOVIE_RECORDING_PROGRESS");
</OnLoad>
<OnEvent>
if ( event == "MOVIE_RECORDING_PROGRESS" ) then
if( MovieRecording_IsRecording() and GetCVar("MovieRecordingIcon") == "1") then
self:Show();
else
self:Hide();
end
end
</OnEvent>
<OnUpdate>
if ( MINIMAP_RECORDING_INDICATOR_ON ) then
GameTooltip:SetText(MOVIE_RECORDING_RECORDING..MovieRecording_GetTime());
end
</OnUpdate>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnMouseUp function="Minimap_OnClick"/>
</Scripts>
</Minimap>
<Frame name="MiniMapInstanceDifficulty" hidden="true">
<Size>
<AbsDimension x="38" y="46"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="22" y="-17"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" file="Interface\Minimap\UI-DungeonDifficulty-Button">
<Size>
<AbsDimension x="64" y="46"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.0" right="0.25" top="0.0703125" bottom="0.4140625"/>
</Texture>
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-1" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterEvent("PLAYER_DIFFICULTY_CHANGED");
self:RegisterEvent("UPDATE_INSTANCE_INFO");
</OnLoad>
<OnEvent function="MiniMapInstanceDifficulty_OnEvent" />
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
Minimap.timer = 0;
Minimap_Update();
self:RegisterEvent("ZONE_CHANGED");
self:RegisterEvent("ZONE_CHANGED_INDOORS");
self:RegisterEvent("ZONE_CHANGED_NEW_AREA");
Minimap_UpdateRotationSetting();
MiniMapInstanceDifficulty:SetFrameLevel(self:GetFrameLevel() + 10);
</OnLoad>
<OnEvent function="Minimap_Update"/>
</Scripts>
</Frame>
</Ui>