Mercurial > wow > reaction
comparison classes/Bar.lua @ 128:729232aeeb5e
Action Button rewrite. (note: pet actions are probably slightly broken right now, they haven't been updated yet)
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Thu, 05 Mar 2009 01:28:48 +0000 |
| parents | a7f18adee694 |
| children | 86564b5cbbff |
comparison
equal
deleted
inserted
replaced
| 127:29dacbecdb52 | 128:729232aeeb5e |
|---|---|
| 82 return self.config | 82 return self.config |
| 83 end | 83 end |
| 84 | 84 |
| 85 function Bar:OnConfigModeChanged(event, mode) | 85 function Bar:OnConfigModeChanged(event, mode) |
| 86 self:ShowControls(mode) -- Bar:ShowControls() defined in Overlay.lua | 86 self:ShowControls(mode) -- Bar:ShowControls() defined in Overlay.lua |
| 87 for b in pairs(self.buttons) do | |
| 88 b:ShowGridTemp(mode) | |
| 89 end | |
| 87 end | 90 end |
| 88 | 91 |
| 89 function Bar:ApplyAnchor() | 92 function Bar:ApplyAnchor() |
| 90 local f = self:GetFrame() | 93 local f = self:GetFrame() |
| 91 local c = self.config | 94 local c = self.config |
