WoWInterface SVN oUF_Industrial

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 19 to Rev 20
    Reverse comparison

Rev 19 → Rev 20

Addon.lua
231,19 → 231,26
frame:SetAttribute('type2', 'menu')
frame:SetAttribute('initial-width', health_width + padding * 2)
frame:SetAttribute('initial-height', health_height + power_height + padding * 2 + padding)
frame.Range = true
frame.inRangeAlpha = 1
frame.outsideRangeAlpha = 0.5
frame.DebuffHighlightBackdrop = true
 
background:SetAllPoints(frame)
background:SetTexture(0, 0, 0, 1)
 
frame:Tag(health.info, '[difficulty][smartlevel]|r [raidcolor][name]|r')
 
-- out of range fading
if unit and unit:match('party') or unit:match('raid') then
frame.Range = true
frame.inRangeAlpha = 1
frame.outsideRangeAlpha = 0.5
end
 
-- oUF_Smooth
health.Smooth = true
power.Smooth = true
 
-- oUF_DebuffHighlight
frame.DebuffHighlightBackdrop = true
 
frame.Health = health
frame.OverrideUpdateHealth = update_health
frame.Power = power