diff Gui.lua @ 43:4109683c3172

Kept AceConsole embedded - it handily disables the chat commands when the addon is disabled Did a little passthrough to properly set the self param for commands like Print()
author John@Yosemite-PC
date Thu, 15 Mar 2012 22:27:51 -0400
parents 72055fc7e115
children 11f18e279229
line wrap: on
line diff
--- a/Gui.lua	Thu Mar 15 08:47:41 2012 -0400
+++ b/Gui.lua	Thu Mar 15 22:27:51 2012 -0400
@@ -143,10 +143,10 @@
         --pulldown:SetFullHeight(true)
         --pulldown:SetAutoAdjustHeight(false)
 
-        --pulldown:SetCallback("OnGroupSelected", function(widget,_,uniquevalue) bsk:Print("OGS: uniquevalue: "..uniquevalue)
+        --pulldown:SetCallback("OnGroupSelected", function(widget,_,uniquevalue) print("OGS: uniquevalue: "..uniquevalue)
         --end)
-        --pulldown:SetCallback("OnClick", function(widget,_,uniquevalue) bsk:Print("Onclick: uniquevalue: " .. uniquevalue) end)
-        --pulldown:SetCallback("OnButtonEnter", function(widget,_,value) bsk:Print("OnButtonEnter: value: " .. value) end)
+        --pulldown:SetCallback("OnClick", function(widget,_,uniquevalue) print("Onclick: uniquevalue: " .. uniquevalue) end)
+        --pulldown:SetCallback("OnButtonEnter", function(widget,_,value) print("OnButtonEnter: value: " .. value) end)
 
 
     end
@@ -217,7 +217,7 @@
     --local btn = AceGUI:Create("Button")
     --btn:SetWidth(170)
     --btn:SetText("Button !")
-    --btn:SetCallback("OnClick", function() bsk:print("Click!") end)
+    --btn:SetCallback("OnClick", function() Print("Click!") end)
     -- Add the button to the container
     --frame:AddChild(btn)
 end