comparison Modules/BuffFrame.lua @ 62:ef4116179e2f v7.0.3-1

- cleaned up old file structure remnants
author Nenue
date Tue, 16 Aug 2016 08:37:07 -0400
parents 3f083d389c18
children ba9c13261bb2
comparison
equal deleted inserted replaced
61:3f083d389c18 62:ef4116179e2f
1 -- Veneer 1 -- Veneer
2 -- BuffFrame.lua 2 -- BuffFrame.lua
3 -- Created: 7/27/2016 8:08 PM 3 -- Created: 7/27/2016 8:08 PM
4 -- %file-revision% 4 -- %file-revision%
5 -- Adds progress bars and cooldown swirls to buffbutton frames 5 --[[
6 6 Adds progress bars and cooldown swirls to buffbutton frames
7 local PLUGIN_NAME = 'BuffFrame' 7
8 local plugin = {} 8 Known Limitations:
9 - Individual BuffButton frames are created upon use, making it difficult to do any sort of securestate priming
10 - TempEnchant info returns relative values only, and they don't synchronize with aura events
11 - BuffButtons can only be hidden/shown by blizzcode, so functions doing that have to be accounted for
12 --]]
13
14
15 local plugin = CreateFrame('Frame', 'VeneerBuffFrame', UIParent)
9 local vn, print = LibStub("LibKraken").register(VeneerController, plugin) 16 local vn, print = LibStub("LibKraken").register(VeneerController, plugin)
10 17
11 18
12 local buttons = {} 19 local buttons = {}
13 local buffTypes = { 20 local buffTypes = {