Mercurial > wow > reaction
comparison VehicleExitButton.lua @ 264:d2e55b61e5e6 stable
Merge 1.1 beta 6 to stable
| author | Flick |
|---|---|
| date | Fri, 06 May 2011 15:52:21 -0700 |
| parents | c918ff9ac787 |
| children | 36a29870bf34 |
comparison
equal
deleted
inserted
replaced
| 258:a7d2efb6ffc9 | 264:d2e55b61e5e6 |
|---|---|
| 46 f:SetScript("OnEnter", function(frame) GameTooltip_AddNewbieTip(frame, LEAVE_VEHICLE, 1.0, 1.0, 1.0, nil) end) | 46 f:SetScript("OnEnter", function(frame) GameTooltip_AddNewbieTip(frame, LEAVE_VEHICLE, 1.0, 1.0, 1.0, nil) end) |
| 47 f:SetScript("OnLeave", GameTooltip_Hide) | 47 f:SetScript("OnLeave", GameTooltip_Hide) |
| 48 f:SetScript("OnEvent", function(frame, evt, ...) self:OnEvent(evt,...) end) | 48 f:SetScript("OnEvent", function(frame, evt, ...) self:OnEvent(evt,...) end) |
| 49 | 49 |
| 50 -- event registration | 50 -- event registration |
| 51 f:EnableMouse(true) | |
| 52 f:RegisterForClicks("AnyUp") | |
| 53 f:RegisterEvent("UPDATE_BINDINGS") | 51 f:RegisterEvent("UPDATE_BINDINGS") |
| 54 | 52 |
| 55 -- attach to skinner | 53 -- attach to skinner |
| 56 bar:SkinButton(self) | 54 bar:SkinButton(self) |
| 57 | 55 |
