/
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 |