Mercurial > wow > reaction
comparison classes/Overlay.lua @ 209:3e451836ce6d 1.1 Beta 3
Merge c24ac8ee1e45857c35b8f241a3782e884ee9c7c0
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Thu, 18 Nov 2010 13:09:14 -0800 |
| parents | c24ac8ee1e45 |
| children |
comparison
equal
deleted
inserted
replaced
| 208:443d2ea4be86 | 209:3e451836ce6d |
|---|---|
| 702 function() | 702 function() |
| 703 ReAction:ShowEditor(bar) | 703 ReAction:ShowEditor(bar) |
| 704 end | 704 end |
| 705 ) | 705 ) |
| 706 | 706 |
| 707 function overlay:LIBKEYBOUND_ENABLED(evt) | |
| 708 self:SetFrameLevel(1) | |
| 709 end | |
| 710 | |
| 711 function overlay:LIBKEYBOUND_DISABLED(evt) | |
| 712 self:SetFrameLevel(10) | |
| 713 end | |
| 714 | |
| 715 function overlay:RefreshControls() | 707 function overlay:RefreshControls() |
| 716 UpdateAnchorDecoration() | 708 UpdateAnchorDecoration() |
| 717 end | 709 end |
| 718 | 710 |
| 719 overlay:SetScript("OnShow", overlay.RefreshControls) | 711 overlay:SetScript("OnShow", overlay.RefreshControls) |
| 720 | |
| 721 LKB.RegisterCallback(overlay,"LIBKEYBOUND_ENABLED") | |
| 722 LKB.RegisterCallback(overlay,"LIBKEYBOUND_DISABLED") | |
| 723 | 712 |
| 724 if ReAction:GetKeybindMode() then | 713 if ReAction:GetKeybindMode() then |
| 725 overlay:SetFrameLevel(1) | 714 overlay:SetFrameLevel(1) |
| 726 end | 715 end |
| 727 | 716 |
