diff Gui.lua @ 70:236117ab8a49

Decent sketch of what the communication system might look like
author John@Yosemite-PC
date Thu, 29 Mar 2012 23:24:51 -0400
parents b7352f007028
children d5e2dfe0c269
line wrap: on
line diff
--- a/Gui.lua	Thu Mar 29 20:17:59 2012 -0400
+++ b/Gui.lua	Thu Mar 29 23:24:51 2012 -0400
@@ -61,7 +61,6 @@
     ["Hide"] = function(self) if f then AceGUI:Release(f); self.shown=false end end
 }
 
-
 SelectorListEventDispatcher =
 {
     listeners = nil,
@@ -362,6 +361,7 @@
                     biddingZone:ReleaseChildren()
                     widget:SetText("Open Bids")
                     RListEventDispatch:Release()
+                    RListPopulator:Release() 
                 else
                     widget:SetText("Close bids")
                     local spacer = AceGUI:Create("Label")
@@ -389,7 +389,7 @@
                     local bidRetractButton = AceGUI:Create("Button")
                     bidRetractButton:SetText("Place Bid")
                     bidRetractButton:SetWidth(100)
-                    bidRetractButton:SetCallback("OnClick", function(widget) RListPopulator:Force(SListPopulator:GetMe()) end)
+                    bidRetractButton:SetCallback("OnClick", function(widget) RListPopulator:Force(SListPopulator:GetMe()) end) -- todo: Force is not the desired thing here.
                     local rollButton = AceGUI:Create("Button")
                     rollButton:SetText("Offset Roll")
                     rollButton:SetWidth(100)