WoWInterface SVN oUF_Industrial

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

Addon.lua
36,9 → 36,9
 
local raidcolors = _G.RAID_CLASS_COLORS
 
local innerpadding = 1
local innerpadding = 5
local elementpadding = 1
local outerpadding = 1
local outerpadding = 5
 
--local buffsize = (healthheight + powerheight + innerpadding*2 + elementpadding)/2
local buffsize = healthheight
162,6 → 162,7
end
 
function createNormalFrame (settings, self, unit)
local bg = self:CreateTexture(nil, 'OVERLAY')
local health = CreateFrame('StatusBar', nil, self)
local power = CreateFrame('StatusBar', nil, self)
local buffs = CreateFrame('Frame', nil, self)
181,7 → 182,6
health:SetStatusBarColor(0.75, 0.75, 0.75)
 
health.info:SetPoint(ML, health, ML, textinset, 0)
--health.info:SetWidth(healthwidth/2 - textinset)
health.info:SetJustifyH('LEFT')
health.info:SetFont(textfont, 10)
health.info:SetTextColor(unpack(textcolor))
202,7 → 202,6
power:SetStatusBarTexture(powertexture)
 
power.info:SetPoint(ML, power, ML, textinset, 0)
--power.info:SetWidth(powerwidth/2 - textinset)
power.info:SetJustifyH('LEFT')
power.info:SetFont(textfont, 10)
power.info:SetTextColor(unpack(textcolor))
223,8 → 222,8
self:RegisterForClicks('anyup')
self:SetAttribute('type2', 'menu')
 
self:SetBackdrop(framebackdrop)
self:SetBackdropColor(0, 0, 0, 1)
bg:SetAllPoints(self)
bg:SetTexture(0, 0, 0, 1)
 
self:RegisterEvent('UNIT_LEVEL')
self:RegisterEvent('UNIT_NAME')
307,7 → 306,7
local targettarget = oUF:Spawn('targettarget', framename..'targettarget')
local party = oUF:Spawn('header', 'oUF_Industrial_party')
 
pet:SetPoint(MC, UIParent, MC, 0, 0)
pet:SetPoint(MC, UIParent, MC, 0, -350)
player:SetPoint(BC, pet, TC, 0, outerpadding)
target:SetPoint(BC, player, TC, 0, outerpadding)
targettarget:SetPoint(BC, target, TC, 0, outerpadding)