Closed Rootkit- closed 2 years ago
It likely doesn't. I believe masque has to specifically support addons.
I played around a bit with Masque. This seems to skin the buttons of the Outfit bar. Maybe someone can do something useful with it.
local Addon = Outfitter
local Masque = LibStub('Masque')
local bars = {OutfitterOutfitBar1, OutfitterOutfitBar2}
for _, bar in ipairs(bars) do
local group = Masque:Group("Outfitter", bar.Name)
local buttons = bar.NumColumns
for i = 0, buttons - 1 do
local button = _G[bar.Name .. "Button" .. i]
group:AddButton(button)
end
end
Is it just me or does masque not work?