So here what I've done to "update" the layout.
Change every name reference in Frames.lua following
http://www.wowinterface.com/forums/s...ad.php?t=55422
In Frames.lua :
change :
Code:
ClassIcons.UpdateTexture = nop
to
Code:
ClassPower.UpdateColor = nop
assuming every occurence of ClassIcons have been replace by ClassPower
In Functions.lua :
change :
Code:
function ns.ClassIcons_PostUpdate(element, cur, max, hasMaxChanged, event)
to
Code:
function ns.ClassPower_PostUpdate(element, cur, max, hasMaxChanged, event)
In Castbar.lua, function prototype:PostChannelStart
change :
Code:
elseif self.interrupt then
to
Code:
elseif self.notInterruptible then
to keep the color for interruptible spell
You also need to change the classpower.lua from Ouf\elements, it's the only thing I haven't track down from the Phanx Layout.
In local function Update(self, event, unit, powerType)
comment each "element[i]:SetValue" :
Code:
local numActive = cur + 0.9
for i = 1, max do
if(i > numActive) then
element[i]:Hide()
--element[i]:SetValue(0)
else
element[i]:Show()
--element[i]:SetValue(cur - i + 1)
end
end
oldMax = element.__max
if(max ~= oldMax) then
if(max < oldMax) then
for i = max + 1, oldMax do
element[i]:Hide()
--element[i]:SetValue(0)
end
end
element.__max = max
end
With these changes, for me everything works, but I don't play every classes so...