annotate Veneer.lua @ 67:f80ee484ac8a

- progress bar width math
author Nenue
date Fri, 19 Aug 2016 11:49:51 -0400
parents ef4116179e2f
children 6f8661094643
rev   line source
Nenue@54 1 -- Veneer
Nenue@59 2 -- Customization tool for the small bits and pieces
Nenue@0 3
Nenue@59 4 -- BuffFrame
Nenue@59 5 -- Provides mechanisms for positioning and alter buff button parameters.
Nenue@59 6 -- Mostly re-configures the blizzard UI frames due to limitations of SecureTemplate.
Nenue@0 7
Nenue@59 8 local vn, print = LibStub("LibKraken").register(VeneerController)
Nenue@54 9
Nenue@0 10
Nenue@59 11 local defaults = {
Nenue@59 12 enableAll = true,
Nenue@59 13 enableModule = {
Nenue@59 14 BuffFrame = true,
Nenue@59 15 },
Nenue@59 16 BuffFrame = {
Nenue@59 17 width = 48,
Nenue@59 18 height = 48,
Nenue@59 19 }
Nenue@59 20 }
Nenue@0 21
Nenue@59 22 vn.init = function()
Nenue@59 23 if (not VeneerData) or (not VeneerData.version) then
Nenue@59 24 VeneerData = defaults
Nenue@0 25 end
Nenue@59 26 vn.db = VeneerData
Nenue@62 27
Nenue@59 28 end