Moved Hotkey and MacroText handling to the ButtonBar prototype and show the Hotkey on Pet and Stance Bar (default off)

This commit is contained in:
Hendrik Leppkes
2008-11-01 14:51:45 +01:00
parent f4ee55d1a4
commit 29f204b662
8 changed files with 78 additions and 46 deletions
-22
View File
@@ -111,28 +111,6 @@ function ActionBar:SetGrid(state)
end
end
function ActionBar:SetHideMacroText(state)
if state ~= nil then
self.config.hidemacrotext = state
end
self:ForAll("Update")
end
function ActionBar:GetHideMacroText()
return self.config.hidemacrotext
end
function ActionBar:SetHideHotkey(state)
if state ~= nil then
self.config.hidehotkey = state
end
self:ForAll("Update")
end
function ActionBar:GetHideHotkey()
return self.config.hidehotkey
end
function ActionBar:UpdateSelfCast()
self:ForAll("UpdateSelfCast")
self:UpdateStates()