git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ad2fc47 - Add 8.3 tellmewhen auras
[wowui.git]
/
kehys
/
frame.lua
diff --git
a/kehys/frame.lua
b/kehys/frame.lua
index
4301178
..
0e17ed7
100644
(file)
--- a/
kehys/frame.lua
+++ b/
kehys/frame.lua
@@
-54,6
+54,9
@@
function addon.NewRaidFrame(parent, width, height, unit, attributes,
f.heal = {}; -- high healing auras
f.tankcd = {}; -- tank CD auras
f.stacks = {}; -- stacking aura tracking
f.heal = {}; -- high healing auras
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
-- set up periodic updates
updaters[f] = function()
if f.updating then
@@
-92,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.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);
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);
@@
-152,6
+159,12
@@
function addon.NewRaidFrame(parent, width, height, unit, attributes,
f.defensive:SetHeight(6);
f.defensive:SetColorTexture(1, 0.3, 0);
f.defensive:Hide();
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(0.8, 0.1, 0.1);
+ f.buffind1:Hide();
f.targeticon = f:CreateTexture(nil, "OVERLAY");
f.targeticon:SetPoint("CENTER", f, "TOP", 0, -1);
f.targeticon:SetWidth(12);
f.targeticon = f:CreateTexture(nil, "OVERLAY");
f.targeticon:SetPoint("CENTER", f, "TOP", 0, -1);
f.targeticon:SetWidth(12);