BigWigs Boss Mods (BW) - DBM alternative

BigWigs Boss Mods (BW) - DBM alternative

142M Downloads

Suggestion - Add ability to specify a frame to anchor bars to

mrbuds opened this issue ยท 2 comments

commented

I have been shown this nsfw wa https://wago.io/dihBroT4d for re-anchor BigWigs bars to the frame they want

I though you may be interested to implement a proper way to achieve this

commented

Do you mean the ability to define a parent other than UIParent? For what reason?
I don't think the WA you linked to has any screenshots.

commented

WA code:

-- Author: Reglitch-Turalyon
local region = aura_env.region

local function setBwFramePosition(frame)
    frame:ClearAllPoints();
    frame:SetPoint("LEFT", region);
end

if BigWigsLoader then
    RFANCHOR_WA_BWAddon = {}
    
    BigWigsLoader.RegisterMessage(RFANCHOR_WA_BWAddon, "BigWigs_BarEmphasized", function(event, frame, bar) 
            local anchor = bar:Get("bigwigs:anchor")
            setBwFramePosition(anchor)
    end)    
end

then in Display tab it anchor to a frame that can be selected
image

Reason is to have bigwigs bars position relative to their raid frames, or player frame, across all their characters and not have to change bigwigs settings when they move these frames