Mercurial > wow > buffalo2
view Veneer.lua @ 59:07ef62fe201f
Re-write of BuffFrame module:
- uses secure hooks on blizzard BuffFrame.lua functions to determine needed action
- make use of built-in table behavior to reduce unnecessary frame updates
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 18:27:56 -0400 |
parents | f253baf6022d |
children | 3f083d389c18 |
line wrap: on
line source
-- Veneer -- Customization tool for the small bits and pieces -- BuffFrame -- Provides mechanisms for positioning and alter buff button parameters. -- Mostly re-configures the blizzard UI frames due to limitations of SecureTemplate. local vn, print = LibStub("LibKraken").register(VeneerController) local defaults = { enableAll = true, enableModule = { BuffFrame = true, }, BuffFrame = { width = 48, height = 48, } } vn.init = function() if (not VeneerData) or (not VeneerData.version) then VeneerData = defaults end vn.db = VeneerData end