Bugfixes & improved RoundBar texture

This commit is contained in:
iceroth
2006-08-26 13:50:55 +00:00
parent 7050788344
commit 439b3fecec
19 changed files with 123 additions and 62 deletions

View File

@ -39,6 +39,9 @@ function TargetOfTarget.prototype:GetOptions()
min = -300,
max = 300,
step = 10,
disabled = function()
return not self.moduleSettings.enabled
end,
order = 31
}
@ -53,6 +56,9 @@ function TargetOfTarget.prototype:GetOptions()
self.moduleSettings.showDebuffs = value
self:UpdateBuffs()
end,
disabled = function()
return not self.moduleSettings.enabled
end,
order = 32
}
@ -70,6 +76,9 @@ function TargetOfTarget.prototype:GetOptions()
min = 8,
max = 20,
step = 1,
disabled = function()
return not self.moduleSettings.enabled
end,
order = 33
}
@ -95,8 +104,8 @@ function TargetOfTarget.prototype:Redraw()
end
function TargetOfTarget.prototype:Enable()
TargetOfTarget.super.prototype.Enable(self)
function TargetOfTarget.prototype:Enable(core)
TargetOfTarget.super.prototype.Enable(self, core)
self:RegisterEvent("PLAYER_TARGET_CHANGED", "Update")
@ -107,8 +116,8 @@ function TargetOfTarget.prototype:Enable()
end
function TargetOfTarget.prototype:Disable()
TargetOfTarget.super.prototype.Disable(self)
function TargetOfTarget.prototype:Disable(core)
TargetOfTarget.super.prototype.Disable(self, core)
self:UnregisterMetro(self.name)
end