Mercurial > wow > breuesk
diff Core.lua @ 38:7bfbff27a3d7
"Working" list display using a TreeGroup control. There's a small limitation where I can't accurately detect which subtree is open unless the user has made a selection in that tab. Not sure I love that.
Loot lists are displayed with colored names. People not in the raid are grayed out.
author | John@Doomsday |
---|---|
date | Wed, 14 Mar 2012 08:31:31 -0400 |
parents | ecd37523ae04 |
children | 72055fc7e115 |
line wrap: on
line diff
--- a/Core.lua Tue Mar 13 23:17:18 2012 -0400 +++ b/Core.lua Wed Mar 14 08:31:31 2012 -0400 @@ -31,7 +31,6 @@ bsk = LibStub("AceAddon-3.0"):NewAddon("bsk","AceConsole-3.0", "AceHook-3.0", "AceComm-3.0", "AceSerializer-3.0") local L = LibStub("AceLocale-3.0"):GetLocale("bsk", false) -local AceGUI = LibStub("AceGUI-3.0") function bsk:OnInitialize() @@ -46,6 +45,7 @@ function bsk:OnEnable() bsk:CreateWorkingStateFromChanges(self.db.profile.changes) + bsk:CreateGUI() end function bsk:HandleCommand(paramIn) @@ -171,6 +171,8 @@ bsk:RenameList(param[2],param[3]) elseif param[1] == "selfdestruct" then bsk:SelfDestruct() + else + bsk:CreateGUI() end --if self.frame == nil then