remove temp folder structure

This commit is contained in:
Crum
2018-02-19 21:03:21 -06:00
parent 85a2a5bcf7
commit 611f11aff9
408 changed files with 0 additions and 0 deletions
+72
View File
@@ -0,0 +1,72 @@
local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local S = E:GetModule("Skins");
--Cache global variables
--Lua functions
local _G = _G
local getn = table.getn
--WoW API / Variables
local function LoadSkin()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.help ~= true then return end
local helpFrameButtons = {
"GeneralBack",
"GeneralButton",
"GeneralButton2",
"GeneralCancel",
"GMBack",
"GMCancel",
"HarassmentBack",
"HarassmentCancel",
"HomeIssues",
"HomeCancel",
"OpenTicketSubmit",
"OpenTicketCancel",
"PhysicalHarassmentButton",
"VerbalHarassmentButton",
}
E:StripTextures(HelpFrame)
E:CreateBackdrop(HelpFrame, "Transparent")
HelpFrame.backdrop:SetPoint("TOPLEFT", 6, -2)
HelpFrame.backdrop:SetPoint("BOTTOMRIGHT", -45, 14)
S:HandleCloseButton(HelpFrameCloseButton)
HelpFrameCloseButton:SetPoint("TOPRIGHT", -42, 0)
for i = 1, getn(helpFrameButtons) do
local helpButton = _G["HelpFrame"..helpFrameButtons[i]]
S:HandleButton(helpButton)
end
-- hide header textures and move text/buttons.
local BlizzardHeader = {
"KnowledgeBaseFrame"
}
for i = 1, getn(BlizzardHeader) do
local title = _G[BlizzardHeader[i].."Header"]
if title then
title:SetTexture("")
title:ClearAllPoints()
if title == _G["GameMenuFrameHeader"] then
title:SetPoint("TOP", GameMenuFrame, 0, 0)
else
title:SetPoint("TOP", BlizzardHeader[i], -22, -8)
end
end
end
E:StripTextures(HelpFrameOpenTicketDivider)
S:HandleScrollBar(HelpFrameOpenTicketScrollFrame)
S:HandleScrollBar(HelpFrameOpenTicketScrollFrameScrollBar)
HelpFrameOpenTicketSubmit:SetPoint("RIGHT", HelpFrameOpenTicketCancel, "LEFT", -2, 0)
E:Kill(HelpFrameHarassmentDivider)
E:Kill(HelpFrameHarassmentDivider2)
end
S:AddCallback("Help", LoadSkin)