Quantcast

Added some color codes to the type line in the tooltip.

pschifferer [02-26-09 - 01:35]
Added some color codes to the type line in the tooltip.
Filename
CauldronMain.lua
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 6f247b0..a7586f2 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -760,9 +760,9 @@ function Cauldron:SetTradeSkillItem(tooltip, itemIndex, reagentIndex)

 		-- let the user know if the reagent is a "non-key" reagent
 		if reagentInfo.key then
-			tooltip:AddLine(L["Type: "]..L["Key"]);
+			tooltip:AddLine(L["Type: "].."|cff990000"..L["Key"].."|r");
 		else
-			tooltip:AddLine(L["Type: "]..L["Vendor"]);
+			tooltip:AddLine(L["Type: "].."|cffffffff"..L["Vendor"].."|r");
 		end
 	else
 --		link = GetTradeSkillItemLink(itemIndex);