Mercurial > wow > reaction
comparison classes/ActionButton.lua @ 237:704f4a05a1d7
Demodulificate all bar options (except state options)
author | Flick |
---|---|
date | Thu, 24 Mar 2011 13:11:30 -0700 |
parents | 0e20f65375d5 |
children | 8bde290d300c |
comparison
equal
deleted
inserted
replaced
236:dcdc0235d489 | 237:704f4a05a1d7 |
---|---|
653 lockButtonsCombat = self:GetAttribute("lockbuttonscombat") | 653 lockButtonsCombat = self:GetAttribute("lockbuttonscombat") |
654 ]]) | 654 ]]) |
655 end | 655 end |
656 | 656 |
657 | 657 |
658 function Action.SetButtonLock( bar, lock, lockCombat ) -- call this as a static method | 658 function Action:SetButtonLock( bar, lock, lockCombat ) |
659 local f = bar:GetFrame() | 659 local f = bar:GetFrame() |
660 f:SetAttribute("lockbuttons",lock) | 660 f:SetAttribute("lockbuttons",lock) |
661 f:SetAttribute("lockbuttonscombat",lockCombat) | 661 f:SetAttribute("lockbuttonscombat",lockCombat) |
662 f:Execute( | 662 f:Execute( |
663 [[ | 663 [[ |