mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
710be52f35
Drop the now-vestigial expansion plumbing.
- Delete modules/thirdparty-tbc.lua + its xml Include
- Strip 10 tbc-tagged CreateConfig calls in modules/gui.lua
- Drop the expansion arg from CreateConfig() signature + the disabled-
entry rendering path that depended on it
- Drop the showdisabled GUI toggle + its default
- Simplify pfUI:RegisterModule / pfUI:RegisterSkin to (name, func) only
- Strip the leading version arg ("vanilla:tbc", etc.) from all 114
Register call sites
- Delete the pfUI.expansion variable
33 lines
986 B
Lua
33 lines
986 B
Lua
pfUI:RegisterSkin("RaidUI", function ()
|
|
HookAddonOrVariable("Blizzard_RaidUI", function()
|
|
|
|
for i = 1, (NUM_RAID_GROUPS or 8) do
|
|
local group = _G["RaidGroup"..i]
|
|
if group and group.GetRegions then
|
|
StripTextures(group)
|
|
|
|
for j = 1, (MEMBERS_PER_RAID_GROUP or 5) do
|
|
local slot = _G["RaidGroup"..i.."Slot"..j]
|
|
if slot and slot.GetRegions then
|
|
StripTextures(slot)
|
|
CreateBackdrop(slot, nil, true)
|
|
SetHighlight(slot, 1, 1, 0)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
for i = 1, (MAX_RAID_MEMBERS or 40) do
|
|
local button = _G["RaidGroupButton"..i]
|
|
if button and button.GetRegions then
|
|
StripTextures(button)
|
|
CreateBackdrop(button, nil, true)
|
|
SetHighlight(button, 1, 1, 0)
|
|
end
|
|
end
|
|
|
|
if RaidFrameAddMemberButton then SkinButton(RaidFrameAddMemberButton) end
|
|
if RaidFrameReadyCheckButton then SkinButton(RaidFrameReadyCheckButton) end
|
|
|
|
end)
|
|
end) |