Mercurial > wow > reaction
comparison classes/Bar.lua @ 123:943eed2c7def
Fixes for new ActionButton implementation
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 23 Feb 2009 19:41:11 +0000 |
parents | a2d2f23137c8 |
children | a7f18adee694 |
comparison
equal
deleted
inserted
replaced
122:a2d2f23137c8 | 123:943eed2c7def |
---|---|
75 f:Hide() | 75 f:Hide() |
76 f:SetParent(UIParent) | 76 f:SetParent(UIParent) |
77 f:ClearAllPoints() | 77 f:ClearAllPoints() |
78 end | 78 end |
79 | 79 |
80 function Bar:GetConfig() | |
81 return self.config | |
82 end | |
83 | |
80 function Bar:OnConfigModeChanged(event, mode) | 84 function Bar:OnConfigModeChanged(event, mode) |
81 self:ShowControls(mode) -- Bar:ShowControls() defined in Overlay.lua | 85 self:ShowControls(mode) -- Bar:ShowControls() defined in Overlay.lua |
82 end | 86 end |
83 | 87 |
84 function Bar:ApplyAnchor() | 88 function Bar:ApplyAnchor() |