X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/44065aeea22eec9b61d3c4b2ef2193db37b1a327..9fb47ba879ec613725953c2044ce7e6419af2e3f:/kehys/frame.lua?ds=sidebyside diff --git a/kehys/frame.lua b/kehys/frame.lua index 1719b94..0e17ed7 100644 --- a/kehys/frame.lua +++ b/kehys/frame.lua @@ -55,6 +55,8 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.tankcd = {}; -- tank CD auras f.stacks = {}; -- stacking aura tracking f.buff1 = {}; -- custom buff indicator 1 + f.incoming = {}; -- incoming ability indicator + f.rounds = 0; -- set up periodic updates updaters[f] = function() if f.updating then @@ -93,7 +95,11 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.base:SetAllPoints(); f.base:SetColorTexture(1, 1, 1); f.base:SetVertexColor(unpack(addon.Colors.Base)); - f.background = f:CreateTexture(nil, "BACKGROUND", nil, 1); + f.glow = f:CreateTexture(nil, "BACKGROUND", nil, 1); + f.glow:SetAllPoints(); + f.glow:SetColorTexture(1, 1, 1); + f.glow:SetVertexColor(unpack(addon.Colors.Glow)); + f.background = f:CreateTexture(nil, "BACKGROUND", nil, 2); f.background:SetPoint("TOPLEFT", f, "TOPLEFT", 1, -1); f.background:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", -1, 1); f.background:SetColorTexture(0.7, 0.7, 0.7);