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
31 lines
791 B
Lua
31 lines
791 B
Lua
pfUI:RegisterSkin("Everlook Broadcasting", function ()
|
|
if not EBC_Minimap then return end
|
|
|
|
-- Minimap button border
|
|
for _, region in ipairs({ EBC_Minimap:GetRegions() }) do
|
|
if region.GetTexture and region:GetTexture() == "Interface\\Minimap\\MiniMap-TrackingBorder" then
|
|
region:SetTexture(nil)
|
|
end
|
|
end
|
|
|
|
-- Dropdown panel
|
|
if EBCMinimapDropdown then
|
|
StripTextures(EBCMinimapDropdown)
|
|
CreateBackdrop(EBCMinimapDropdown, nil, nil, .75)
|
|
CreateBackdropShadow(EBCMinimapDropdown)
|
|
|
|
-- Checkbuttons
|
|
for i = 1, 2 do
|
|
local cb = _G["EBCMinimapDropdownCheckButton" .. i]
|
|
if cb then
|
|
SkinCheckbox(cb)
|
|
end
|
|
end
|
|
|
|
-- Volume slider
|
|
if EBCMinimapDropdownSlider then
|
|
SkinSlider(EBCMinimapDropdownSlider)
|
|
end
|
|
end
|
|
end)
|