Revert "load RaidBuffReminders module (NOT FINISHED)"

This reverts commit 944895cad6.
This commit is contained in:
Bunny67
2017-12-23 14:02:04 +03:00
parent 944895cad6
commit 1fdd15d497
6 changed files with 0 additions and 388 deletions
-42
View File
@@ -371,48 +371,6 @@ function LO:CreateMinimapPanels()
RightMiniPanel:Hide()
end
local configtoggle = CreateFrame("Button", "ElvConfigToggle", Minimap.backdrop)
if E.db.general.reminder.position == "LEFT" then
configtoggle:SetPoint("TOPRIGHT", lminipanel, "TOPLEFT", (E.PixelMode and 1 or -1), 0);
configtoggle:SetPoint("BOTTOMRIGHT", lminipanel, "BOTTOMLEFT", (E.PixelMode and 1 or -1), 0);
else
configtoggle:SetPoint("TOPLEFT", rminipanel, "TOPRIGHT", (E.PixelMode and -1 or 1), 0);
configtoggle:SetPoint("BOTTOMLEFT", rminipanel, "BOTTOMRIGHT", (E.PixelMode and -1 or 1), 0);
end
configtoggle:RegisterForClicks("AnyUp")
configtoggle:SetWidth(E.RBRWidth)
E:SetTemplate(configtoggle, E.db.datatexts.panelTransparency and "Transparent" or "Default", true)
configtoggle.text = configtoggle:CreateFontString(nil, "OVERLAY")
E:FontTemplate(configtoggle.text, E.LSM:Fetch("font", E.db.datatexts.font), E.db.datatexts.fontSize, E.db.datatexts.fontOutline)
configtoggle.text:SetText("C")
configtoggle.text:SetPoint("CENTER", 0, 0)
configtoggle.text:SetJustifyH("CENTER")
configtoggle:SetScript("OnClick", function(_, btn)
if btn == "LeftButton" then
E:ToggleConfig()
else
E:BGStats()
end
end)
configtoggle:SetScript("OnEnter", function()
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT", 0, -4)
GameTooltip:ClearLines()
GameTooltip:AddDoubleLine(L["Left Click:"], L["Toggle Configuration"], 1, 1, 1)
if E.db.datatexts.battleground then
GameTooltip:AddDoubleLine(L["Right Click:"], L["Show BG Texts"], 1, 1, 1)
end
GameTooltip:Show()
end)
configtoggle:SetScript("OnLeave", function()
GameTooltip:Hide()
end)
local f = CreateFrame("Frame", "BottomMiniPanel", Minimap.backdrop)
f:SetPoint("BOTTOM", Minimap, "BOTTOM")
f:SetWidth(75)