You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
|
3 years ago
|
local E, L, V, P, G = unpack(ElvUI)
|
||
|
|
local S = E:GetModule('Skins')
|
||
|
|
|
||
|
|
local _G = _G
|
||
|
|
local next = next
|
||
|
|
|
||
|
|
function S:RaidInfoFrame()
|
||
|
|
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.nonraid) then return end
|
||
|
|
|
||
|
|
for _, frame in next, {
|
||
|
|
_G.RaidInfoFrame,
|
||
|
|
_G.RaidInfoInstanceLabel,
|
||
|
|
_G.RaidInfoIDLabel,
|
||
|
|
} do
|
||
|
|
frame:StripTextures()
|
||
|
|
end
|
||
|
|
|
||
|
|
for _, texture in next, {
|
||
|
|
_G.RaidInfoScrollFrameScrollBarBG,
|
||
|
|
_G.RaidInfoScrollFrameScrollBarTop,
|
||
|
|
_G.RaidInfoScrollFrameScrollBarBottom,
|
||
|
|
_G.RaidInfoScrollFrameScrollBarMiddle,
|
||
|
|
} do
|
||
|
|
texture:Kill()
|
||
|
|
end
|
||
|
|
|
||
|
|
for _, button in next, {
|
||
|
|
_G.RaidFrameConvertToRaidButton,
|
||
|
|
_G.RaidFrameRaidInfoButton,
|
||
|
|
_G.RaidInfoExtendButton,
|
||
|
|
_G.RaidInfoCancelButton,
|
||
|
|
} do
|
||
|
|
S:HandleButton(button)
|
||
|
|
end
|
||
|
|
|
||
|
|
local RaidInfoFrame = _G.RaidInfoFrame
|
||
|
|
RaidInfoFrame:SetTemplate('Transparent')
|
||
|
|
RaidInfoFrame.Header:StripTextures()
|
||
|
|
S:HandleCloseButton(_G.RaidInfoCloseButton,RaidInfoFrame)
|
||
|
|
S:HandleTrimScrollBar(RaidInfoFrame.ScrollBar)
|
||
|
|
S:HandleCheckBox(_G.RaidFrameAllAssistCheckButton)
|
||
|
|
end
|
||
|
|
|
||
|
|
S:AddCallback('RaidInfoFrame')
|