improve visibility driver logic and API

This commit is contained in:
Hendrik Leppkes
2008-06-21 13:42:26 +00:00
parent 31cc52cbff
commit 4e23013c64
3 changed files with 54 additions and 41 deletions
+2 -9
View File
@@ -197,18 +197,11 @@ function ActionBar:SkinChanged(...)
self:ForAll("Update")
end
function ActionBar:Lock()
if self.disabled or not self.unlocked then return end
ButtonBar.Lock(self)
function ActionBar:SetShow(...)
ButtonBar.SetShow(self, ...)
self:UpdateStates()
end
function ActionBar:Unlock()
if self.disabled or self.unlocked then return end
ButtonBar.Unlock(self)
self:UpdateStates(true)
end
--[[===================================================================================
ActionBar Config Interface