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

@ -72,18 +72,17 @@ end
function IceCore.prototype:Enable()
self.settings = self.db.account
IceElement.Alpha = self.settings.bar
self:DrawFrame()
for i = 1, table.getn(self.elements) do
self.elements[i]:SetDatabase(self.settings)
self.elements[i]:Create(self.IceHUDFrame)
if (self.elements[i]:IsEnabled()) then
self.elements[i]:Enable()
self.elements[i]:Enable(true)
end
end
self.enabled = true
end
@ -91,7 +90,7 @@ end
function IceCore.prototype:Disable()
for i = 1, table.getn(self.elements) do
if (self.elements[i]:IsEnabled()) then
self.elements[i]:Disable()
self.elements[i]:Disable(true)
end
end