Mercurial > wow > reaction
comparison ReAction.lua @ 295:0cb6a9944497 1.1 alpha 11 (5.04 bandaid)
Quick hacks for 5.04
- disable hiding VehicleMenuBar frame, whose name changed
- GetMultiCastBarOffset() -> GetMultiCastBarIndex()... cleanup before totem bar support is purged
- Remove totem bar
- fix demon form, vehicle buttons, overridebar buttons (cross fingers)
- change possess/vehicle order priority
| author | Flick |
|---|---|
| date | Tue, 11 Sep 2012 16:50:37 -0700 |
| parents | 5b9c0164a491 |
| children |
comparison
equal
deleted
inserted
replaced
| 293:7c596a5951ee | 295:0cb6a9944497 |
|---|---|
| 93 end | 93 end |
| 94 | 94 |
| 95 -- It's fairly normal to use the Blizzard vehicle bar, and to have | 95 -- It's fairly normal to use the Blizzard vehicle bar, and to have |
| 96 -- your regular buttons in the same location. If you do this, and don't | 96 -- your regular buttons in the same location. If you do this, and don't |
| 97 -- bother to hide your buttons, they'll obscure some parts of the vehicle bar. | 97 -- bother to hide your buttons, they'll obscure some parts of the vehicle bar. |
| 98 VehicleMenuBar:SetFrameLevel(VehicleMenuBar:GetFrameLevel()+3) | 98 -- VehicleMenuBar:SetFrameLevel(VehicleMenuBar:GetFrameLevel()+3) |
| 99 | 99 |
| 100 self.callbacks = LibStub("CallbackHandler-1.0"):New(self) | 100 self.callbacks = LibStub("CallbackHandler-1.0"):New(self) |
| 101 | 101 |
| 102 LKB.RegisterCallback(self,"LIBKEYBOUND_ENABLED") | 102 LKB.RegisterCallback(self,"LIBKEYBOUND_ENABLED") |
| 103 LKB.RegisterCallback(self,"LIBKEYBOUND_DISABLED") | 103 LKB.RegisterCallback(self,"LIBKEYBOUND_DISABLED") |
| 352 | 352 |
| 353 function ReAction:ManageBlizzardBars() | 353 function ReAction:ManageBlizzardBars() |
| 354 for _, f in pairs(blizzFrames) do | 354 for _, f in pairs(blizzFrames) do |
| 355 ManageBlizzFrame(f, self.db.profile.options.hideBlizzardBars) | 355 ManageBlizzFrame(f, self.db.profile.options.hideBlizzardBars) |
| 356 end | 356 end |
| 357 ManageBlizzFrame(VehicleMenuBar, self.db.profile.options.hideBlizzardVehicleBar) | 357 --ManageBlizzFrame(VehicleMenuBar, self.db.profile.options.hideBlizzardVehicleBar) |
| 358 end | 358 end |
| 359 | 359 |
| 360 function ReAction:RegisterBarType( class, isDefault ) | 360 function ReAction:RegisterBarType( class, isDefault ) |
| 361 local name = class:GetButtonTypeID() | 361 local name = class:GetButtonTypeID() |
| 362 self.barTypes[name] = class | 362 self.barTypes[name] = class |
