WoWInterface SVN oUF_Industrial

Compare Revisions

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

Rev 8 → Rev 7

Addon.lua
36,9 → 36,9
 
local raidcolors = _G.RAID_CLASS_COLORS
 
local innerpadding = 5
local innerpadding = 1
local elementpadding = 1
local outerpadding = 5
local outerpadding = 1
 
--local buffsize = (healthheight + powerheight + innerpadding*2 + elementpadding)/2
local buffsize = healthheight
162,7 → 162,6
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)
182,6 → 181,7
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,6 → 202,7
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))
222,8 → 223,8
self:RegisterForClicks('anyup')
self:SetAttribute('type2', 'menu')
 
bg:SetAllPoints(self)
bg:SetTexture(0, 0, 0, 1)
self:SetBackdrop(framebackdrop)
self:SetBackdropColor(0, 0, 0, 1)
 
self:RegisterEvent('UNIT_LEVEL')
self:RegisterEvent('UNIT_NAME')
306,7 → 307,7
local targettarget = oUF:Spawn('targettarget', framename..'targettarget')
local party = oUF:Spawn('header', 'oUF_Industrial_party')
 
pet:SetPoint(MC, UIParent, MC, 0, -350)
pet:SetPoint(MC, UIParent, MC, 0, 0)
player:SetPoint(BC, pet, TC, 0, outerpadding)
target:SetPoint(BC, player, TC, 0, outerpadding)
targettarget:SetPoint(BC, target, TC, 0, outerpadding)