X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/a2d93f54ac1d4523718f8c411d437275a9cb1f85..ad5b150d2018f681b13aa4445b375d99adaa6d04:/kehys/frame.lua diff --git a/kehys/frame.lua b/kehys/frame.lua index 4301178..bba00f8 100644 --- a/kehys/frame.lua +++ b/kehys/frame.lua @@ -54,6 +54,7 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.heal = {}; -- high healing auras f.tankcd = {}; -- tank CD auras f.stacks = {}; -- stacking aura tracking + f.buff1 = {}; -- custom buff indicator 1 -- set up periodic updates updaters[f] = function() if f.updating then @@ -152,6 +153,12 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.defensive:SetHeight(6); f.defensive:SetColorTexture(1, 0.3, 0); f.defensive:Hide(); + f.buffind1 = f:CreateTexture(nil, "OVERLAY"); + f.buffind1:SetPoint("TOPRIGHT", f.background, "TOPRIGHT", -1, -1); + f.buffind1:SetWidth(6); + f.buffind1:SetHeight(6); + f.buffind1:SetColorTexture(1, 0.8, 0.1); + f.buffind1:Hide(); f.targeticon = f:CreateTexture(nil, "OVERLAY"); f.targeticon:SetPoint("CENTER", f, "TOP", 0, -1); f.targeticon:SetWidth(12);