WoWInterface SVN oUF_Industrial

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 28 to Rev 29
    Reverse comparison

Rev 28 → Rev 29

Addon.lua
121,9 → 121,10
local power = CreateFrame('StatusBar', nil, frame)
local buffs = CreateFrame('Frame', nil, frame)
local debuffs = CreateFrame('Frame', nil, frame)
local leader = health:CreateTexture(nil, 'OVERLAY')
local threat = frame:CreateTexture()
local happiness = frame:CreateTexture()
local rlicon = health:CreateTexture(nil, 'OVERLAY')
local ricon = health:CreateTexture()
local mlicon = health:CreateTexture()
local threat = health:CreateTexture()
health.info = health:CreateFontString(nil, 'OVERLAY')
health.value = health:CreateFontString(nil, 'OVERLAY')
power.info = power:CreateFontString(nil, 'OVERLAY')
195,11 → 196,21
debuffs['growth-x'] = MR
debuffs['growth-y'] = BC
 
-- leader icon
leader:SetWidth(16)
leader:SetHeight(16)
leader:SetPoint(MC, health, TC)
-- rlicon icon
rlicon:SetPoint(MC, frame, TL)
rlicon:SetWidth(16)
rlicon:SetHeight(16)
 
-- raid icon
ricon:SetPoint(MC, frame, TC)
ricon:SetWidth(16)
ricon:SetHeight(16)
 
-- master looter icon
mlicon:SetPoint(ML, rlicon, MR)
mlicon:SetWidth(16)
mlicon:SetHeight(16)
 
-- threat
threat:SetPoint(MC, frame, TR)
threat:SetWidth(16)
224,14 → 235,16
frame.Info = power.info
frame.Buffs = buffs
frame.Debuffs = debuffs
frame.Leader = leader
frame.Leader = rlicon
frame.RaidIcon = ricon
frame.MasterLooter = mlicon
frame.Threat = threat
end
 
function create_pet_unitframe(frame, unit)
create_unitframe(frame, unit)
 
local happiness = frame:CreateTexture()
local happiness = frame.Health:CreateTexture()
happiness:SetPoint(MC, frame, BR)
happiness:SetWidth(16)
happiness:SetHeight(16)