WoWInterface SVN CompactBars

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 9 to Rev 10
    Reverse comparison

Rev 9 → Rev 10

trunk/CompactBars/libs/sbar.lua
1209,6 → 1209,19
end
return barfind
end
function sbar:GetFixedText(pos)
argcheck(pos, 2, "number")
if scaleinfo.horizontal then
if fixedText and fixedText[pos] then return fixedText[pos]:GetText() end
else
if fixedText and fixedText[pos] then
local text = ""
for _, te in pairs(fixedText[pos]) do
text = text .. te:GetText()
end
end
end
end
--- This function sets a text at the end of the bar.
-- So it will always be at the maxneg position
-- @param text The text for the bar