this:SetFrameLevel(this:GetFrameLevel() + 4);
PanelTemplates_Tab_OnClick(MetaMap_DialogFrame);
MetaMap_OptionsTab_OnClick();
PanelTemplates_TabResize(0);
this:SetFrameLevel(this:GetFrameLevel() +1);
this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
MetaMapNotes_OnEnter(this:GetID());
WorldMapTooltip:Hide()
MetaMapNotes_Note_OnClick(arg1, this:GetID());
this:SetFrameLevel(this:GetFrameLevel() + 3)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
if this:GetID() == 1 then
MetaMapNotesPOIpartyTexture:SetTexture("Interface\\AddOns\\MetaMap\\POIIcons\\Iconparty")
end
if(this:GetID() == 0) then
MetaMapNotes_OnEnter(0);
elseif(this:GetID() == 1) then
MetaMapNotes_OnEnter(-1);
end
WorldMapTooltip:Hide()
MetaMapNotes_Misc_OnClick(arg1)
MetaMap_FilterNotes();
this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
MetaMapList_OnClick(arg1, tonumber(getglobal(this:GetName().."NoteID"):GetText()));
getglobal(this:GetName().."Highlight"):Show();
MetaMapNotes_OnEnter(tonumber(getglobal(this:GetName().."NoteID"):GetText()));
getglobal(this:GetName().."Highlight"):Hide();
WorldMapTooltip:Hide();
this:SetFrameLevel(this:GetFrameLevel() + 4)
MetaMapPing.timer = MetaMap_PingTime;
MetaMapPing_OnUpdate(arg1);
GameTooltip:Hide();
MetaMapExtOptions_Toggle();
PanelTemplates_SetNumTabs(this, 6);
PlaySound("UChatScrollButton");
PanelTemplates_SetTab(this, 1);
MetaMap_ToggleDialog("MetaMap_GeneralDialog");
MetaMapBKP_NoLoad:Hide();
this:SetParent("UIParent");
this:SetFrameStrata("FULLSCREEN");
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_MENU_MODE);
MetaMapOptions.MenuMode = not MetaMapOptions.MenuMode;
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_AUTOSEL)
MetaMapOptions.TooltipWrap = not MetaMapOptions.TooltipWrap;
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_SHOWBUT)
MetaMapOptions.MetaMapButtonShown = not MetaMapOptions.MetaMapButtonShown;
MetaMapOptions_Init();
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_ZONEHEADER)
MetaMapOptions.ZoneHeader = not MetaMapOptions.ZoneHeader;
MetaMap_ZoneHeader();
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_LISTCOLORS)
MetaMapOptions.ListColors = not MetaMapOptions.ListColors;
MetaMapList_Init();
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_POI)
MetaMapOptions.usePOI = not MetaMapOptions.usePOI;
MetaMap_LoadBKP();
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_HIGHLIGHT_LASTCREATED)
MetaMapOptions.LastHighlight = not MetaMapOptions.LastHighlight;
MetaMapNotes_MapUpdate();
getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_HIGHLIGHT_MININOTE)
MetaMapOptions.LastMiniHighlight = not MetaMapOptions.LastMiniHighlight;
MetaMapNotes_MapUpdate();
getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_ACCEPTINCOMING)
MetaMapOptions.AcceptIncoming = not MetaMapOptions.AcceptIncoming;
getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_AUTOPARTYASMININOTE)
MetaMapOptions.MiniParty = not MetaMapOptions.MiniParty;
getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_SHOWAUTHOR)
MetaMapOptions.MetaMapShowAuthor = not MetaMapOptions.MetaMapShowAuthor;
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
MetaMapNotes_InfoText:Hide();
UIDropDownMenu_ClearAll(MetaMap_DeleteNotesList);
UIDropDownMenu_Initialize(MetaMap_DeleteNotesList, MetaMap_DeleteNotesListInit, "MENU");
MetaMap_ZoneHeader();
MetaMap_LoadWKB(3);
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
MetaMap_LoadFWM();
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
MetaMap_LoadImports();
MetaMap_LoadExports();
ReloadUI();
this:Disable();
MetaMap_ImportOptions(1);
this:Disable();
MetaMap_ImportOptions(2);
this:Disable();
MetaMap_ImportOptions(3);
this:Disable();
MetaMap_ImportOptions(4);
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
MetaMap_LoadZSM();
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
MetaMap_ZSMOnShow();
MetaMapTopFrame_OnLoad();
MetaMap_OnEvent(event);
MetaMapTopFrame_OnShow();
if ( arg1 == "LeftButton" ) then
this:GetParent():StartMoving();
this.isMoving = true;
end
if ( this.isMoving ) then
this:GetParent():StopMovingOrSizing();
this.isMoving = false;
WorldMapFrame:SetUserPlaced(false);
end
MetaMapTopFrame_OnHide();
if(not MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Mainmap");
end
if(MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Mainmap");
end
MetaMapCoordsWorldMap_OnUpdate();
MetaMapFrameDropDown_OnLoad();
this:SetBackdropColor(0,0,0);
this:SetFrameLevel(WorldMapButton:GetFrameLevel()+1);
MetaMap_ToggleFrame(WorldMapFrame);
MetaMap_ButtonTooltip();
if(not MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Minimap");
end
if(arg1 == "RightButton" and MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Minimap");
end
GameTooltip:Hide();
MiniMapCoords_OnUpdate();
if(arg1 == "LeftButton") then
if(IsShiftKeyDown() or IsControlKeyDown()) then
MiniMapCoords_OnClick();
else
this:StartMoving();
end
end
this.isMoving = true;
if(this.isMoving) then
this:StopMovingOrSizing();
this.isMoving = false;
end
getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_TRANS);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
MetaMapAlphaSlider:SetMinMaxValues(0.0,1.0);
MetaMapAlphaSlider:SetValueStep(0.01);
MetaMap_UpdateAlpha();
getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_SCALE);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
MetaMapScaleSlider:SetMinMaxValues(0.0,1.0);
MetaMapScaleSlider:SetValueStep(0.01);
MetaMap_UpdateScale();
getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_TTSCALE);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
MetaMapTTScaleSlider:SetMinMaxValues(0.5,2.0);
MetaMapTTScaleSlider:SetValueStep(0.01);
MetaMap_UpdateTTScale();
WorldMapTooltip:SetOwner(this, "ANCHOR_CENTER");
WorldMapTooltip:SetText("Tooltip Scaling Sample", 0, 1, 0);
WorldMapTooltip:AddLine("Move the Tooltip slider to change the scale of the tooltips shown on the WorldMap", 1, 1, 1, true);
WorldMapTooltip:Show();
WorldMapTooltip:Hide();
getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_SHADER);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
this:SetMinMaxValues(0.0,1.0);
this:SetValueStep(0.01);
MetaMap_UpdateBackDrop();
getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_BUTPOS);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
MetaMapButtonSlider:SetMinMaxValues(0,360);
MetaMapButtonSlider:SetValueStep(1);
MetaMapOptions.MetaMapButtonPosition = MetaMapButtonSlider:GetValue();
MetaMapButton_UpdatePosition();
UIPanelWindows['MetaMapMenu'] = {area = 'center', pushable = 0};
PlaySound("UChatScrollButton");
MetaMapMenu_Init();
MetaMapMenu_OnUpdate();
MetaMap_FilterNotes(true);
MetaMap_FilterNotes(false);
PlaySound("UChatScrollButton");
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
this:SetWidth(WorldMapButton:GetWidth());
this:SetHeight(WorldMapButton:GetHeight());
MetaMap_MapImage:SetHeight(MetaMapFrame:GetHeight()-60);
MetaMap_MapImage:SetWidth(MetaMap_MapImage:GetHeight());
MetaMapNotes_WorldMapButton_OnClick(arg1, WorldMapButton)
if(IsAddOnLoaded("Titan")) then
TitanPanelMetaMapButton_OnLoad();
TitanPanelButton_OnLoad();
else
this:Hide();
end
TitalPanelMetaMapButton_OnClick(arg1);
TitanPanelButton_OnClick(arg1, 1);
if(not MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Titan");
end
if(arg1 == "RightButton" and MetaMapOptions.MenuMode) then
MetaMapMenu_OnShow("Titan");
end
this:SetFrameLevel(this:GetFrameLevel() +1);
PlaySound("igMainMenuOption")
MetaMapNotes_ClearMiniNote()
PlaySound("igMainMenuOption");
MetaMapNotes_SetMiniNote(MetaMapNotes_TempData_Id, GetCurrentMapContinent(), GetCurrentMapZone());
PlaySound("igMainMenuOption");
MetaMapNotes_ShowSendFrame(1);
PlaySound("igMainMenuOption");
MetaMapNotes_StartGUIToggleLine();
PlaySound("igMainMenuOption");
MetaMapNotes_WriteNote();
PlaySound("igMainMenuOption");
MetaMap_CheckLinks(MetaMapNotes_TempData_Id);
PlaySound("igMainMenuOption");
MetaMapNotes_StartMoveNote(MetaMapNotes_TempData_Id);
PlaySound("igMainMenuOption");
this:GetParent():Hide();
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(0)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(1)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(2)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(3)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(4)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(5)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(6)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(7)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(8)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetIcon(9)
TitleWideEditBox:SetText("")
if (TitleWideEditBox:GetText() == "" or TitleWideEditBox:GetText() == nil) then
MetaMapNotesButtonSaveNote:Disable()
else
MetaMapNotesButtonSaveNote:Enable()
end
PlaySound("igMainMenuOption");
MetaMapNotes_WriteNote();
this:GetParent():Hide();
PlaySound("igMainMenuOption")
MetaMapNotes_WriteNote()
this:GetParent():Hide();
PlaySound("igMainMenuOption")
MetaMapNotes_WriteNote()
this:GetParent():Hide();
PlaySound("igMainMenuOption")
MetaMapNotes_WriteNote()
this:GetParent():Hide();
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(0)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(1)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(2)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(3)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(4)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(5)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(6)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(7)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(8)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetTextColor(9)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(0)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(1)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(2)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(3)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(4)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(5)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(6)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(7)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(8)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo1Color(9)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(0)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(1)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(2)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(3)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(4)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(5)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(6)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(7)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(8)
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
MetaMapNotes_Edit_SetInfo2Color(9)
this:SetBackdropColor(0,0,0,1);
this:SetAlpha(255);
this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
WorldMapPlayer:GetScript("OnEnter")()
WorldMapPlayer:GetScript("OnLeave")()
MetaMapNotes_WorldMapButton_OnClick(arg1, WorldMapButton)
this:SetFrameLevel(5)
MetaMapNotes_MiniNote_OnUpdate(0)
MetaMapNotes_MiniNote_OnClick(arg1);
MetaMapNotes_MiniNote_OnEnter();
GameTooltip:Hide()
PlaySound("igMainMenuOption")
MetaMapNotes_SendNote(1)
PlaySound("igMainMenuOption")
MetaMapNotes_SendNote(2)
PlaySound("igMainMenuOption")
MetaMapNotes_ShowSendFrame(MetaMapNotes_ToggleSendValue)
PlaySound("igMainMenuOption");
this:GetParent():Hide();
MetaMapNotesDeletePartyNote:Hide();
PlaySound("igMainMenuOption");
MetaMapNotes_ClearMiniNote(false);
SendWideEditBox:SetText("")
this:GetParent():Hide();
MetaMapNotes_OnLoad();
this:SetBackdropColor(0,0,0,1);
this:SetAlpha(255);
this:SetAlpha(255);
MetaMapNotes_PartyNoteSet = false;
MetaMapNotes_NextMiniNote("on");
PlaySound("igMainMenuOption");
MetaMapNotes_SetQuickNote(1);
this:GetParent():Hide();
PlaySound("igMainMenuOption")
MetaMapNotes_NextMiniNoteOnly("on")
MetaMapNotes_SetQuickNote(1);
this:GetParent():Hide();
PlaySound("igMainMenuOption")
MetaMapNotes_SetQuickNote(2);
this:GetParent():Hide();
PlaySound("igMainMenuOption")
this:GetParent():Hide()
this:SetBackdropColor(0,0,0,1);
this:SetAlpha(255);
this:SetText("");
this:GetParent():Hide();
MetaMapNotes_SetQuickNote(1);
this:GetParent():Hide();
this:SetBackdropColor(0,0,0,1);
this:SetAlpha(255);
MetaMapNotes_QuickNoteShow();
MetaMapNotes_Qnote = false;
MetaMapList_OnLoad();
this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
PlaySound("igMainMenuOptionCheckBoxOn");
MetaMapOptions.SortList = not MetaMapOptions.SortList;
MetaMapList_Init();
this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
MetaMapList_OnClick(arg1, this:GetID());
getglobal(this:GetName().."Highlight"):Show();
getglobal(this:GetName().."Highlight"):Hide();
this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
this:SetHeight(this:GetParent():GetHeight()-90);
FauxScrollFrame_OnVerticalScroll(METAMAPLIST_SCROLL_FRAME_BUTTON_HEIGHT, MetaMapList_UpdateScroll)
this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
if(arg1 == GetBindingKey("METAMAP_FSTOGGLE") or arg1 == GetBindingKey("METAMAP_SAVESET")) then
MetaMap_FullScreenToggle();
end
if(arg1 == "LeftButton") then
this:StartMoving();
end
this.isMoving = true;
if(this.isMoving) then
this:StopMovingOrSizing();
this.isMoving = false;
end
this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
this:SetWidth(this:GetParent():GetWidth());
this:SetHeight(40);
this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
MetaMapContainerFrame:Hide();
this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
this:SetWidth(this:GetParent():GetWidth());
this:SetHeight(60);
MetaMapContainerFrame_OnLoad();
PlaySoundFile("Sound\\interface\\iQuestLogOpenA.wav");
PlaySoundFile("Sound\\interface\\iQuestLogCloseA.wav");
this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
this:SetFrameLevel(MetaMapList_Header:GetFrameLevel()+2);
MetaMap_InfoLine(arg1);
MetaMap_InfoLineOnEnter();
WorldMapTooltip:Hide();
this:SetWidth(this:GetParent():GetWidth());
this:SetHeight(this:GetParent():GetHeight());
MetaMap_InfoLineFrameText:SetWidth(this:GetWidth() -200);