WoWInterface SVN oUF_Industrial

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 33 to Rev 34
    Reverse comparison

Rev 33 → Rev 34

trunk/Addon.lua
5,9 → 5,10
 
local frame_name = 'oUF_Industrial_'
 
local padding = 3
local spacing = 1
local padding = 5
local spacing = 5
local margin = 1
local translucency = 0.5
 
local bar_width = 300 - padding * 2
local bar_texture = [[Interface\AddOns\oUF_Industrial\media\textures\statusbar]]
134,7 → 135,7
health:SetWidth(health_width)
health:SetHeight(health_height)
health:SetStatusBarTexture(health_texture)
health:SetStatusBarColor(0.25, 0.25, 0.25)
health:SetStatusBarColor(0.25, 0.25, 0.25, translucency + translucency/2)
 
health.info:SetPoint(ML, health, ML, text_inset, 0)
health.info:SetJustifyH('LEFT')
155,7 → 156,7
power:SetWidth(power_width)
power:SetHeight(power_height)
power:SetStatusBarTexture(power_texture)
power:SetStatusBarColor(128/255, 255/255, 0)
power:SetStatusBarColor(128/255, 255/255, 0, translucency + translucency/2)
 
power.info:SetPoint(ML, power, ML, text_inset, 0)
power.info:SetJustifyH('LEFT')
206,7 → 207,7
debuffs.size = size
debuffs.num = number
debuffs.initialAnchor = TL
debuffs['growth-x'] = 'LEFT'
debuffs['growth-x'] = 'RIGHT'
debuffs['growth-y'] = 'DOWN'
 
-- rlicon icon
236,7 → 237,7
frame:SetAttribute('initial-height', health_height + power_height + padding * 2 + spacing)
 
background:SetAllPoints(frame)
background:SetTexture(0, 0, 0, 1)
background:SetTexture(0, 0, 0, translucency)
 
frame.Health = health
frame.PostUpdateHealth = update_health
278,14 → 279,14
local width = power_width
local height = size
local number = math.floor(width / size)
buffs:SetPoint(TC, frame, BC, 0, -padding / 2)
buffs:SetPoint(TL, frame, BL, 0, -padding / 2)
buffs:SetWidth(width)
buffs:SetHeight(height)
buffs.size = size
buffs.num = number
buffs.initialAnchor = TL
buffs['growth-x'] = MR
buffs['growth-y'] = BC
buffs['growth-x'] = 'RIGHT'
buffs['growth-y'] = 'BOTTOM'
end
 
function target_onupdate (frame)
317,7 → 318,7
targettarget:SetPoint(BC, target, TC, 0, margin)
 
party1:SetPoint(ML, UIParent, ML)
party2:SetPoint(TC, party1, BC, 0, -20)
party3:SetPoint(TC, party2, BC, 0, -20)
party4:SetPoint(TC, party3, BC, 0, -20)
party2:SetPoint(TC, party1, BC, 0, -18)
party3:SetPoint(TC, party2, BC, 0, -18)
party4:SetPoint(TC, party3, BC, 0, -18)