/trunk/RDX/Designs/Lists
btn.spellid = _meta; |
btn.icon:SetTexture(_tex); |
if btn.nametxt then |
btn.nametxt:SetText(_bn); |
if ]] .. auranameab .. [[ then |
local word, anstr = nil, ""; |
for word in string.gmatch(_bn, "%a+") |
do anstr = anstr .. word:sub(1, 1); |
end |
btn.nametxt:SetText(anstr); |
elseif ]] .. auranametrunc .. [[ then |
btn.nametxt:SetText(strsub(_bn, 1, ]] .. auranametrunc .. [[)); |
else |
btn.nametxt:SetText(_bn); |
end |
end |
btn.ftc:SetFormula(]] .. countTypeFlag .. [[); |
if _dur and _dur > 0 and btn.ftc then |
if chk_timefilter:GetChecked() then |
maxdurfil = ed_maxduration.editBox:GetText(); |
mindurfil = ed_minduration.editBox:GetText(); |
chk_notimefilter:SetChecked(); |
end |
if chk_filterName:GetChecked() then |
filterNameList = le_names:GetList(); |