More betterer tooltip

This commit is contained in:
tekkub :bear:  2011-11-20 16:55:58 -07:00
parent fbd7dbe816
commit 5c2c560b77
1 changed files with 8 additions and 3 deletions

View File

@ -378,9 +378,14 @@ editbox:SetScript("OnEnter", function(self)
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT")
GameTooltip:AddLine("Enter an item name to search")
GameTooltip:AddLine(" ")
GameTooltip:AddDoubleLine("Type search:", "bop, boe, bou, boa, quest", nil,nil,nil, 255,255,255)
GameTooltip:AddDoubleLine(" ", "q=rare, q<4, ilvl>=359, t:shield", 255,255,255, 255,255,255)
GameTooltip:AddLine("& - Match both | - Match either ! - Do not match", 255,255,255)
GameTooltip:AddDoubleLine("Type search:", "bop boe bou", nil,nil,nil, 255,255,255)
GameTooltip:AddDoubleLine(" ", "boa quest", 255,255,255, 255,255,255)
GameTooltip:AddDoubleLine(" ", "ilvl>=378 ilvl=359", 255,255,255, 255,255,255)
GameTooltip:AddDoubleLine(" ", "q=rare q<4", 255,255,255, 255,255,255)
GameTooltip:AddDoubleLine(" ", "t:leather t:shield", 255,255,255, 255,255,255)
GameTooltip:AddDoubleLine("Modifiers:", "& Match both", nil,nil,nil, 255,255,255)
GameTooltip:AddDoubleLine(" ", "| Match either", 255,255,255, 255,255,255)
GameTooltip:AddDoubleLine(" ", "! Do not match", 255,255,255, 255,255,255)
GameTooltip:Show()
end)
editbox:SetScript("OnLeave", function(self)