comparison FilterBar.lua @ 119:b528ba7c239c v7.3.2-20171712

lexical bits
author Nenue
date Sun, 17 Dec 2017 18:43:29 -0500
parents a4dfdd4f1cf3
children
comparison
equal deleted inserted replaced
118:5916b9b8486b 119:b528ba7c239c
414 GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT') 414 GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT')
415 GameTooltip:AddLine(headerNames[self.info.filterKey]) 415 GameTooltip:AddLine(headerNames[self.info.filterKey])
416 GameTooltip:AddLine(self.info.label) 416 GameTooltip:AddLine(self.info.label)
417 wipe(found) 417 wipe(found)
418 418
419
420
421 if self.numQuestsHere >= 1 then 419 if self.numQuestsHere >= 1 then
422 if self.numQuestsHere < self.numQuestsTotal then 420 if self.numQuestsHere < self.numQuestsTotal then
423 GameTooltip:AddLine('This Zone', 1, 1, 0) 421 GameTooltip:AddLine('This Zone', 1, 1, 0)
424 end 422 end
425 for index, pin in ipairs(self.LocalMatches) do 423 for index, pin in ipairs(self.LocalMatches) do
444 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 1, 1, 1) 442 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 1, 1, 1)
445 end 443 end
446 end 444 end
447 end 445 end
448 end 446 end
449
450 447
451 GameTooltip:AddLine(self.numQuestsTotal .. ' total') 448 GameTooltip:AddLine(self.numQuestsTotal .. ' total')
452 GameTooltip:Show() 449 GameTooltip:Show()
453 end 450 end
454 end 451 end