this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
getglobal(this:GetName().."Text"):SetText(AL["Filter"]);
AtlasLoot_FilterEnableButton();
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:"]);
self:EnableMouseWheel(1);
AtlasLoot_OnEvent(event, arg1, arg2);
if(getglobal("AtlasLootItemsFrame_PREV"):IsVisible() and delta == 1) then
getglobal("AtlasLootItemsFrame_PREV"):Click();
end
if(getglobal("AtlasLootItemsFrame_NEXT"):IsVisible() and delta == -1) then
getglobal("AtlasLootItemsFrame_NEXT"):Click();
end
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();
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();
this:SetAutoFocus(false);
this:SetTextInsets(0, 8, 0, 0);
AtlasLoot:Search(this:GetText());
this:ClearFocus();