comparison Modules/BuffFrame.lua @ 122:ea2c616a3b4f

Standardize anchor variables - anchorGroup sets general position, defers to anchorPoint - anchorPoint and anchorFrom are used in SetPoint, deferring to anchorGroup and its inverse Artifact Power: - scan and update triggers trimmed down BuffFrame: - extra values can be right clicked to hide for particular auras LFG: - Desolate Host link placed above Sisters when searching for best cheevos TalkingHead - Re-enable TalkingHeadFrame click behaviour
author Nenue
date Mon, 21 Aug 2017 22:15:46 -0400
parents 1f68c46bc4de
children 414e37af1b1b
comparison
equal deleted inserted replaced
121:1f68c46bc4de 122:ea2c616a3b4f
391 for i = 1, 3 do 391 for i = 1, 3 do
392 local button = CreateFrame('Button', nil, facade, 'VeneerBuffAuditTemplate') 392 local button = CreateFrame('Button', nil, facade, 'VeneerBuffAuditTemplate')
393 button.index = i 393 button.index = i
394 button:RegisterForClicks('AnyUp') 394 button:RegisterForClicks('AnyUp')
395 button:SetScript('OnClick', Audit_OnClick) 395 button:SetScript('OnClick', Audit_OnClick)
396 button:SetScript('OnEvent', Audit_OnEvent)
397 button:RegisterEvent('POWER_REGEN_ENABLED')
396 button:SetPoint('TOPLEFT', 0, (i-1) * 16 * -1) 398 button:SetPoint('TOPLEFT', 0, (i-1) * 16 * -1)
397 facade.Audit[i] = button 399 facade.Audit[i] = button
398 end 400 end
399 401
400 facade.IsAcquired = true 402 facade.IsAcquired = true