/
button.icon:SetTexture"Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes" |
local offset, left, right, bottom, top = 0.025, unpack( classIcon ) |
button.icon:SetTexCoord( left+offset, right-offset, bottom+offset, top-offset ) |
if( useChecks )then button.check:SetAlpha(isGrouped and 1 or 0) end |
button.check:SetAlpha(isGrouped and 1 or 0) |
local color = RAID_CLASS_COLORS[class] |
button.fontName:SetTextColor( color.r, color.g, color.b ) |
else -- friend entry with non english client |