AtlasLootBoss_OnClick(this:GetName());
AtlasEntryTemplate_OnUpdate(self);
GameTooltip:Hide();
AtlasLootBoss_OnClick(this:GetName());
AtlasLoot_NavButton_OnClick()
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
AtlasLootItem_OnEnter();
AtlasLootItem_OnLeave();
AtlasLootItem_OnClick(arg1);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
AtlasLootMenuItem_OnClick();
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
this:SetText(AL["Toggle AL Panel"]);
this:SetWidth(this:GetTextWidth()+20);
getglobal("AtlasLootInfo_Text2"):SetText(AL["Click boss name to view loot."]);
if AtlasLoot.db.profile.HidePanel then
AtlasLoot.db.profile.HidePanel = false;
if (AtlasFrame) then
if AtlasFrame:IsVisible() then
AtlasLootPanel:Show();
end
end
else
AtlasLoot.db.profile.HidePanel = true;
if (AtlasFrame) then
if AtlasFrame:IsVisible() then
AtlasLootPanel:Hide();
end
end
end
AtlasLootOptionsFrameHidePanel:SetChecked(AtlasLoot.db.profile.HidePanel);
AtlasLoot_SetupForAtlas();
AtlasLootItemsFrame_OnCloseButton();
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
AtlasLoot_10Man25ManToggle();
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Heroic Mode"]);
AtlasLoot_HeroicModeToggle();
AtlasLoot_NavButton_OnClick()
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Query Server"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
GameTooltip:ClearLines();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
GameTooltip:AddLine("|cffff0000"..AL["Query Server"]);
GameTooltip:AddLine(AL["Queries the server for all items"]);
GameTooltip:AddLine(AL["on this page. The items will be"]);
GameTooltip:AddLine(AL["refreshed when you next mouse"]);
GameTooltip:AddLine(AL["over them."]);
GameTooltip:Show();
GameTooltip:Hide();
GameTooltip:Hide();
AtlasLoot_QueryLootPage();
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if (AtlasLootItemsFrame.refresh) and ((AtlasLootItemsFrame.refresh[1] == "SearchResult") or (AtlasLootItemsFrame.refresh[1] == "WishList")) then
this:Disable();
else
this:Enable();
end
AtlasLoot_ShowQuickLooks(this);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Filter"]);
AtlasLoot_FilterEnableButton();
AtlasLoot_NavButton_OnClick()
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_OnLoad();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal("AtlasLootItemsFrame_BACK"):SetText(AL["Back"]);
getglobal("AtlasLoot_QuickLooks"):SetText(AL["Add to QuickLooks:"]);
AtlasLoot_OnEvent(event, arg1, arg2);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal("AtlasLootHelpFrame_Title"):SetText(AL["AtlasLoot Help"]);
AtlasLoot_DisplayHelp();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Default Tooltips"]);
AtlasLootOptions_DefaultTTToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Lootlink Tooltips"]);
AtlasLootOptions_LootlinkTTToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["ItemSync Tooltips"]);
AtlasLootOptions_ItemSyncTTToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Make Loot Table Opaque"]);
AtlasLootOptions_OpaqueToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Show itemIDs at all times"]);
AtlasLootOptions_ItemIDToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Load Loot Modules at Startup"]);
AtlasLootOptions_LoDStartup();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Safe Chat Links"]);
AtlasLootOptions_SafeLinksToggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Show Comparison Tooltips"]);
if(AtlasLoot.db.profile.EquipCompare) then
AtlasLoot.db.profile.EquipCompare = false;
if (EquipCompare_UnregisterTooltip) then
EquipCompare_UnregisterTooltip(AtlasLootTooltip);
end
else
AtlasLoot.db.profile.EquipCompare = true;
if (EquipCompare_RegisterTooltip) then
EquipCompare_RegisterTooltip(AtlasLootTooltip);
end
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Suppress Item Query Text"]);
AtlasLootOptions_ItemSpam();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Hide AtlasLoot Panel"]);
if AtlasLoot.db.profile.HidePanel then
AtlasLoot.db.profile.HidePanel = false;
if (AtlasFrame) then
if AtlasFrame:IsVisible() then
AtlasLootPanel:Show();
end
end
else
AtlasLoot.db.profile.HidePanel = true;
if (AtlasFrame) then
if AtlasFrame:IsVisible() then
AtlasLootPanel:Hide();
end
end
end
AtlasLoot_SetupLootBrowserSlider(self, 0.25, 1.5, 0.01);
AtlasLoot_UpdateLootBrowserSlider(self);
AtlasLoot.db.profile.LootBrowserScale = this:GetValue();
AtlasLoot_UpdateLootBrowserScale();
AtlasLoot_Reset("wishlist");
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Reset Wishlist"]);
this:SetWidth(AtlasLootOptionsFrame_ResetWishlist:GetTextWidth()+20);
AtlasLoot_Reset("frames");
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Reset Frames"]);
this:SetWidth(AtlasLootOptionsFrame_ResetAtlasLoot:GetTextWidth()+20);
AtlasLoot_Reset("quicklooks");
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Reset Quicklooks"]);
this:SetWidth(AtlasLootOptionsFrame_ResetQuicklooks:GetTextWidth()+20);
if AtlasLootFu then
AtlasLootFu:Show();
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Show FuBar Plugin"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if AtlasLootFu then
AtlasLootFu:Hide();
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Hide FuBar Plugin"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal("AtlasLootOptionsFrame_FuBarNotice"):SetText(AL["The Minimap Button is generated by the FuBar Plugin."].."\n"..AL["This is automatic, you do not need FuBar installed."]);
AtlasLoot_OptionsOnShow();
AtlasLoot_QuickLooks:Hide();
AtlasLootQuickLooksButton:Hide();
AtlasLoot_GenerateAtlasMenu("WORLDEVENTMENU", AtlasLoot_AnchorFrame);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["World Events"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_QuickLooks:Hide();
AtlasLootQuickLooksButton:Hide();
AtlasLoot_GenerateAtlasMenu("SETMENU", AtlasLoot_AnchorFrame);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Collections"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_QuickLooks:Hide();
AtlasLootQuickLooksButton:Hide();
AtlasLoot_GenerateAtlasMenu("REPMENU", AtlasLoot_AnchorFrame);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Factions"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_QuickLooks:Hide();
AtlasLootQuickLooksButton:Hide();
AtlasLoot_GenerateAtlasMenu("PVPMENU", AtlasLoot_AnchorFrame);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["PvP Rewards"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_QuickLooks:Hide();
AtlasLootQuickLooksButton:Hide();
AtlasLoot_GenerateAtlasMenu("CRAFTINGMENU", AtlasLoot_AnchorFrame);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Crafting"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_ShowWishListDropDown("","","","","",this,true)
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Wishlist"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLootOptions_Toggle();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Options"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot_LoadAllModules();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Load Modules"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if this:IsEnabled() then
GameTooltip:ClearLines();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][1][3]);
GameTooltip:Show();
end
if(GameTooltip:IsVisible()) then
GameTooltip:Hide();
end
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][1][1]) then
if getglobal("AtlasLootPanel"):GetParent() == AtlasFrame then
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][1][1], AtlasLootCharDB["QuickLooks"][1][2], AtlasLootCharDB["QuickLooks"][1][3], nil);
elseif getglobal("AtlasLootPanel"):GetParent() == AlphaMapAlphaMapFrame then
pFrame = { "TOPLEFT", AlphaMapAlphaMapFrame, "TOPLEFT", 0, 0 };
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][1][1], AtlasLootCharDB["QuickLooks"][1][2], AtlasLootCharDB["QuickLooks"][1][3], pFrame);
else
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][1][1], AtlasLootCharDB["QuickLooks"][1][2], AtlasLootCharDB["QuickLooks"][1][3], AtlasLootCharDB["QuickLooks"][1][4]);
end
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["QuickLook"].." 1");
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if ((not AtlasLootCharDB["QuickLooks"][1]) or (not AtlasLootCharDB["QuickLooks"][1][1])) or (AtlasLootCharDB["QuickLooks"][1][1]==nil) then
this:Disable();
end
if this:IsEnabled() then
GameTooltip:ClearLines();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][2][3]);
GameTooltip:Show();
end
if(GameTooltip:IsVisible()) then
GameTooltip:Hide();
end
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][2][1]) then
if getglobal("AtlasLootPanel"):GetParent() == AtlasFrame then
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], nil);
elseif getglobal("AtlasLootPanel"):GetParent() == AlphaMapAlphaMapFrame then
pFrame = { "TOPLEFT", AlphaMapAlphaMapFrame, "TOPLEFT", 0, 0 };
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], pFrame);
else
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], AtlasLootCharDB["QuickLooks"][2][4]);
end
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["QuickLook"].." 2");
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if ((not AtlasLootCharDB["QuickLooks"][2]) or (not AtlasLootCharDB["QuickLooks"][2][1])) or (AtlasLootCharDB["QuickLooks"][2][1]==nil) then
this:Disable();
end
if this:IsEnabled() then
GameTooltip:ClearLines();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][3][3]);
GameTooltip:Show();
end
if(GameTooltip:IsVisible()) then
GameTooltip:Hide();
end
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][3][1]) then
if getglobal("AtlasLootPanel"):GetParent() == AtlasFrame then
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][3][1], AtlasLootCharDB["QuickLooks"][3][2], AtlasLootCharDB["QuickLooks"][3][3], nil);
elseif getglobal("AtlasLootPanel"):GetParent() == AlphaMapAlphaMapFrame then
pFrame = { "TOPLEFT", AlphaMapAlphaMapFrame, "TOPLEFT", 0, 0 };
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][3][1], AtlasLootCharDB["QuickLooks"][3][2], AtlasLootCharDB["QuickLooks"][3][3], pFrame);
else
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][3][1], AtlasLootCharDB["QuickLooks"][3][2], AtlasLootCharDB["QuickLooks"][3][3], AtlasLootCharDB["QuickLooks"][3][4]);
end
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["QuickLook"].." 3");
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if ((not AtlasLootCharDB["QuickLooks"][3]) or (not AtlasLootCharDB["QuickLooks"][3][1])) or (AtlasLootCharDB["QuickLooks"][3][1]==nil) then
this:Disable();
end
if this:IsEnabled() then
GameTooltip:ClearLines();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][4][3]);
GameTooltip:Show();
end
if(GameTooltip:IsVisible()) then
GameTooltip:Hide();
end
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][4][1]) then
if getglobal("AtlasLootPanel"):GetParent() == AtlasFrame then
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][4][1], AtlasLootCharDB["QuickLooks"][4][2], AtlasLootCharDB["QuickLooks"][4][3], nil);
elseif getglobal("AtlasLootPanel"):GetParent() == AlphaMapAlphaMapFrame then
pFrame = { "TOPLEFT", AlphaMapAlphaMapFrame, "TOPLEFT", 0, 0 };
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][4][1], AtlasLootCharDB["QuickLooks"][4][2], AtlasLootCharDB["QuickLooks"][4][3], pFrame);
else
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][4][1], AtlasLootCharDB["QuickLooks"][4][2], AtlasLootCharDB["QuickLooks"][4][3], AtlasLootCharDB["QuickLooks"][4][4]);
end
end
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["QuickLook"].." 4");
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
if ((not AtlasLootCharDB["QuickLooks"][4]) or (not AtlasLootCharDB["QuickLooks"][4][1])) or (AtlasLootCharDB["QuickLooks"][4][1]==nil) then
this:Disable();
end
this:SetAutoFocus(false);
this:SetTextInsets(0, 8, 0, 0);
AtlasLoot:Search(this:GetText());
this:ClearFocus();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Search"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot:Search(AtlasLootSearchBox:GetText());
AtlasLootSearchBox:ClearFocus();
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot:ShowSearchOptions(this);
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Clear"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLootSearchBox:SetText("");
AtlasLootSearchBox:ClearFocus();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Last Result"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
AtlasLoot:ShowSearchResult();