Mercurial > wow > ouroloot
diff core.lua @ 96:780b7e0eeeeb
Break the options panel out of gui.lua into new options.lua. Move default item lists from verbage.lua there also. Redo options panel as a tree instead of a massive scrolling thing, and prepare data structures to let plugins/etc add their own options code.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Thu, 26 Jul 2012 20:46:00 +0000 |
parents | 3546c7b55986 |
children | ba5ff82dcf19 |
line wrap: on
line diff
--- a/core.lua Thu Jul 26 03:34:56 2012 +0000 +++ b/core.lua Thu Jul 26 20:46:00 2012 +0000 @@ -1797,7 +1797,7 @@ if self.display then -- in the new version, this is likely to always be the case repopup = true - st = self.display:GetUserData("eoiST") + st = self.display:GetUserData("GUI state").eoiST if not st then self.dprint('flow', "Clear: display visible but eoiST not set??") end @@ -2622,9 +2622,10 @@ if self.display then local d = self.display if d then - local eoist = d:GetUserData("eoiST") + local gui = d:GetUserData("GUI state") + local eoist = gui.eoiST if eoist then eoist:Hide() end - local histst = d:GetUserData("histST") + local histst = gui.histST if histst then histst:Hide() end d:Hide() end @@ -3170,7 +3171,7 @@ _notify_about_remote (sender, index, nil, from_name, from_person_class) end if self.display then - self.display:GetUserData("eoiST"):OuroLoot_Refresh(index) + self.display:GetUserData("GUI state").eoiST:OuroLoot_Refresh(index) self:redisplay() end return index