• 0

    posted a message on PitBull 4.0
    The latest version (v4.0.0-beta6) isn't remembering to keep the VisualHeal module enabled through UI reload/logout.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Is the VisualHeal4 module suppose to be functional yet? It's not working for me. When I disable VisualHeal and enable VisualHeal4 I get no heals displaying on my raid frames.

    (this is with version v4.0.0-beta5-23-ge4c6b5b)
    Posted in: Unit Frames
  • 0

    posted a message on BigWigs
    For the past two weeks BigWigs hasn't emphasized the Induce Madness in Yogg's Brain room. At first I thought it was just a version bug, but it's persisted through several BigWigs updates.

    r6258 was the one I was using last week.

    Is anyone else experiencing this? Kinda scary not having that emphasized bar for such a critical event.
    Posted in: Raid AddOns
  • 0

    posted a message on CowTip - a tooltip addon - Official Topic
    Are there any plans to update this to use the new LuaTexts instead of DogTags?
    Posted in: General AddOns
  • 0

    posted a message on ButtonFacade coding
    Awesome! Thanks <3
    Posted in: Lua Code Discussion
  • 0

    posted a message on ButtonFacade coding
    I'm really new to coding in Lua so this question may seem a little novice-ish.

    But how do you code ButtonFacade to skin a single frame? I tried to look at the coding of Satrina Buff Frames and Bartender 4, but those add-ons skin based on groups in a way that went way over my head.

    - Quote from the relevant portion of Satrina Buff Frames
      SBFBF.SetupGroups = function(self)
        if enabled then
          for k,v in pairs(SBF.frames) do
            self:SetupGroup("SBF", v._var.general.frameName)
          end
        end
      end
      
      -- arg,SkinID,Gloss,Backdrop,Group,Button,Colors
      SBFBF.SkinCallback = function(self, skin, gloss, backdrop, frameName, _, colours)
        if not enabled or not frameName then 
          return 
        end
        db[frameName].skin = skin
        db[frameName].gloss = gloss
        db[frameName].backdrop = backdrop
        db[frameName].colours = colours
        SBF:ForceAll()
      end
    
      local groups = {}
      sbfGroups = groups
      SBFBF.SetupGroup = function(self, addon, frameName, vars)
        if not enabled then
          return
        end
        local btndata
        if not groups[frameName] then
          groups[frameName] = lbf:Group(addon, frameName)
        end
        local group = groups[frameName]
        local f = SBF:FindFrame(frameName)
        if f.slots then
          for index,slot in ipairs(f.slots) do
            if slot and slot.icon then
              if not slot.icon.bfBtndata then
                slot.icon.bfBtndata = {}
              end
              group:AddButton(slot.icon, slot.icon.bfBtndata)
            end
          end
        end
        if not db[frameName] then
          if not vars then
            db[frameName] = { skin = "Blizzard", gloss = 0, backdrop = false, colours = {}, }
          else
            db[frameName] = { skin = vars.skin, gloss = vars.gloss, backdrop = vars.backdrop, colours = vars.colours, }
          end
        end
        group:Skin(db[frameName].skin, db[frameName].gloss, db[frameName].backdrop, db[frameName].colours)
      end


    I get what the SkinCallback does, but don't understand how to narrow down the groups and just skin 1 frame.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.