- now using LibKeyBound-1.0

- added more options to configure the show/hide state of the bar, now supports showing/hiding bars based on in-combat
This commit is contained in:
Hendrik Leppkes
2008-05-31 11:16:59 +00:00
parent 3e3bd90c37
commit 9e092cda14
9 changed files with 40 additions and 21 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ local PetButtonPrototype = CreateFrame("CheckButton")
local PetButton_MT = {__index = PetButtonPrototype}
local LBF = LibStub("LibButtonFacade", true)
local KeyBound = LibStub("LibKeyBound-1.0")
local defaults = { profile = Bartender4:Merge({
enabled = true,
@@ -26,7 +27,7 @@ end
function PetBarMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create("Pet", nil, self.db.profile), {__index = PetBar})
self.bar = setmetatable(Bartender4.ButtonBar:Create("Pet", self.db.profile), {__index = PetBar})
local buttons = {}
for i=1,10 do