X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/3ce401749aaa236c206a034549ab161bd8bd1ec9..refs/heads/master:/kehys/frame.lua?ds=sidebyside diff --git a/kehys/frame.lua b/kehys/frame.lua index 84a8c2d..44bc149 100644 --- a/kehys/frame.lua +++ b/kehys/frame.lua @@ -54,9 +54,14 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.heal = {}; -- high healing auras f.tankcd = {}; -- tank CD auras f.stacks = {}; -- stacking aura tracking + f.hits = {}; -- hits aura tracking + f.stagger = {}; -- Monk Stagger tracking f.buff1 = {}; -- custom buff indicator 1 f.buff2 = {}; -- custom buff indicator 2 f.incoming = {}; -- incoming ability indicator + f.rolename = nil; -- TANK, HEALER, DAMAGER, NONE + f.classname = nil; -- DK Death Strike and Monk Stagger tracker + f.raid = true; f.rounds = 0; -- set up periodic updates updaters[f] = function() @@ -136,6 +141,11 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f.overlay:SetPoint("BOTTOMRIGHT", f.background, "BOTTOMRIGHT"); f.overlay:SetColorTexture(1, 1, 1); f.overlay:Hide(); + f.bottomwarn = f:CreateTexture(nil, "ARTWORK", nil, 1); + f.bottomwarn:SetPoint("TOPLEFT", f.background, "BOTTOMLEFT", 16, 5); + f.bottomwarn:SetPoint("BOTTOMRIGHT", f.background, "BOTTOMRIGHT", -16, 1); + f.bottomwarn:SetColorTexture(1, 0.3, 0.1, 0.66); + f.bottomwarn:Hide(); f.role = f:CreateTexture(nil, "ARTWORK", nil, 2); f.role:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", -3, 3); f.role:SetPoint("TOPLEFT", f, "BOTTOMRIGHT", -15, 15);