WoWInterface SVN NeedyGreedy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 62 to Rev 63
    Reverse comparison

Rev 62 → Rev 63

NeedyGreedy.lua
1135,6 → 1135,12
tooltip:SetCellScript(headerline, i + 1, "OnLeave", function()
GameTooltip:Hide()
end )
 
-- Color surrounding cell accoridng to item rarity
local _, _, quality = GetItemInfo(item.itemID)
local color = {r , g, b, hex}
color.r, color.g, color.b, color.hex = GetItemQualityColor(quality)
tooltip:SetCellColor(headerline, i + 1, color.r, color.g, color.b)
end
end
 
1490,6 → 1496,10
self:UpdateReport()
end
 
function NeedyGreedy:GetItems()
return items
end
 
function NeedyGreedy:TestItemList()
items = {
nil, -- [1]