big restructuring, split the options from the code and moved individual modules into subdirs

- expect big breakage if you try to update without completely restarting wow
This commit is contained in:
Hendrik Leppkes
2008-07-05 12:41:16 +00:00
parent b856fc9760
commit 2ffd19655b
27 changed files with 1006 additions and 929 deletions
+6
View File
@@ -99,4 +99,10 @@ function Bartender4.modulePrototype:ToggleModule(info, value)
self:Disable()
end
end
function Bartender4.modulePrototype:ToggleOptions()
if self.options then
self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions
end
end
Bartender4:SetDefaultModulePrototype(Bartender4.modulePrototype)