Remove old code

This commit is contained in:
Hendrik Leppkes
2008-11-09 14:33:13 +01:00
parent 0c50bf85df
commit 21a325c494
-8
View File
@@ -46,12 +46,8 @@ function Bartender4.Button:Create(id, parent)
-- overwrite some scripts with out customized versions
button:SetScript("OnEnter", onEnter)
button:SetScript("OnUpdate", onUpdate)
--[[button:SetScript("OnEvent", button.EventHandler)
button:SetScript("OnDragStart", onDragStart)
button:SetScript("OnReceiveDrag", onReceiveDrag)
button:SetScript("PostClick", button.UpdateState)
]]
button.icon = _G[("%sIcon"):format(name)]
button.border = _G[("%sBorder"):format(name)]
@@ -148,10 +144,6 @@ function onEnter(self)
KeyBound:Set(self)
end
function onLeave()
GameTooltip:Hide()
end
local oor, oorcolor, oomcolor
function onUpdate(self, elapsed)