/
runebar.colors = self.colors.runes or colors |
self:RegisterEvent('RUNE_TYPE_UPDATE', Update) |
self:RegisterEvent('RUNE_POWER_UPDATE', #runebar == 0 and Update or UpdateStatusBar) |
if(#runebar == 0) then |
self:RegisterEvent('RUNE_POWER_UPDATE', Update) |
dummy:SetScript('OnUpdate', function(s, e) OnUpdateText(self, e) end) |
else |
self:RegisterEvent('RUNE_POWER_UPDATE', UpdateStatusBar) |
end |
RuneFrame:Hide() |
## Interface: 30000 |
## Interface: 30100 |
## Author: p3lim |
## Version: 30000.wowi:revision |
## Version: 30100.wowi:revision |
## Title: oUF RuneBar |
## Notes: Death Knight rune support for oUF layouts. |
## RequiredDeps: oUF |