Quantcast

More debugging.

pschifferer [02-24-09 - 05:50]
More debugging.
Filename
CauldronMainUI.lua
diff --git a/CauldronMainUI.lua b/CauldronMainUI.lua
index b5bbf1d..3694837 100644
--- a/CauldronMainUI.lua
+++ b/CauldronMainUI.lua
@@ -643,6 +643,9 @@ function Cauldron:UpdateQueue()

 		-- set name and difficulty color
 		frame = _G["CauldronQueueItem"..i.."ItemName"];
+--@alpha@
+		self:debug("frame: "..tostring(frame).." ("..frame:GetName()..")");
+--@end-alpha@
 		frame:SetText(queueInfo.name);
 		if skillInfo then
 			local color = TradeSkillTypeColor[skillInfo.difficulty];
@@ -660,6 +663,9 @@ function Cauldron:UpdateQueue()

 		-- set quantity info
 		frame = _G["CauldronQueueItem"..i.."Info"];
+--@alpha@
+		self:debug("frame: "..tostring(frame).." ("..frame:GetName()..")");
+--@end-alpha@
 		local infoText = queueInfo.tradeskill;
 		-- TODO: alts/bank/etc.
 		frame:SetText(infoText);
@@ -668,11 +674,17 @@ function Cauldron:UpdateQueue()

 		-- set the icon
 		frame = _G["CauldronQueueItem"..i.."Icon"];
+--@alpha@
+		self:debug("frame: "..tostring(frame).." ("..frame:GetName()..")");
+--@end-alpha@
 		frame:SetNormalTexture(queueInfo.icon);
 		frame.link = queueInfo.link;

 		-- set the amount
 		frame = _G["CauldronQueueItem"..i.."IconCount"];
+--@alpha@
+		self:debug("frame: "..tostring(frame).." ("..frame:GetName()..")");
+--@end-alpha@
 		frame:SetText(queueInfo.amount);

 		-- place the frame in the scroll view