Mercurial > wow > devian
diff Dock.lua @ 66:516ceb31703d
New profile system that stores channel and tag settings for each saved AddOn list.
A boatload of structural revisions, making better use of the built-in table, and hopefully making console command issues easier to pick up.
author | Nenue |
---|---|
date | Sat, 05 Mar 2016 13:35:51 -0500 |
parents | 0a9a6740ea5d |
children | 3745540e8996 |
line wrap: on
line diff
--- a/Dock.lua Fri Mar 04 08:01:16 2016 -0500 +++ b/Dock.lua Sat Mar 05 13:35:51 2016 -0500 @@ -4,11 +4,10 @@ -- @file-revision@ @file-hash@ -- Created: 12/26/2015 12:32 PM -- Docking and arrangement calls - -local D = LibStub("AceAddon-3.0"):GetAddon("Devian") +local _, D = ... local ceil, floor, sqrt, pairs, GetScreenWidth, GetScreenHeight = math.ceil, math.floor, math.sqrt, pairs, GetScreenWidth, GetScreenHeight -local UIFrameFadeIn, UIFrameFadeOut = UIFrameFadeIn, UIFrameFadeOut local db +local print = D.print --- Spaces each frame evenly across the screen. function D:DistributeFrames() --