Mercurial > wow > buffalo2
diff BuffButton.lua @ 7:5301c68f28d8
TrackerBlock
- use IsModifiedClick function to determine appropriate OnClick actions
- handle 'CHATLINK' modifier
- handle 'TOGGLEQUESTWATCH' modifier
TrackerBlockObjectives
- use a generic framework to manage frame creation for various criteria tracker types:
- ProgressBar when Blizzard flag data indicates so
- skip when Blizzard flag data indicates so
- DynamicText otherwise
- events related to the criteria are registered in the criteria frame, and unregistered when the frame is hidden, either by destruction of its parent or completion
author | Nenue |
---|---|
date | Fri, 01 Apr 2016 12:27:05 -0400 |
parents | b0447b382f36 |
children |
line wrap: on
line diff
--- a/BuffButton.lua Fri Apr 01 01:30:42 2016 -0400 +++ b/BuffButton.lua Fri Apr 01 12:27:05 2016 -0400 @@ -159,7 +159,8 @@ -- Background decorations layer if not d[i] then d[i] = CreateFrame('Frame', buffName..i..'Decor', _G.UIParent, 'VeneerDecorTemplate') - --RegisterStateDriver(d[i], "visibility", "[petbattle] [vehicleui] hide") + -- todo: sort out a way to fix this without creating taint issues + RegisterStateDriver(d[i], "visibility", "[petbattle] [vehicleui] hide") end d[i]:SetPoint('BOTTOMLEFT', guide.icon, 'BOTTOMLEFT', -buffBorder, -buffBorder)