comparison modules/ReAction_Action/ReAction_Action.lua @ 30:0d95ce7a9ec2

- added Ace3 externs - converted ReAction_ConfigUI to use blizzard interface addons panel via AceConfigDialog-3.0 - partially converted FuBar module to LibRock, deprecated it (going to remove it entirely later) - cleaned up a couple other tidbits
author Flick <flickerstreak@gmail.com>
date Wed, 02 Apr 2008 23:31:13 +0000
parents 21bcaf8215ff
children 7b7d178dec52
comparison
equal deleted inserted replaced
29:9c89042bc328 30:0d95ce7a9ec2
193 193
194 local f = CreateFrame("CheckButton", self.name, barFrame, "ActionBarButtonTemplate") 194 local f = CreateFrame("CheckButton", self.name, barFrame, "ActionBarButtonTemplate")
195 -- TODO: re-implement ActionButton event handlers that don't do secure stuff 195 -- TODO: re-implement ActionButton event handlers that don't do secure stuff
196 196
197 -- this will probably cause taint, using right now for display/debugging purposes 197 -- this will probably cause taint, using right now for display/debugging purposes
198 f:SetScript("OnAttributeChanged", 198 f:SetScript("OnAttributeChanged", ActionButton_UpdateAction)
199 function()
200 ActionButton_UpdateAction()
201 end
202 )
203 f:SetAttribute("action", config.actionID) 199 f:SetAttribute("action", config.actionID)
204 barFrame:SetAttribute("addchild",f) 200 barFrame:SetAttribute("addchild",f)
205 self.frame = f 201 self.frame = f
206 self:Refresh(bar,idx) 202 self:Refresh(bar,idx)
207 end 203 end