Outfitter (Abandoned)

Outfitter (Abandoned)

563k Downloads

Masque Support?

Rootkit- opened this issue ยท 2 comments

commented

Is it just me or does masque not work?

commented

It likely doesn't. I believe masque has to specifically support addons.

commented

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